summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-18 23:25:22 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-18 23:25:22 +0200
commitf7302d92629d29eb970c3d5fbb2f76ae6d6cf50a (patch)
tree729ab08663a63c87f0740f4b6253e97b9c46a3c9 /ftdetect
parent7e38f4288a4f7199240d8a8fce87c8d0cc0198c3 (diff)
downloadvim-polyglot-f7302d92629d29eb970c3d5fbb2f76ae6d6cf50a.tar.gz
vim-polyglot-f7302d92629d29eb970c3d5fbb2f76ae6d6cf50a.zip
Add jq syntax, closes #502
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 5909463b..24b77afb 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1155,6 +1155,11 @@ if index(g:polyglot_disabled, 'mcfunction') == -1
au BufNewFile,BufRead *.mcfunction set ft=mcfunction
endif
+if index(g:polyglot_disabled, 'jq') == -1
+ au BufNewFile,BufRead *.jq set ft=jq
+ au BufNewFile,BufRead {.,}jqrc set ft=jq
+endif
+
" restore Vi compatibility settings
let &cpo = s:cpo_save
unlet s:cpo_save \ No newline at end of file