Browse Source

general: Clarify relative ordering of modules in docs

master
Indrajit Raychaudhuri 3 years ago committed by Indrajit Raychaudhuri
parent
commit
ca7022c280
  1. 8
      modules/autosuggestions/README.md
  2. 12
      modules/history-substring-search/README.md
  3. 20
      modules/syntax-highlighting/README.md

8
modules/autosuggestions/README.md

@ -8,12 +8,12 @@ history and completions. @@ -8,12 +8,12 @@ history and completions.
If this module is used in conjunction with the [_`syntax-highlighting`_][3]
module, this module must be loaded _after_ the _`syntax-highlighting`_ module.
If this module is used in conjunction with the [_`history-substring-search`_][4]
module, this module must be loaded _after_ the _`history-substring-search`_
module.
Additionally, if this module is used in conjunction with the
[_`history-substring-search`_][4] module, this module must be loaded _after_ the
_`history-substring-search`_ module as well.
To elaborate, the relative order of loading the modules would be
_`autosuggestions`_, _`syntax-highlighting`_ and _`history-substring-search`_.
_`syntax-highlighting`_, _`history-substring-search`_ and _`autosuggestions`_.
## Contributors

12
modules/history-substring-search/README.md

@ -8,6 +8,13 @@ commands. @@ -8,6 +8,13 @@ commands.
If this module is used in conjunction with the [_`syntax-highlighting`_][3]
module, this module must be loaded _after_ the _`syntax-highlighting`_ module.
Additionally, if this module is used in conjunction with the
[_`autosuggestions`_][4] module, this module must be loaded _before_ the
_`autosuggestions`_ module.
To elaborate, the relative order of loading the modules would be
_`syntax-highlighting`_, _`history-substring-search`_ and _`autosuggestions`_.
## Contributors
New features and bug fixes should be submitted to the
@ -60,7 +67,7 @@ zstyle ':prezto:module:history-substring-search' globbing-flags '' @@ -60,7 +67,7 @@ zstyle ':prezto:module:history-substring-search' globbing-flags ''
## 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]._
- [Suraj N. Kurapati](https://github.com/sunaku)
- [Sorin Ionescu](https://github.com/sorin-ionescu)
@ -68,4 +75,5 @@ _The authors of this module should be contacted via the [issue tracker][4]._ @@ -68,4 +75,5 @@ _The authors of this module should be contacted via the [issue tracker][4]._
[1]: https://github.com/zsh-users/zsh-history-substring-search
[2]: https://fishshell.com
[3]: ../syntax-highlighting#readme
[4]: https://github.com/sorin-ionescu/prezto/issues
[4]: ../autosuggestions#readme
[5]: https://github.com/sorin-ionescu/prezto/issues

20
modules/syntax-highlighting/README.md

@ -4,12 +4,17 @@ Integrates [zsh-syntax-highlighting][1] into Prezto. @@ -4,12 +4,17 @@ Integrates [zsh-syntax-highlighting][1] into Prezto.
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
[_`history-substring-search`_][2] module, this module must be loaded _before_
the _`history-substring-search`_ module.
[_`autosuggestions`_][3] module, this module must be loaded _before_ the
_`autosuggestions`_ module as well.
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
@ -30,7 +35,7 @@ zstyle ':prezto:module:syntax-highlighting' color 'yes' @@ -30,7 +35,7 @@ zstyle ':prezto:module:syntax-highlighting' color 'yes'
### 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.
To enable all highlighters, add the following to
@ -62,11 +67,12 @@ zstyle ':prezto:module:syntax-highlighting' styles \ @@ -62,11 +67,12 @@ zstyle ':prezto:module:syntax-highlighting' styles \
## 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)
[1]: https://github.com/zsh-users/zsh-syntax-highlighting
[2]: ../history-substring-search#readme
[3]: https://github.com/zsh-users/zsh-syntax-highlighting/tree/master/highlighters
[4]: https://github.com/sorin-ionescu/prezto/issues
[3]: ../autosuggestions#readme
[4]: https://github.com/zsh-users/zsh-syntax-highlighting/tree/master/highlighters
[5]: https://github.com/sorin-ionescu/prezto/issues

Loading…
Cancel
Save