Matthew Martin
b07ada1255
driver: Run under emulate -L zsh and add zsyh_user_options
6 anos atrás
Daniel Shahaf
a3d5dfcbda
driver: Rename highlighter entry points
This updates the docs and the driver, in a manner backwards compatible with
existing highlighters. (None of the highlighters are touched by this change,
yet tests continue to pass.)
Part of issue #329 .
8 anos atrás
Daniel Shahaf
fffe13a8fb
docs: Minor tweak.
Suggested-by: Matthew Martin
8 anos atrás
Daniel Shahaf
80148f6c84
docs: State highlighters' designated namespace.
8 anos atrás
Daniel Shahaf
ba16cf2fb2
docs: s/myhighlighter/acme/g
Makes the text easier to read ("_zsh_highlight_myhighlighter_highlighter" is
a mouthful).
8 anos atrás
Matthew Martin
0f43026bf0
docs: Document writing tests
8 anos atrás
Daniel Shahaf
0ff354b44b
docs: Namespace highlighters' styles.
Follow-up to 2176692704
.
Part of #306 .
8 anos atrás
Nils Luxton
2176692704
docs: Added style key prefix convention
Part of #306
8 anos atrás
Daniel Shahaf
e8af14fe1f
minor: Rewrap docs for uncompiled readability.
8 anos atrás
Matthew Martin
c346f6eb6f
docs: highlighters should use _zsh_highlight_add_highlight
8 anos atrás
Daniel Shahaf
1f1ad09e38
docs: Restore (with changes) links removed in f5ca4b891b
.
The preceding commit, which made docs/highlighters.md and
highlighters/README.md distinct, allows reverting their removal.
8 anos atrás
Daniel Shahaf
eb3715a56a
docs: Followup to the recent docs branch: clean up some internal cross-references.
8 anos atrás
Daniel Shahaf
95330c691b
docs: Clarify tagline summary of 'root' highlighter
8 anos atrás
Daniel Shahaf
371f8183d6
docs: Minor clarification.
8 anos atrás
Daniel Shahaf
b8ced86853
docs: Minor clarifications.
8 anos atrás
Daniel Shahaf
22123ab622
docs: Follow-up to last: Fix markup.
8 anos atrás
Daniel Shahaf
ded1c8789b
docs: Clarify highlighters documentation.
8 anos atrás
Matthew Martin
f5ca4b891b
Remove broken links
8 anos atrás
Matthew Martin
0ab450ae47
docs: Move docs into docs/
8 anos atrás
Daniel Shahaf
3f163a2fd4
docs copyedit: Rewrap to 80 columns, part 2.
8 anos atrás
Daniel Shahaf
12097d55d1
docs copyedit: Rewrap to 80 columns.
8 anos atrás
Daniel Shahaf
8ea392e361
docs copyedit: Restyle bold-italic to fixed-width.
8 anos atrás
Daniel Shahaf
21e5e26923
docs: Clarify 'create a new highlighter' documentation.
8 anos atrás
Joost Cassee
d7d4dff1c8
Add 'line' highlighter for the whole buffer
10 anos atrás
Chris Knadler
612e493cba
Fix relative links in highlighters readme
11 anos atrás
Julien Nicoulaud
08dae96eb1
Add highlighter triggered when the user is root
13 anos atrás
Julien Nicoulaud
11de634b33
Add cursor highlighter
13 anos atrás
Julien Nicoulaud
ef4f5ed638
Fix READMEs
13 anos atrás
Julien Nicoulaud
0772ddd346
Big refactoring.
* Don't override user defined styles
* Better modularisation of highlighters
* Allow to define which highlighters are activated
* Allow to define the order in which they are defined
* Minor performance optimizations
* Fixed some variables leak
* Improve documentation
* Brackets highlighter: use ZSH_HIGHLIGHT_STYLES instead of a specific array
13 anos atrás