modules/lsp: add enable = true to wildcard config section

This commit is contained in:
Johan Larsson 2025-04-30 19:32:12 +02:00 committed by Matt Sturgeon
parent 2d65c66a1a
commit eeae362038
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
2 changed files with 15 additions and 8 deletions

View file

@ -93,12 +93,15 @@ in
''; '';
default = { }; default = { };
example = { example = {
"*".settings = { "*" = {
enable = true;
settings = {
root_markers = [ ".git" ]; root_markers = [ ".git" ];
capabilities.textDocument.semanticTokens = { capabilities.textDocument.semanticTokens = {
multilineTokenSupport = true; multilineTokenSupport = true;
}; };
}; };
};
luals.enable = true; luals.enable = true;
clangd = { clangd = {
enable = true; enable = true;

View file

@ -1,12 +1,16 @@
{ {
example = { example = {
lsp.servers = { lsp.servers = {
"*".settings = { "*" = {
enable = true;
settings = {
enable = true;
root_markers = [ ".git" ]; root_markers = [ ".git" ];
capabilities.textDocument.semanticTokens = { capabilities.textDocument.semanticTokens = {
multilineTokenSupport = true; multilineTokenSupport = true;
}; };
}; };
};
luals.enable = true; luals.enable = true;
clangd = { clangd = {
enable = true; enable = true;