summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-06-08 12:50:29 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-06-08 12:50:29 +0200
commit5023da62ecb8a008a9dc67b29516ac707f07f3a0 (patch)
treec1388595537bacf9798a7d7f6180d55bbbec6022 /ftdetect
parent957228cc25960601577f490ccfb8aec0a28751ee (diff)
downloadvim-polyglot-5023da62ecb8a008a9dc67b29516ac707f07f3a0.tar.gz
vim-polyglot-5023da62ecb8a008a9dc67b29516ac707f07f3a0.zip
Add hive syntax, closes #396
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 11b4e060..5ff50332 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -504,6 +504,15 @@ autocmd BufNewFile,BufRead *.hx setf haxe
augroup end
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hive') == -1
+ augroup filetypedetect
+ " hive, from hive.vim in zebradil/hive.vim
+autocmd BufNewFile,BufRead *.hql set filetype=hive
+autocmd BufNewFile,BufRead *.ql set filetype=hive
+autocmd BufNewFile,BufRead *.q set filetype=hive
+ augroup end
+endif
+
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'i3') == -1
augroup filetypedetect
" i3, from i3config.vim in mboughaba/i3config.vim