Add ftdetect for jsonnet

This commit is contained in:
Adam Stankiewicz
2020-08-18 23:06:10 +02:00
parent 20a388cbc8
commit ee4f51587d
2 changed files with 6 additions and 0 deletions

View File

@@ -1142,6 +1142,11 @@ if index(g:polyglot_disabled, 'zig') == -1
au BufNewFile,BufRead *.zir set ft=zir
endif
if index(g:polyglot_disabled, 'jsonnet') == -1
au BufNewFile,BufRead *.jsonnet set ft=jsonnet
au BufNewFile,BufRead *.libsonnet set ft=jsonnet
endif
" restore Vi compatibility settings
let &cpo = s:cpo_save
unlet s:cpo_save