neoformat icon indicating copy to clipboard operation
neoformat copied to clipboard

No exe field in definition for eslint_d

Open codeinabox opened this issue 5 years ago • 1 comments

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

codeinabox avatar Mar 04 '20 11:03 codeinabox

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': ''}

codeinabox avatar Apr 16 '20 14:04 codeinabox