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
|
@ -24,11 +24,15 @@ in {
|
|||
example = literalExpression ''
|
||||
{
|
||||
theme = "base16";
|
||||
lsp.display-messages = true;
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
lsp.display-messages = true;
|
||||
};
|
||||
keys.normal = {
|
||||
space.space = "file_picker";
|
||||
space.w = ":w";
|
||||
space.q = ":q";
|
||||
esc = [ "collapse_selection" "keep_primary_selection" ];
|
||||
};
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -9,11 +9,15 @@ with lib;
|
|||
|
||||
settings = {
|
||||
theme = "base16";
|
||||
lsp.display-messages = true;
|
||||
editor = {
|
||||
line-number = "relative";
|
||||
lsp.display-messages = true;
|
||||
};
|
||||
keys.normal = {
|
||||
space.space = "file_picker";
|
||||
space.w = ":w";
|
||||
space.q = ":q";
|
||||
esc = [ "collapse_selection" "keep_primary_selection" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
theme = "base16"
|
||||
|
||||
[editor]
|
||||
line-number = "relative"
|
||||
|
||||
[editor.lsp]
|
||||
display-messages = true
|
||||
|
||||
[keys.normal]
|
||||
esc = ["collapse_selection", "keep_primary_selection"]
|
||||
|
||||
[keys.normal.space]
|
||||
q = ":q"
|
||||
space = "file_picker"
|
||||
w = ":w"
|
||||
|
||||
[lsp]
|
||||
display-messages = true
|
||||
|
|
Loading…
Reference in a new issue