Files
vim-polyglot/ftplugin/jsonnet.vim
2023-10-10 23:21:12 +11:00

17 lines
258 B
VimL

if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsonnet', 'ftplugin/jsonnet.vim')
finish
endif
" -- fmt
command! -nargs=0 JsonnetFmt call jsonnet#Format()
" -- eval
command! -nargs=0 JsonnetEval call jsonnet#Eval()
setlocal commentstring=//\ %s