diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-18 23:04:38 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-18 23:04:38 +0200 |
commit | 20a388cbc83cda89ee045c06c63f17fb9d4c9b39 (patch) | |
tree | 93c5d95e2aa982e5b208ce92dce76d02d5c16682 /ftplugin/jsonnet.vim | |
parent | 81e61a3c5d4a60916c7fdcee04562ff3f7e712eb (diff) | |
download | vim-polyglot-20a388cbc83cda89ee045c06c63f17fb9d4c9b39.tar.gz vim-polyglot-20a388cbc83cda89ee045c06c63f17fb9d4c9b39.zip |
Add jsonnet support, closes #515
Diffstat (limited to 'ftplugin/jsonnet.vim')
-rw-r--r-- | ftplugin/jsonnet.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ftplugin/jsonnet.vim b/ftplugin/jsonnet.vim new file mode 100644 index 00000000..41fa83ff --- /dev/null +++ b/ftplugin/jsonnet.vim @@ -0,0 +1,13 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsonnet') == -1 + + + + +" -- fmt +command! -nargs=0 JsonnetFmt call jsonnet#Format() + +setlocal commentstring=//\ %s + + + +endif |