-
I have
However, null-ls keeps telling me the program is not executable when I run the formatter. Config: local null_ls = require('null-ls')
local sources = {
null_ls.builtins.formatting.prettier.with({
command = 'C:/Users/me/Documents/project/node_modules/.bin/prettierd'
}
null_ls.setup({ log_level = 'debug', sources = sources }) I've also tried NullLSInfo: Log:
I'm on Windows 10 with MINGW/MSYS executables in path. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I don't know anything about Windows, but based on the discussion in #1341, I understand that Windows uses a |
Beta Was this translation helpful? Give feedback.
-
Is there a way to combine Edit: Seems like using the two together just works! I was expecting command to override the local path, but it doesn't. |
Beta Was this translation helpful? Give feedback.
I saw the cmd wrapper approach on LSPconfig too, but I'm not finding it necessary for some reason.
But . . . the issue you linked did help--specifically #1341 (comment).
I changed the command to prettierd.cmd instead of prettier and it works now.