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,10 +93,13 @@ in
''; '';
default = { }; default = { };
example = { example = {
"*".settings = { "*" = {
root_markers = [ ".git" ]; enable = true;
capabilities.textDocument.semanticTokens = { settings = {
multilineTokenSupport = true; root_markers = [ ".git" ];
capabilities.textDocument.semanticTokens = {
multilineTokenSupport = true;
};
}; };
}; };
luals.enable = true; luals.enable = true;

View file

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