From 20a388cbc83cda89ee045c06c63f17fb9d4c9b39 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 18 Aug 2020 23:04:38 +0200 Subject: Add jsonnet support, closes #515 --- ftplugin/jsonnet.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ftplugin/jsonnet.vim (limited to 'ftplugin/jsonnet.vim') 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 -- cgit v1.2.3