summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-12-28 14:58:35 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2015-12-28 14:58:35 +0100
commit829ab22723ae8349b79a7928d7cc8e531b410b42 (patch)
tree634389a65027500d3afa055af7c002711b4d57a4 /ftdetect
parenta8d08c8a49a5757fa479e5b51ee774d1b991f56b (diff)
downloadvim-polyglot-2.5.0.tar.gz
vim-polyglot-2.5.0.zip
Add cql support, closes #98v2.5.0
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim6
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