[zsh] update my syntax theme

This commit is contained in:
Dmytro Meleshko 2019-09-03 19:57:30 +03:00
parent c32debefef
commit 094947c1ad
2 changed files with 22 additions and 9 deletions

View file

@ -40,3 +40,7 @@ if is_android; then
elif is_linux && command_exists xdg-open; then
open() { nohup xdg-open "$@" &> /dev/null; }
fi
set-my-syntax-theme() {
fast-theme "$ZSH_DOTFILES/my-syntax-theme.ini"
}

View file

@ -1,37 +1,46 @@
; default theme, also embedded in the source of fast-syntax-highlighting
[base]
default = none
unknown-token = red,bold
commandseparator = none
redirection = none
here-string-tri = yellow
here-string-word = bg:blue
here-string-tri = none
here-string-text = 18
here-string-var = cyan,bg:18
exec-descriptor = yellow,bold
comment = white
correct-subtle = bg:blue
correct-subtle = 12
incorrect-subtle = red
subtle-bg = bg:blue
subtle-separator = green
subtle-bg = bg:18
secondary =
; recursive-base =
[command-point]
reserved-word = yellow
subcommand = yellow
alias = green
suffix-alias = green
global-alias = bg:blue
global-alias = black,bg:blue
builtin = green
function = green
command = green
precommand = green
hashed-command = green
single-sq-bracket = green
double-sq-bracket = green
double-paren = yellow
[paths]
path = none
pathseparator =
path-to-dir = none,underline
globbing = blue,bold
globbing-ext = 13
[brackets]
paired-bracket = bg:blue
paired-bracket = black,bg:blue
bracket-level-1 = green,bold
bracket-level-2 = yellow,bold
bracket-level-3 = cyan,bold
@ -58,12 +67,12 @@ history-expansion = blue,bold
[math]
mathvar = blue,bold
mathnum = blue
mathnum = magenta
matherr = red
[for-loop]
forvar = none
fornum = blue
fornum = magenta
; operator
foroper = yellow
; separator
@ -72,4 +81,4 @@ forsep = yellow,bold
[case]
case-input = green
case-parentheses = yellow
case-condition = bg:blue
case-condition = black,bg:blue