summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-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