Nuri Jung
d7d9f8fddc
Add comments for BSD-based platform users
...
In BSD-based platform such as macOS, the metacharacters with leading "\" are not supported.
This adds comments for users with those OS, to avoid confusing results.
Also changes the wrong associative array name in the example(s).
2020-07-01 21:38:38 +09:00
Matthew Martin
a238647df9
main: Add arithmetic substitution highlighting
...
Closes #607 #649 #704
2020-05-23 20:29:00 -05:00
Daniel Shahaf
5171ec524f
Document ZSH_HIGHLIGHT_MAXLENGTH.
...
Fixes #698 .
2020-05-22 02:23:18 +00:00
Daniel Shahaf
83ac855ceb
'main': Let AUTO_CD directories be highlighted with their own style.
2020-03-19 06:06:30 +00:00
Daniel Shahaf
3c5f63d959
'main': Highlight global aliases
2020-03-19 05:05:37 +00:00
Daniel Shahaf
fb69f4ca81
'main': When the redirection operator '>&' or '<&' is followed by a positive integer, do not consider that as a filename; it's always a file descriptor.
...
Fixes #694 .
2020-03-17 04:00:43 +00:00
Daniel Shahaf
9e036e0b0c
'main': Document the second meaning of the 'comment' style.
2020-03-15 18:30:53 +00:00
Manaswini Das
dde84e1b25
docs: Fix typo
...
Fixes #679
2020-01-28 07:44:52 +00:00
Daniel Shahaf
f02c0bf980
Don't describe as ZSH_HIGHLIGHT_DIRS_BLACKLIST as experimental, now that it's named without the X_ prefix.
2020-01-11 21:32:21 +00:00
Matthew Martin
b55832c5f8
main: Drop X_ from X_ZSH_HIGHLIGHT_DIRS_BLACKLIST
2019-07-24 07:27:54 -05:00
Sean Wei
4fb570e104
docs: Enable Syntax Highlighting for Code Snippits
2019-01-13 16:12:41 +08:00
Tobias Sette
3dc74b5c2c
pattern, regexp: Declare the variable in the documentation example
...
Fixes #590 .
2018-12-14 10:21:55 +00:00
Daniel Shahaf
38c794a978
'main': Highlight named fd redirections.
...
Fixes #238
2018-10-22 04:33:11 +00:00
Matthew Martin
47c2b7e185
main: Distinguish quoted/unquoted command substitutions
...
Closes #547 .
2018-10-13 09:37:09 -05:00
Matthew Martin
e86f75a840
main: Highlight {command,process} substitution delimiters
2018-09-30 16:26:01 -04:00
Matthew Martin
08d4401fae
main: Highlight <( ) and >( ) process substitutions
...
Fixes #494
2018-09-30 14:59:57 -04:00
Matthew Martin
b75169597e
main: Highlight command substitutions
2018-09-30 14:58:08 -04:00
Thomas Broadley
7d3ec45249
docs: fix typos
2018-05-26 09:39:25 -04:00
Matthew Martin
15e288a25c
main: Mark ZSH_HIGHLIGHT_DIRS_BLACKLIST experimental
2018-02-17 20:29:30 -06:00
Matthew Martin
6713727742
main: Add ZSH_HIGHLIGHT_DIRS_BLACKLIST
...
Closes #379 .
2018-02-17 20:29:30 -06:00
Daniel Shahaf
4724837df0
docs: main: Clarify back-quoted-argument, back-double-quoted-argument, back-dollar-quoted-argument, and assign.
...
Fixes #480 .
2018-01-13 14:43:37 +00:00
Daniel Shahaf
d39f83509e
docs: main: Add missing hyphens.
2018-01-13 14:43:02 +00:00
Matthew Martin
d17417ec1b
main: Highlight unclosed backtick subshells
2018-01-07 23:18:25 -06:00
Matthew Martin
bdbe214453
main: Add *-quoted-argument-unclosed styles
...
Closes #277 .
2017-12-24 00:03:55 -06:00
Matthew Martin
25ae1c0121
main: Add ' helper function
2017-12-23 14:45:47 -06:00
Matthew Martin
b07ada1255
driver: Run under emulate -L zsh and add zsyh_user_options
2017-12-16 09:33:51 -06:00
disarmer mk
4e6f60063f
Add regexp highlighter
2017-12-09 16:17:22 -06:00
Daniel Shahaf
094329eb14
'main': Introduce style fallback for the command word.
...
Fixes #316 .
* danielsh/i316-v2:
'main': Enable fallback to the 'arg0' style.
'main': Set fallback style for the 'arg0' style.
2016-09-28 13:25:05 +00:00
Daniel Shahaf
b4537a972e
'main': Set fallback style for the 'arg0' style.
...
The fallback style name uses '_' in anticipation of a future auto-fallback
feature keyed on style names.
'arg0' was previously known as 'commandtypefromthefuture'.
2016-09-28 13:22:09 +00:00
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 .
2016-08-16 17:51:43 +00:00
Daniel Shahaf
fffe13a8fb
docs: Minor tweak.
...
Suggested-by: Matthew Martin
2016-07-18 04:27:54 +00:00
Daniel Shahaf
80148f6c84
docs: State highlighters' designated namespace.
2016-07-12 07:05:37 +00:00
Daniel Shahaf
ba16cf2fb2
docs: s/myhighlighter/acme/g
...
Makes the text easier to read ("_zsh_highlight_myhighlighter_highlighter" is
a mouthful).
2016-07-12 07:03:18 +00:00
m0viefreak
f3d3aaa00c
'main': Document _pathseparator styles
2016-06-12 09:06:30 +00:00
Matthew Martin
0f43026bf0
docs: Document writing tests
2016-05-12 22:40:34 -05:00
Daniel Shahaf
0ff354b44b
docs: Namespace highlighters' styles.
...
Follow-up to 2176692704
.
Part of #306 .
2016-05-12 19:28:17 +00:00
Nils Luxton
2176692704
docs: Added style key prefix convention
...
Part of #306
2016-05-09 17:35:21 +01:00
Daniel Shahaf
e8af14fe1f
minor: Rewrap docs for uncompiled readability.
2016-05-03 15:00:48 +00:00
Matthew Martin
c346f6eb6f
docs: highlighters should use _zsh_highlight_add_highlight
2016-04-29 21:52:41 -05:00
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.
2015-11-27 04:07:02 +00:00
Daniel Shahaf
eb3715a56a
docs: Followup to the recent docs branch: clean up some internal cross-references.
2015-11-27 04:07:02 +00:00
Daniel Shahaf
95330c691b
docs: Clarify tagline summary of 'root' highlighter
2015-11-27 04:07:02 +00:00
Daniel Shahaf
371f8183d6
docs: Minor clarification.
2015-11-27 04:06:15 +00:00
Daniel Shahaf
b8ced86853
docs: Minor clarifications.
2015-11-26 17:15:48 +00:00
Daniel Shahaf
438a94496f
docs: Grammar fix.
2015-11-24 07:43:03 +00:00
Daniel Shahaf
7ee350efcd
docs: Port new text to individual highlighters' documentation.
...
The new text is from the preceding two commits, 22123ab622
+ ded1c8789b
.
Fixes a broken link.
2015-11-24 07:39:44 +00:00
Daniel Shahaf
22123ab622
docs: Follow-up to last: Fix markup.
2015-11-24 07:36:10 +00:00
Daniel Shahaf
ded1c8789b
docs: Clarify highlighters documentation.
2015-11-24 07:32:18 +00:00
Matthew Martin
f5ca4b891b
Remove broken links
2015-11-24 00:27:21 -06:00
Matthew Martin
0ab450ae47
docs: Move docs into docs/
2015-11-24 00:09:21 -06:00