Add jq syntax, closes #502

This commit is contained in:
Adam Stankiewicz
2020-08-18 23:25:22 +02:00
parent 7e38f4288a
commit f7302d9262
6 changed files with 148 additions and 1 deletions

View File

@@ -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