1
0
Fork 0
mirror of synced 2024-11-12 19:18:57 -05:00
zimfw/modules/syntax-highlighting/README.md
Eric Nielsen 5b90c96cd1 Update modules' README.md
Stick with the following style:

* Header 1 with the module name is in `lowercase`.
* Other headers are in `Sentence case`. Common header names that should
  be consistently used are `Aliases`, `Contributing`, `Functions`,
  `Settings`, and `Zsh options`.
* The names `Zim` and `Zsh` always appear capitalized, even in the
  middle of sentences.
* Prefer

      print 'code indented with 4 spaces'

  instead of
  ```zsh
  print 'code fenced by lines with three back-ticks'
  print 'unless you want syntax highlighting'
  ```
2018-12-17 14:11:16 -05:00

956 B

syntax-highlighting

Adds fish shell-like syntax highlighting to your shell.

syntax-highlighting

If you are also using history-substring-search, ensure you have placed 'syntax-highlighting' before 'history-substring-search' on the second line of zmodules in your .zimrc.

.zimrc Configuration

  • zhighlighters=(main brackets cursor) add any highlighters you want as described here.

Contributing

Contributions should be submitted upstream to zsh-syntax-highlighting