mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 16:14:46 +02:00
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:
parent
3f180f35b8
commit
8b3107ad6f
2 changed files with 26 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue