helix inline diags

This commit is contained in:
Schrottkatze 2024-06-12 13:23:20 +02:00
parent 81246671df
commit 8c81b94e47
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
2 changed files with 23 additions and 6 deletions

View file

@ -1,4 +1,8 @@
{config, ...}: {
{
config,
helix-inline-diags,
...
}: {
home-manager.users.jade = {pkgs, ...}: {
home = {
sessionVariables.EDITOR = "hx";
@ -12,7 +16,7 @@
};
programs.helix = {
enable = true;
package = pkgs.helix;
package = helix-inline-diags.outputs.packages."x86_64-linux".default;
settings = {
theme = "gruvbox";
editor = {
@ -22,6 +26,11 @@
cursorline = true;
auto-save = true;
auto-format = true;
end-of-line-diagnostics = "hint";
inline-diagnostics = {
cursor-line = "hint";
other-lines = "error";
};
lsp = {
display-messages = true;
display-inlay-hints = true;
@ -48,7 +57,7 @@
"file-encoding"
"file-type"
];
idle-timeout = 200;
idle-timeout = 50;
indent-guides = {
render = true;
character = "";