Add jsonnet support, closes #515

This commit is contained in:
Adam Stankiewicz
2020-08-18 23:04:38 +02:00
parent 81e61a3c5d
commit 20a388cbc8
5 changed files with 285 additions and 3 deletions

13
ftplugin/jsonnet.vim Normal file
View File

@@ -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