summaryrefslogtreecommitdiffstats
path: root/ftplugin/jsonnet.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-18 23:04:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-18 23:04:38 +0200
commit20a388cbc83cda89ee045c06c63f17fb9d4c9b39 (patch)
tree93c5d95e2aa982e5b208ce92dce76d02d5c16682 /ftplugin/jsonnet.vim
parent81e61a3c5d4a60916c7fdcee04562ff3f7e712eb (diff)
downloadvim-polyglot-20a388cbc83cda89ee045c06c63f17fb9d4c9b39.tar.gz
vim-polyglot-20a388cbc83cda89ee045c06c63f17fb9d4c9b39.zip
Add jsonnet support, closes #515
Diffstat (limited to '')
-rw-r--r--ftplugin/jsonnet.vim13
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