mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
helix: provide more detailed settings description (#3932)
Helix changed the definition of options. E.g. editor specific options need to be prefixed with editor.
This commit is contained in:
parent
788777b536
commit
514c0a71f4
3 changed files with 19 additions and 5 deletions
|
@ -24,11 +24,15 @@ in {
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
theme = "base16";
|
theme = "base16";
|
||||||
lsp.display-messages = true;
|
editor = {
|
||||||
|
line-number = "relative";
|
||||||
|
lsp.display-messages = true;
|
||||||
|
};
|
||||||
keys.normal = {
|
keys.normal = {
|
||||||
space.space = "file_picker";
|
space.space = "file_picker";
|
||||||
space.w = ":w";
|
space.w = ":w";
|
||||||
space.q = ":q";
|
space.q = ":q";
|
||||||
|
esc = [ "collapse_selection" "keep_primary_selection" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -9,11 +9,15 @@ with lib;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
theme = "base16";
|
theme = "base16";
|
||||||
lsp.display-messages = true;
|
editor = {
|
||||||
|
line-number = "relative";
|
||||||
|
lsp.display-messages = true;
|
||||||
|
};
|
||||||
keys.normal = {
|
keys.normal = {
|
||||||
space.space = "file_picker";
|
space.space = "file_picker";
|
||||||
space.w = ":w";
|
space.w = ":w";
|
||||||
space.q = ":q";
|
space.q = ":q";
|
||||||
|
esc = [ "collapse_selection" "keep_primary_selection" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
theme = "base16"
|
theme = "base16"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
line-number = "relative"
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
display-messages = true
|
||||||
|
|
||||||
|
[keys.normal]
|
||||||
|
esc = ["collapse_selection", "keep_primary_selection"]
|
||||||
|
|
||||||
[keys.normal.space]
|
[keys.normal.space]
|
||||||
q = ":q"
|
q = ":q"
|
||||||
space = "file_picker"
|
space = "file_picker"
|
||||||
w = ":w"
|
w = ":w"
|
||||||
|
|
||||||
[lsp]
|
|
||||||
display-messages = true
|
|
||||||
|
|
Loading…
Reference in a new issue