You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I have skimmed through the wiki and I couldn't find what I was looking for, I might have missed it, so just in case, I'm asking here:
Basically, I would like the lsp to suppress a very specific error. The below image shows the error I'm getting. For context, I'm using neovim with the lspconfig plugin.
The error occurs because I do not declare this variable vim, instead it is automatically added by neovim at runtime. It would be nice If I was able to supress this error, however I would like for it to supress only when its regarding the variable vim.
If this variable specific error suppression is not possible, would it be possible to supress the error altogether?
Also note, I only want this to happen depending on my project's root folder
I see you managed to resolve your issue globally. I haven't personally used Neovim, but I see that there is a way to set up per-project-specific local configuration. See the official docs.
My bad for not updating this thread, but yes it is possible to do this on a project basis. The method you gave works well, but it is also possible to do this via a .luarc.json file.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey I have skimmed through the wiki and I couldn't find what I was looking for, I might have missed it, so just in case, I'm asking here:
Basically, I would like the lsp to suppress a very specific error. The below image shows the error I'm getting. For context, I'm using neovim with the lspconfig plugin.
The error occurs because I do not declare this variable
vim, instead it is automatically added by neovim at runtime. It would be nice If I was able to supress this error, however I would like for it to supress only when its regarding the variablevim.If this variable specific error suppression is not possible, would it be possible to supress the error altogether?
Also note, I only want this to happen depending on my project's root folder
All reactions