mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 14:03:50 -05:00
Add ftdetect for jsonnet
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user