diff --git a/autoload/codefmt/jsonnetfmt.vim b/autoload/codefmt/jsonnetfmt.vim index a56fe3b..d807ad3 100644 --- a/autoload/codefmt/jsonnetfmt.vim +++ b/autoload/codefmt/jsonnetfmt.vim @@ -30,7 +30,7 @@ function! codefmt#jsonnetfmt#GetFormatter() abort let l:cmd = [ s:plugin.Flag('jsonnetfmt_executable') ] let l:fname = expand('%:p') if !empty(l:fname) - let l:cmd += ['-path', l:fname] + let l:cmd += [l:fname] endif try