mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +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},
|
package ? pkgs.${name},
|
||||||
extraPackages ? {},
|
extraPackages ? {},
|
||||||
cmd ? (cfg: null),
|
cmd ? (cfg: null),
|
||||||
settings ? (cfg: {}),
|
settings ? (cfg: cfg),
|
||||||
settingsOptions ? {},
|
settingsOptions ? {},
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
name = serverName;
|
name = serverName;
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
inherit (cfg) cmd filetypes autostart;
|
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