Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: zsh syntax highlighting #35

Open
hissssst opened this issue Jun 11, 2020 · 2 comments
Open

Feature request: zsh syntax highlighting #35

hissssst opened this issue Jun 11, 2020 · 2 comments

Comments

@hissssst
Copy link

hissssst commented Jun 11, 2020

https://github.com/zdharma/fast-syntax-highlighting

This project enables syntax highlighting for zsh with cutomizable themes. I can create the PR but I am really bad with selecting right colors from the pallete

@fenetikm
Copy link
Owner

cool - I'll take a look 👍

@hissssst
Copy link
Author

@fenetikm I've created the theme. You can add it to the repo if you want.

2022-03-31_17-09

[base]
default          = none
unknown-token    = none
commandseparator = 146
redirection      = none
here-string-tri  = 6
here-string-text = 12
here-string-var  = 12
exec-descriptor  = 6
comment          = 61
correct-subtle   = 4,underline
incorrect-subtle = 1,bold
secondary        = falcon
recursive-base   = 5

[command-point]
reserved-word  = 3
subcommand     = none
alias          = 12
suffix-alias   = 6
global-alias   = bg:17
builtin        = 3
function       = 12
command        = 6
precommand     = 15
hashed-command = 14
single-sq-bracket = 6
double-sq-bracket = 6
double-paren   = 15

[paths]
path          = none
pathseparator = 240
path-to-dir   = none,underline
globbing      = none,bold
globbing-ext  = 141

[brackets]
paired-bracket = bold
bracket-level-1 = 15
bracket-level-2 = 15
bracket-level-3 = 15

[arguments]
single-hyphen-option   = 6
double-hyphen-option   = 6
back-quoted-argument   = 14
single-quoted-argument = 12
double-quoted-argument = 12
dollar-quoted-argument = 12

[in-string]
; backslash in $'...'
back-dollar-quoted-argument           = 146
; backslash or $... in "..." (i.e. variable in string)
back-or-dollar-double-quoted-argument = 6

[other]
variable             = 6
assign               = 6
assign-array-bracket = 15
history-expansion    = none,bold

[math]
mathvar = 6
mathnum = none
matherr = 1

[for-loop]
forvar = 6
fornum = none
; operator
foroper = 5
; separator
forsep = 240

[case]
case-input       = 6
case-parentheses = 240
case-condition   = none,underline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants