Matthew Martin
2dd6923c30
docs: Move highlighter headers down one level
8 years ago
Daniel Shahaf
6e99128987
docs copyedit: minor: Spelling/punctuation fix.
8 years ago
Daniel Shahaf
bcc9db2784
docs copyedit: Rewrap to 80 columns, part 4.
8 years ago
Daniel Shahaf
b989ae23d0
docs copyedit: Rewrap to 80 columns, part 3.
8 years ago
Daniel Shahaf
3f163a2fd4
docs copyedit: Rewrap to 80 columns, part 2.
8 years ago
Daniel Shahaf
3bedd8571e
docs copyedit: Clarify tagline.
Restore zsh URL removed a few commits ago.
8 years ago
Daniel Shahaf
9ce97cd64d
docs copyedit: minor.
8 years ago
Daniel Shahaf
49f7beecb5
docs copyedit: Review toplevel and tests README.md files.
8 years ago
Daniel Shahaf
12097d55d1
docs copyedit: Rewrap to 80 columns.
8 years ago
Daniel Shahaf
8ea392e361
docs copyedit: Restyle bold-italic to fixed-width.
8 years ago
Daniel Shahaf
91e4a576fb
docs copyedit: Port 6d93ea07fd
to the other highlighters' README's.
8 years ago
Daniel Shahaf
6c033e62e9
docs copyedit: Whitespace.
8 years ago
Daniel Shahaf
e60737d320
'make perf': Unbreak by porting over 'make test' harness changes.
In particular, tests were relying on the harness to provide a sandbox working
directory, but the perf harness wasn't providing that.
8 years ago
Daniel Shahaf
17fbcad8ac
'main': Fix state check.
At this time, no user-visible consequences are known.
9 years ago
Daniel Shahaf
ea5186543d
changelog: Update through HEAD ( 1933de83be
).
9 years ago
Daniel Shahaf
1933de83be
'make install': Remove +x permission from installed library and documntation files.
8 years ago
Daniel Shahaf
e2096f5c4e
'make install': Unbreak PREFIX=~/foo usage.
Change quoting to only quote the shell variable, not the make variable. This
allows the leading '~' to be unescaped for make's sh to expand.
Followup to b1619c0013
.
8 years ago
Daniel Shahaf
29fd6ec1de
Support the '|&', '&!', '&|' command separators.
8 years ago
Daniel Shahaf
3ed0f7f823
noop: Consolidate two identical conditionals.
8 years ago
Daniel Shahaf
2dbcb575e5
internal: Document the ':regular' state.
8 years ago
Daniel Shahaf
00de155063
docs: 'main': Improve styles documentation.
8 years ago
Daniel Shahaf
3bfd250cce
'make perf': Designate this target as '.PHONY'.
Patch-by: Matthew Martin
8 years ago
Daniel Shahaf
7d4252f5f5
minor: docs: Improve dollar-double-quoted-argument documentation.
8 years ago
Daniel Shahaf
21e5e26923
docs: Clarify 'create a new highlighter' documentation.
8 years ago
Daniel Shahaf
b1619c0013
Fix issue #219 : install documentation fully and properly.
- Install the top-level README.md, which wasn't installed before.
- Install docs to /usr/local/share/doc rather than /usr/local/share.
8 years ago
Daniel Shahaf
79b95c629e
Drop unnecessary shebang lines.
Done in c30301d474
and
c687bddea3
for other tests.
8 years ago
Daniel Shahaf
3669d69226
Fix copyright year.
8 years ago
Daniel Shahaf
4fcfb15913
Highlight parameter expansions that are a command word.
Fixes zsh-users/zsh-syntax-highlighting#101 .
8 years ago
Daniel Shahaf
bdc1449733
noop: Break out a helper function.
8 years ago
Daniel Shahaf
1397f1bae1
tests: Tweak the isolation wrapper for style and robustness.
Followup to c015339202
.
Suggested-by: Matthew Martin
8 years ago
Daniel Shahaf
8f19af6b31
driver: Tolerate KSH_ARRAYS being set in the calling context.
Fixes zsh-users/zsh-syntax-highlighting#162 .
8 years ago
Daniel Shahaf
6e3720f39d
dollar-double-quoted-argument: Support the syntax «"${foo}"». (Issue #186.)
8 years ago
Daniel Shahaf
28776371a0
tests: Add an XFail test for highlighting «"${foo}"». (Issue #186.)
8 years ago
Daniel Shahaf
4f0c293fde
cursor: Remove cursor highlighting when accepting a line.
Fixes zsh-users/zsh-syntax-highlighting#109 .
Similar to 59fbdda64c
in the 'main' highlighter.
8 years ago
Daniel Shahaf
96ee5116b1
Fix issue #228 , "Support the PATH_DIRS option".
8 years ago
Daniel Shahaf
a636527f70
tests: Add an XFail test for issue #228 , "Support the PATH_DIRS option".
This builds upon the test harness auto-cleaned-up directories work (c01533920
).
8 years ago
Daniel Shahaf
2b35ff1c15
minor: Rename a test file to a not-escape-needing name.
There's simply no reason to use such names, now that the filename is no longer
itself test data.
8 years ago
Daniel Shahaf
c015339202
tests: Provide an independent, auto-cleaned working directory to each test.
Fixes zsh-users/zsh-syntax-highlighting#182.
Prerequisite for testing issue #228 .
* tests/test-highlighting.zsh
(run_test): Move functionality to run_test_internal; make run_test be a wrapper
that handles creating and cleaning up the tempdir.
* tests/README.md: Document the new feature.
* "highlighters/main/test-data/path-space- .zsh"
* highlighters/main/test-data/path-tilde-named.zsh
* highlighters/main/test-data/path.zsh
Change test data to not depend on being run from the source directory.
8 years ago
Daniel Shahaf
b5d02a2f49
tests: Document test isolation, implemented some time ago.
8 years ago
Daniel Shahaf
e1078a8b4c
'make install': Allow setting $(SHARE_DIR).
8 years ago
Daniel Shahaf
3620ad951f
Add an XFail test for issue #231 , "Assignment terminating subshell flags closing parenthesis as an error".
8 years ago
Daniel Shahaf
b285c7b821
brackets: Highlight closing ')' of array assignments correctly. (Issue #226.)
Followup to c0dafd1d850e582291b41d693369794d1ea31343, which changed the highlight of
those ')'s from <nothing> to [reserved-word].
8 years ago
Daniel Shahaf
44e5323b53
changelog: Update through HEAD ( c0dafd1d85
).
9 years ago
Daniel Shahaf
c0dafd1d85
brackets: Highlight the closing brackets of subshells and blocks. (Issue #226.)
9 years ago
Daniel Shahaf
28abb960de
noop: Follow-up to last: improve readability.
9 years ago
Daniel Shahaf
a59f442d2d
brackets: Highlight the closing brackets of arithmetic expansion. (Issue #226.)
9 years ago
Daniel Shahaf
8b4adbd991
Fix issue #222 , "command word after repeat".
9 years ago
Daniel Shahaf
6fbd2aa957
Add an XFail test for issue #222 , "command word after repeat".
9 years ago
Daniel Shahaf
9e178f9f39
subshells: Highlight the opening parenthesis correctly. (Issue #166.)
Followup to 0d1bfbcbfa
.
9 years ago
Daniel Shahaf
5a38710564
subshells: Add an XFail test demonstrating that #166 is not yet fixed.
Reported-by: Antony Lee
9 years ago