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

Fish shell like syntax highlighting for Zsh.

Results 145 zsh-syntax-highlighting issues
Sort by recently updated
recently updated
newest added

'make test' fails under Cygwin: ``` $ make test ZSH_PATCHLEVEL=zsh-5.8-243-g5b4cfb1 Running test brackets env: ‘zsh’: No such file or directory Running test main env: ‘zsh’: No such file or directory...

Expansions are never analyzed for glob patterns to work around problems where complex constructs would wrongly be highlighted as glob patterns.

Bug

Spun off from @m0vie's #759: - [ ] In the output of a failing test, where the actual and expected values are tabulated, add a marker on the left margin...

Improvement
Task
component:docs
component:tests

#535 / 3a7ddcd was a bug due to `_zsh_highlight_load_highlighters` running with the interactive environment's options. We already call `emulate -L` in `_zsh_highlight` for precisely this reason. Long-term we should switch...

Task

Fixes #631. WIP: test expectations should be updated (12 failures including cthulhu)

Task

This PR adds a new highlighter that highlights names of existing files on the command line, in the style of LS_COLORS. It can pull its configuration directly from LS_COLORS, or...

Feature

In INSTALL.md, shall we change `source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh` to `emulate zsh -c "source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"`? Compare the documentation of `autoload`: https://github.com/zsh-users/zsh/blob/fd627a504fd2a84833b7edcf92dd1595fcf11df9/Doc/Zsh/builtins.yo#L217-L224 In particular, I think this might have negated #622.

Improvement
Question
Task

I'm all about startup speed, but: ``` um calls time self name ----------------------------------------------------------------------------------- 1) 1 32.18 32.18 49.28% 32.18 32.18 49.28% _zsh_highlight_bind_widgets 2) 1 9.25 9.25 14.16% 9.25 9.25 14.16%...

Question
performance

To reproduce: ```zsh mkdir /tmp/foo cd /tmp/foo rmdir /tmp/foo exec zsh -f source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ``` Press a and zle will hang.

Bug