mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 01:08:43 +02:00
plugins/nvim-lsp: Correctly take into account extraSettings (#275)
(Resolves #273)
This commit is contained in:
parent
bd4384a2e5
commit
09a2e9afb6
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
package ? pkgs.${name},
|
||||
extraPackages ? {},
|
||||
cmd ? (cfg: null),
|
||||
settings ? (cfg: {}),
|
||||
settings ? (cfg: cfg),
|
||||
settingsOptions ? {},
|
||||
...
|
||||
}:
|
||||
|
@ -82,7 +82,7 @@
|
|||
name = serverName;
|
||||
extraOptions = {
|
||||
inherit (cfg) cmd filetypes autostart;
|
||||
settings = settings (cfg.settings // cfg.extraSettings);
|
||||
settings = (settings cfg.settings) // cfg.extraSettings;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue