mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
plugins/lsp/helpers/mkLsp: add extraConfig argument
This commit is contained in:
parent
b5dbe0bb69
commit
afa64f35ee
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
cmd ? (cfg: null),
|
cmd ? (cfg: null),
|
||||||
settings ? (cfg: cfg),
|
settings ? (cfg: cfg),
|
||||||
settingsOptions ? {},
|
settingsOptions ? {},
|
||||||
|
extraConfig ? cfg: {},
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# returns a module
|
# returns a module
|
||||||
|
@ -123,6 +124,7 @@
|
||||||
(basePluginPath ++ ["extraSettings"])
|
(basePluginPath ++ ["extraSettings"])
|
||||||
"You can use `${basePluginPathString}.extraOptions.settings` instead."
|
"You can use `${basePluginPathString}.extraOptions.settings` instead."
|
||||||
)
|
)
|
||||||
|
(extraConfig cfg)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue