Javascript Compatibility #65
-
Thank you for this awesome plug-in! Barbecue works well with Lua and Python files. I am having difficulty getting it to work for Javascript files. I have eslint and tslint installed via Mason.nvim and nvim.lspconfig. Neovim is updated to 0.8.3. Please let me know if I can provide more info. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello! You need the |
Beta Was this translation helpful? Give feedback.
-
Looks like this has been resolved!First, commenting out the code referenced above was helpful. I could possibly have those remaps by wrapping the Second, following along with a recent issue on the How to handle buffer which has multiple LSP clients available? #89 I removed all JS lsp's I had under This meant removing Now I have JS compatibility! Thanks again for all your information and help. I am happy to add this to your documentation if this is something that needs documenting. |
Beta Was this translation helpful? Give feedback.
Looks like this has been resolved!
First, commenting out the code referenced above was helpful. I could possibly have those remaps by wrapping the
nvim-navic
'sattach
function as mentioned in thenvim-navic
documentation, but I am keeping it simple for now.Second, following along with a recent issue on the
nvim-navic
repo:How to handle buffer which has multiple LSP clients available? #89
I removed all JS lsp's I had under
lsp.ensure_installed
except fortsserver
,eslint
,lua_ls
, andrust_analyzer
.This meant removing
vtsls
andquick_lint_js
fromlsp.ensure_installed
. I also:MasonUninstall vtsls
to wipe it completely.Now I have JS compatibility!
Thanks again for all your information…