feat(home-manager): rework zsh sytaxh highlight

This commit is contained in:
Yorick Barbanneau 2024-11-19 00:40:25 +01:00
parent d66cbf262c
commit 8c3d5f09bb

View file

@ -28,27 +28,30 @@ in
enable = true;
highlighters = [ "brackets" "main" "pattern" ];
styles = {
builtin = "fg=#7cafc2,bold";
single-hyphen-option = "fg=#86c1b9";
double-hyphen-option = "fg=#86c1b9";
assign = "fg=#7cafc2";
back-double-quoted-argument = "fg=#7cafc2";
back-quoted-argument-delimiter = "fg=ba8baf,bold";
single-quoted-argument = "fg=f7ca88";
function = "fg=blue";
reserved-word = "fg=#ba8baf,bold";
assign = "fg=#a1b56c";
bracket-error = "fg=#ab4642,bold";
bracket-level-1 = "fg=7cafc2";
bracket-level-2 = "fg=ba8baf";
bracket-level-3 = "fg=#a1b56c";
bracket-error = "fg=#ab4642,bold";
builtin = "fg=#7cafc2,bold";
commandseparator = "fg=#f7ca88,bold";
cursor-matchingbracket = "fg=ba8baf,bold";
redirection = "fg=#f7ca88,bold";
back-double-quoted-argument = "fg=#7cafc2";
dollar-double-quoted-argument = "fg=#86c1b9";
double-hyphen-option = "fg=#86c1b9";
double-quoted-argument-unclosed = "fg=#ab4642,bold";
function = "fg=blue";
globbing = "fg=#ba8baf";
path = "fg=#f7ca88";
path_prefix = "fg=#ba8baf";
redirection = "fg=#f7ca88,bold";
reserved-word = "fg=#ba8baf,bold";
single-hyphen-option = "fg=#86c1b9";
single-quoted-argument = "fg=#f7ca88";
single-quoted-argument-unclosed = "fg=#ab4642,bold";
};
patterns = {
"\\|" = "fg=#f7ca88,bold";
" \\|\\| " = "fg=ba8baf,bold";
" \\&\\& " = "fg=ba8baf,bold";
"\\n" = "fg=#7cafc2";
};
};