KeitaNakamura / neodark.vim

A dark color scheme for vim
409 stars 34 forks source link

NeoDark.itermcolors in iTerm2: shell comments unreadable #15

Closed kiryph closed 6 years ago

kiryph commented 6 years ago

See following screenshot: screen shot 2018-04-05 at 12 20 44

Does anyone know how to fix this?

kiryph commented 6 years ago

I should have added that I use the z shell with zsh-syntax-highlighting.

One solution is to set in ~/.zshrc

typeset -A ZSH_HIGHLIGHT_STYLES
ZSH_HIGHLIGHT_STYLES[comment]='fg=white,bold'

The default value is

ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bold

(https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/highlighters/main/main-highlighter.zsh#L55)

I am not sure if a change to https://github.com/KeitaNakamura/neodark.vim/blob/master/terms/NeoDark.itermcolors would be better.

Update: zsh-autocomplete

Another change to make the suggested completion visible:

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=white'