summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-10-10 17:25:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-10-10 17:25:38 +0200
commita0c79360edaad50966bdc1ac537d0b7ee048a515 (patch)
tree295c1af426f8056da56373844ef1cf8ddd9e2211 /ftdetect
parent2d3b20bc68d43d23c7c66d56c84b509ad2fcd7ee (diff)
downloadvim-polyglot-a0c79360edaad50966bdc1ac537d0b7ee048a515.tar.gz
vim-polyglot-a0c79360edaad50966bdc1ac537d0b7ee048a515.zip
Add qml support, closes #69
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 28ba2b76..f61491b6 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -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