diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-18 23:06:10 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-18 23:06:10 +0200 |
commit | ee4f51587d8e306b2d9a4b0067c572a447b34b60 (patch) | |
tree | a352c55d86222dc3c84a0c04c81065d36603da5a /ftdetect/polyglot.vim | |
parent | 20a388cbc83cda89ee045c06c63f17fb9d4c9b39 (diff) | |
download | vim-polyglot-ee4f51587d8e306b2d9a4b0067c572a447b34b60.tar.gz vim-polyglot-ee4f51587d8e306b2d9a4b0067c572a447b34b60.zip |
Add ftdetect for jsonnet
Diffstat (limited to 'ftdetect/polyglot.vim')
-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 |