diff options
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index ee6cd63a..80938e78 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -45,6 +45,12 @@ function! s:DetectCoffee() endfunction autocmd BufNewFile,BufRead * call s:DetectCoffee() endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cql') == -1 + +if has("autocmd") + au BufNewFile,BufRead *.cql set filetype=cql +endif +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1 autocmd BufNewFile,BufReadPost *.feature,*.story set filetype=cucumber |