Skip to content

Commit

Permalink
Support fast-syntax-highglighting-1.25
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Aug 1, 2018
1 parent cb0940f commit 34273a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ zshrc_fast_syntax_highlighting() {
) . fast-syntax-highlighting.plugin.zsh NIL || return
zshrc_highlight_styles FAST_HIGHLIGHT_STYLES
FAST_HIGHLIGHT[use_async]=1
FAST_HIGHLIGHT[use_brackets]=1
:
}
zshrc_zsh_syntax_highlighting() {
Expand Down Expand Up @@ -709,6 +710,7 @@ zshrc_highlight_styles() {
'precommand' fg=40,bold
'hashed-command' fg=40,bold
'path' fg=214,bold
'path-to-dir' fg=208
'path_prefix' fg=202,bold
'path_approx' fg=202,bold
'globbing' fg=190,bold
Expand Down Expand Up @@ -741,6 +743,7 @@ zshrc_highlight_styles() {
'redirection' fg=123,bold
'suffix-alias' fg=84,bold
'variable' fg=208
'paired-bracket' fg=98
)
case ${SOLARIZED:-n} in
([nNfF]*|[oO][fF]*|0|-)
Expand Down Expand Up @@ -812,6 +815,7 @@ zshrc_highlight_styles() {
'redirection' fg=blue,bold
'suffix-alias' fg=green
'variable' fg=yellow,bold
'paired-bracket' fg=magenta,bold
)
fi
for i in {1..5}
Expand Down

0 comments on commit 34273a6

Please sign in to comment.