zsh-syntax-highlighting icon indicating copy to clipboard operation
zsh-syntax-highlighting copied to clipboard

Add a 256-color theme?

Open danielshahaf opened this issue 5 years ago • 3 comments

Shall we add a 256-color theme? We could enable it automatically after checking the terminal's capabilities in ${terminfo}.

danielshahaf avatar Jan 14 '20 19:01 danielshahaf

Since themes will be sourced or called, the main theme could support both. It may be a good idea for z-sy-h to provide a _supports_256_color callable so each theme doesn't have to roll its own.

phy1729 avatar Jan 15 '20 04:01 phy1729

Would it cost load time/cpu intense if we use more colors? If yes please give user a choice.

I tested with fast-sytanx-highlight and its throughput still slower than this plugin but I'm not sure if it comes from colors or code.

tmpm697 avatar May 20 '20 02:05 tmpm697

I don't foresee any performance issues here.

danielshahaf avatar May 21 '20 23:05 danielshahaf