Closed Kamilcuk closed 3 years ago
Please use g:fixjson_executable
in your vimrc:
let g:fixjson_executable = 'fixjson'
If you want to use system-installed fixjson
only when it is available:
if executable('fixjson')
let g:fixjson_executable = 'fixjson'
endif
BTW, vim-fixjson already prefers global fixjson
command:
Thank you! I am sorry, I totally overlooked that - I missed that in code (I should get more sleep (or more coffee!)). Thank you! Och, I believe it would be great to add even a super short documentation with the list of available g:options, it would help a lot.
On a distribution it may be possible to install fixjson to native system paths using native system package manager. On these distribution there's no need to call
npm
.. Just use the native tool.Please add:
This is just enough so that local command picks
fixjson
from/usr/bin/fixjson
without callingnpm
.