diff options
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 3a843e68..dfcab62f 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -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
\ No newline at end of file |