Anything I can do to avoid spurious undefined-field warning?
#2698
Replies: 3 comments 8 replies
|
I get this all over the place in Neovim for things like |
|
This comment provides a workaround, but not a solution, for how to ignore e.g. https://www.reddit.com/r/neovim/comments/16gd5zp/suppress_missing_fields_lsp_warnings_lualsp_and/ |
I know nothing about neovim (I use vscode), I just downloaded neovim from github's release page, extracted the zip, and then open the
If everything works as expected, LuaLS should not throw the warnings Just some wild guessLuaLS has a setting on |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In a Neovim plugin config file, I'm getting an
undefined-field server_capabilitieswarning on each of two lines containing:where a few lines before:
and the plugin works OK.
Can I avoid the warnings without having to have two instances of:
?
All reactions