diff --git a/plugin/jsonnet.vim b/plugin/jsonnet.vim index 021c48b..79c0b40 100644 --- a/plugin/jsonnet.vim +++ b/plugin/jsonnet.vim @@ -3,11 +3,10 @@ " A plugin for jsonnet files. " Install useful tools for *.jsonnet and *.libsonnet files - - - - - +if exists('g:loaded_jsonnet') + finish +endif +let g:loaded_jsonnet = 1 function! s:fmtAutosave() " Jsonnet code formatting on save