|
|
@ -4,12 +4,17 @@ Integrates [zsh-syntax-highlighting][1] into Prezto.
|
|
|
|
|
|
|
|
|
|
|
|
This module must be loaded _before_ the _`prompt`_ module.
|
|
|
|
This module must be loaded _before_ the _`prompt`_ module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If this module is used in conjunction with the [_`history-substring-search`_][2]
|
|
|
|
|
|
|
|
module, this module must be loaded _before_ the _`history-substring-search`_
|
|
|
|
|
|
|
|
module.
|
|
|
|
|
|
|
|
|
|
|
|
Additionally, if this module is used in conjunction with the
|
|
|
|
Additionally, if this module is used in conjunction with the
|
|
|
|
[_`history-substring-search`_][2] module, this module must be loaded _before_
|
|
|
|
[_`autosuggestions`_][3] module, this module must be loaded _before_ the
|
|
|
|
the _`history-substring-search`_ module.
|
|
|
|
_`autosuggestions`_ module as well.
|
|
|
|
|
|
|
|
|
|
|
|
To elaborate, the relative order of loading the modules would be
|
|
|
|
To elaborate, the relative order of loading the modules would be
|
|
|
|
_`syntax-highlighting`_, _`history-substring-search`_ and _`prompt`_.
|
|
|
|
_`syntax-highlighting`_, _`history-substring-search`_, _`autosuggestions`_ and
|
|
|
|
|
|
|
|
_`prompt`_.
|
|
|
|
|
|
|
|
|
|
|
|
## Contributors
|
|
|
|
## Contributors
|
|
|
|
|
|
|
|
|
|
|
@ -30,7 +35,7 @@ zstyle ':prezto:module:syntax-highlighting' color 'yes'
|
|
|
|
|
|
|
|
|
|
|
|
### Highlighters
|
|
|
|
### Highlighters
|
|
|
|
|
|
|
|
|
|
|
|
Syntax highlighting is accomplished by pluggable [highlighters][3]. This module
|
|
|
|
Syntax highlighting is accomplished by pluggable [highlighters][4]. This module
|
|
|
|
only enables the _main_ highlighter by default.
|
|
|
|
only enables the _main_ highlighter by default.
|
|
|
|
|
|
|
|
|
|
|
|
To enable all highlighters, add the following to
|
|
|
|
To enable all highlighters, add the following to
|
|
|
@ -62,11 +67,12 @@ zstyle ':prezto:module:syntax-highlighting' styles \
|
|
|
|
|
|
|
|
|
|
|
|
## Authors
|
|
|
|
## Authors
|
|
|
|
|
|
|
|
|
|
|
|
_The authors of this module should be contacted via the [issue tracker][4]._
|
|
|
|
_The authors of this module should be contacted via the [issue tracker][5]._
|
|
|
|
|
|
|
|
|
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
|
|
|
|
|
|
|
|
|
|
|
[1]: https://github.com/zsh-users/zsh-syntax-highlighting
|
|
|
|
[1]: https://github.com/zsh-users/zsh-syntax-highlighting
|
|
|
|
[2]: ../history-substring-search#readme
|
|
|
|
[2]: ../history-substring-search#readme
|
|
|
|
[3]: https://github.com/zsh-users/zsh-syntax-highlighting/tree/master/highlighters
|
|
|
|
[3]: ../autosuggestions#readme
|
|
|
|
[4]: https://github.com/sorin-ionescu/prezto/issues
|
|
|
|
[4]: https://github.com/zsh-users/zsh-syntax-highlighting/tree/master/highlighters
|
|
|
|
|
|
|
|
[5]: https://github.com/sorin-ionescu/prezto/issues
|
|
|
|