mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 09:18:38 +02:00
misc: allow null in extraPackages
This commit is contained in:
parent
c826d146c6
commit
f2f97d844b
13 changed files with 22 additions and 39 deletions
|
@ -86,10 +86,7 @@
|
|||
config =
|
||||
mkIf cfg.enable
|
||||
{
|
||||
extraPackages =
|
||||
optional
|
||||
(cfg.package != null)
|
||||
cfg.package;
|
||||
extraPackages = [cfg.package];
|
||||
|
||||
plugins.lsp.enabledServers = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue