mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
neovim: support withNodeJs option
This commit is contained in:
parent
9686d93ff6
commit
5d8b089188
1 changed files with 12 additions and 3 deletions
|
@ -47,6 +47,15 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
withNodeJs = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Enable node provider. Set to <literal>true</literal> to
|
||||||
|
use Node plugins.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
withPython = mkOption {
|
withPython = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
|
@ -62,7 +71,7 @@ in
|
||||||
defaultText = "ps: []";
|
defaultText = "ps: []";
|
||||||
example = literalExample "(ps: with ps; [ pandas jedi ])";
|
example = literalExample "(ps: with ps; [ pandas jedi ])";
|
||||||
description = ''
|
description = ''
|
||||||
A function in python.withPackages format, which returns a
|
A function in python.withPackages format, which returns a
|
||||||
list of Python 2 packages required for your plugins to work.
|
list of Python 2 packages required for your plugins to work.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -90,7 +99,7 @@ in
|
||||||
defaultText = "ps: []";
|
defaultText = "ps: []";
|
||||||
example = literalExample "(ps: with ps; [ python-language-server ])";
|
example = literalExample "(ps: with ps; [ python-language-server ])";
|
||||||
description = ''
|
description = ''
|
||||||
A function in python.withPackages format, which returns a
|
A function in python.withPackages format, which returns a
|
||||||
list of Python 3 packages required for your plugins to work.
|
list of Python 3 packages required for your plugins to work.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -125,7 +134,7 @@ in
|
||||||
inherit (cfg)
|
inherit (cfg)
|
||||||
extraPython3Packages withPython3
|
extraPython3Packages withPython3
|
||||||
extraPythonPackages withPython
|
extraPythonPackages withPython
|
||||||
withRuby viAlias vimAlias configure;
|
withNodeJs withRuby viAlias vimAlias configure;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue