Add qml support, closes #69

This commit is contained in:
Adam Stankiewicz
2015-10-10 17:25:38 +02:00
parent 2d3b20bc68
commit a0c79360ed
6 changed files with 247 additions and 0 deletions

View File

@@ -249,6 +249,10 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
au! BufRead,BufNewFile *.pp setfiletype puppet
au! BufRead,BufNewFile Puppetfile setfiletype ruby
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qml') == -1
autocmd BufRead,BufNewFile *.qml setfiletype qml
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
function! s:setf(filetype) abort