mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-21 19:25:13 +02:00
modules/lsp: enable servers."*"
by default
This commit is contained in:
parent
b6e2016b7f
commit
a072e3c3a7
3 changed files with 17 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue