-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Decide on a zstyle structure #362
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
Comments
It may also be desirable to include the nesting level; so that if commands in |
tldr: #148 - special highlighting for the word currently being typed, e.g., for the command word depending on its possible completions #373 - highlighting of unterminated string literals |
It may be useful to make the style reflect the nesting mentioned in #495 e.g. |
In the future we'll probably read user configurations from zstyles rather than from globals. We can do some work ahead of time by the designing the zstyle context structure now.
(To clarify: this is about the full context used for lookups with zstyle -g/-a/-s/-t, not about the context patterns used in style definitions in users' dotfiles.)
Things to possibly include in the zstyle context:
:plugins:zsh-syntax-highlighting
- namespace prefix::0.5.0
- z-sy-h version number:${user_context}
- argv[1] of the entry point; comparevcs_info foo
looking up:vcs_info:foo:…
:brackets
- highlighter name:${$WIDGET}
,:${CONTEXT}
- zle stateThe text was updated successfully, but these errors were encountered: