neoformat
neoformat copied to clipboard
No exe field in definition for eslint_d
I am getting the following error when running Neoformat eslint_d:
Neoformat: no exe field in definition
Neoformat: formatter eslint_d failed
eslint_d is definitely in my path because when I run which eslint_d I get the following:
/usr/local/bin/eslint_d
After doing more investigation this only happens when I run the following or add it to my .vimrc
let g:neoformat_enabled_javascript = [ 'eslint_d' ]
Looking at the definition that is returned the exe field is blank but I am not sure why
{'args': ['--stdin', '--stdin-filename', '"%:p"', '--fix-to-stdout'], 'stdin': 1, 'exe': ''}