mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19: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 ''
|
||||
{
|
||||
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