modules/lsp: enable servers."*" by default

This commit is contained in:
Matt Sturgeon 2025-04-30 22:47:51 +01:00
parent b6e2016b7f
commit a072e3c3a7
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 17 additions and 15 deletions

View file

@ -93,6 +93,8 @@ in
type = types.submodule (
lib.modules.importApply ./server-base.nix {
displayName = "all servers";
enable.name = "the `*` server config";
enable.default = true;
settings.extraDescription = ''
Will be merged by neovim using the behaviour of [`vim.tbl_deep_extend()`](https://neovim.io/doc/user/lua.html#vim.tbl_deep_extend()).
'';
@ -123,13 +125,10 @@ in
'';
default = { };
example = {
"*" = {
enable = true;
settings = {
root_markers = [ ".git" ];
capabilities.textDocument.semanticTokens = {
multilineTokenSupport = true;
};
"*".settings = {
root_markers = [ ".git" ];
capabilities.textDocument.semanticTokens = {
multilineTokenSupport = true;
};
};
luals.enable = true;