mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
neovim: add missing literalExpression in module docs (#3012)
This commit is contained in:
parent
70824bb5c7
commit
935ecea67d
1 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,7 @@ in {
|
||||||
extraPython3Packages = mkOption {
|
extraPython3Packages = mkOption {
|
||||||
type = with types; either extraPython3PackageType (listOf package);
|
type = with types; either extraPython3PackageType (listOf package);
|
||||||
default = (_: [ ]);
|
default = (_: [ ]);
|
||||||
defaultText = "ps: []";
|
defaultText = literalExpression "ps: [ ]";
|
||||||
example = literalExpression "(ps: with ps; [ python-language-server ])";
|
example = literalExpression "(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
|
||||||
|
@ -172,7 +172,7 @@ in {
|
||||||
extraLuaPackages = mkOption {
|
extraLuaPackages = mkOption {
|
||||||
type = with types; either extraLua51PackageType (listOf package);
|
type = with types; either extraLua51PackageType (listOf package);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
defaultText = "[]";
|
defaultText = literalExpression "[ ]";
|
||||||
example = literalExpression "(ps: with ps; [ luautf8 ])";
|
example = literalExpression "(ps: with ps; [ luautf8 ])";
|
||||||
description = ''
|
description = ''
|
||||||
A function in lua5_1.withPackages format, which returns a
|
A function in lua5_1.withPackages format, which returns a
|
||||||
|
@ -273,7 +273,7 @@ in {
|
||||||
extraPackages = mkOption {
|
extraPackages = mkOption {
|
||||||
type = with types; listOf package;
|
type = with types; listOf package;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
example = "[ pkgs.shfmt ]";
|
example = literalExpression "[ pkgs.shfmt ]";
|
||||||
description = "Extra packages available to nvim.";
|
description = "Extra packages available to nvim.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue