plugins/clangd-extensions: adapt to new lsp module

Adapt warnings, default settings, and tests to the new lsp module. Also
change the previous warning, which I think should target the clangd
server directly, and just not `plugins.lsp`, since the clangd server is
necessary for clangd-extensions to function.
This commit is contained in:
Johan Larsson 2025-05-01 11:57:35 +02:00 committed by Matt Sturgeon
parent 3f180f35b8
commit 8b3107ad6f
2 changed files with 26 additions and 8 deletions

View file

@ -1,15 +1,16 @@
{
empty = {
lsp.servers.clangd.enable = true;
plugins = {
lsp.enable = true;
clangd-extensions.enable = true;
};
};
default = {
plugins = {
lsp.enable = true;
lsp.servers.clangd.enable = true;
plugins = {
clangd-extensions = {
enable = true;
@ -50,8 +51,9 @@
};
example = {
lsp.servers.clangd.enable = true;
plugins = {
lsp.enable = true;
clangd-extensions = {
enable = true;
@ -70,4 +72,11 @@
};
};
};
emptyOld = {
plugins = {
lsp.enable = true;
clangd-extensions.enable = true;
};
};
}