From a0c79360edaad50966bdc1ac537d0b7ee048a515 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 10 Oct 2015 17:25:38 +0200 Subject: Add qml support, closes #69 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') 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 -- cgit v1.2.3