Commit Graph

  • 74a27de70d driver: Hook zle-line-finish. Daniel Shahaf 2016-07-29 20:32:29 +00:00
  • 85e62a8171 driver: Reimplement using 'add-zle-hook-widget zle-line-pre-redraw' Daniel Shahaf 2016-06-15 23:26:23 +00:00
  • aed99f6a3e wrappers: Reimplement using Mikachu's zle-line-pre-redraw hook (workers/36650). Daniel Shahaf 2015-09-30 18:56:35 +00:00
  • d6586e2a4f main: Order precommand_options and add '-' Matthew Martin 2018-10-10 23:22:41 -05:00
  • 31276c1b64 main: Avoid empty character classes Matthew Martin 2018-10-10 23:02:33 -05:00
  • 07f259f653 main: Avoid null elision in _check_path Matthew Martin 2018-10-09 23:25:31 -05:00
  • e27e53b1ef main: Highlight unknown precommand option as unknown-token Matthew Martin 2018-10-09 22:51:54 -05:00
  • c6e3d216ec main: Consolidate TOKENS_COMMANDSEPARATOR handling Matthew Martin 2018-10-01 18:24:51 -04:00
  • 5bb5703b0d main: Move TOKENS_CONTROL_FLOW handling into command word branch Matthew Martin 2018-10-01 18:24:03 -04:00
  • dea05e44e6 main: Recognize more redirection and array assignment parse errors Matthew Martin 2018-10-01 18:18:52 -04:00
  • 2f03b6d704 main: Do not highlight a redirection target as an option Matthew Martin 2018-10-01 18:14:56 -04:00
  • b075147888 main: Consolidate conditionals together. Matthew Martin 2018-10-01 18:06:33 -04:00
  • 9289a57de0 main: Remove already_assigned Matthew Martin 2018-10-01 13:55:14 -04:00
  • c76daac095 main: Move start_pos=$end_pos to the beginning of the loop Matthew Martin 2018-10-01 13:47:13 -04:00
  • de28e20fbc main: Simplify this_word next_word updating Matthew Martin 2018-03-25 21:44:39 -05:00
  • c05ebf762c main: Do not recognize always as a reserved word in a redirection Matthew Martin 2018-03-25 21:43:56 -05:00
  • ae5b9b2dc9 main: Set redirection style when recognizing the redirection Matthew Martin 2018-03-25 21:43:40 -05:00
  • df431eeee8 main: Recognize repeat with the other reserved words Matthew Martin 2018-03-25 21:43:24 -05:00
  • 3ddb974a3d main: Remove needless code Matthew Martin 2018-03-25 21:42:57 -05:00
  • b6e0aeb380 main: Use unknown-token when the token type is unknown Matthew Martin 2018-10-01 12:23:47 -04:00
  • 4748f9bd3d main: Add alias tests Matthew Martin 2018-10-01 12:04:36 -04:00
  • e3edddd8ec main: alias style overrides precommand style Matthew Martin 2018-10-01 11:56:08 -04:00
  • c138123397 main: Move alias handling up. Matthew Martin 2018-10-01 11:54:25 -04:00
  • 57386f30ae main: Recursively expand aliases Matthew Martin 2018-10-01 11:23:59 -04:00
  • e1ecf950e2 main: Do path expanstion after alias expansion Matthew Martin 2018-10-01 11:10:44 -04:00
  • f46b148c52 main: Only expand aliases in command position Matthew Martin 2018-03-25 21:42:36 -05:00
  • 99d7235c2b main: Add test for an alias to a redirection Matthew Martin 2018-03-25 21:44:55 -05:00
  • 05a55108c9 main: Expand aliases before looking for redirections Matthew Martin 2018-03-25 21:41:03 -05:00
  • e43e4fd2c7 'main': Fix $flags_sans_argument for 'nice'. Daniel Shahaf 2018-01-13 14:21:30 +00:00
  • a56c33c3be Bump copyright years. Daniel Shahaf 2018-01-13 14:05:25 +00:00
  • 005179ed8e 'main': Update $this_word state with our inferences. Daniel Shahaf 2018-01-12 16:08:22 +00:00
  • 0709520597 No functional change. Daniel Shahaf 2018-01-12 16:02:41 +00:00
  • f7ac43cd49 'main': Unify $ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS and $precommand_options. Daniel Shahaf 2018-01-12 14:03:39 +00:00
  • 31ceaed4f4 'main': Highlight array parameters in command position. Daniel Shahaf 2018-01-12 13:54:02 +00:00
  • ad6261fbca 'main': Use a more robust way of testing for $parameters' availability. Daniel Shahaf 2018-01-12 13:49:03 +00:00
  • 3a33ac1d20 'main': Break out a new helper function for readability. Daniel Shahaf 2018-01-12 13:46:11 +00:00
  • f3425e18fe 'main': Let _zsh_highlight_main__type return false on failure. Daniel Shahaf 2018-01-12 13:45:52 +00:00
  • 82c39716eb 'main': Write the "remainder" of the sentence in a comment. No functional change. Daniel Shahaf 2018-01-12 13:38:06 +00:00
  • a2e993c59f 'main': Learn $flags_sans_arguments and use that to parse '-xy foo' correctly where -x takes no argument and -y does. Daniel Shahaf 2018-01-12 13:32:30 +00:00
  • bee115f797 'main': Correct a comment. Daniel Shahaf 2018-01-12 13:05:07 +00:00
  • 7f5e11e38b 'main': Remove superfluous variable. No functional change. Daniel Shahaf 2018-01-12 13:02:39 +00:00
  • 78be8f611f 'main': Highlight 'doas'. Daniel Shahaf 2016-09-15 15:42:35 +00:00
  • 8b11ca087e 'main': Highlight 'nice'. Daniel Shahaf 2016-07-28 08:22:40 +00:00
  • 5694221939 'main': Highlight the 'command' precommand. Daniel Shahaf 2016-07-28 07:50:38 +00:00
  • 4c7db4e886 'main': Update state machine docs. No functional change. Daniel Shahaf 2016-07-28 08:26:48 +00:00
  • add2ac59fc 'main': Permit $flags_with_argument to be empty. Daniel Shahaf 2016-07-28 07:42:54 +00:00
  • 6e8984e2ec 'main': Make sudo handling more generic. Daniel Shahaf 2016-07-28 07:37:59 +00:00
  • dbdebfaaa5 'main': Following up to the last commit, also highlight braced parameter expansions: «${foo}». Daniel Shahaf 2017-12-25 05:20:40 +00:00
  • bf055f7df2 'main': Fix the last commit's issue concerning parameter expansion at command word. Daniel Shahaf 2016-07-28 22:41:23 +00:00
  • 76d61360a7 'main': New XFail test for parameter expansion at command word. Daniel Shahaf 2016-07-28 22:41:23 +00:00
  • f3410c5862 'main': Expand aliases first. (Issue #264.) Daniel Shahaf 2016-07-28 08:16:22 +00:00
  • cf88b63523 docs: Remove superfluous indentations in code block MinJae Kwon 2018-10-03 22:07:46 +09:00
  • 565463ca8f 'main': Add regression test for an unclosed backtick substitution Daniel Shahaf 2018-09-30 15:45:18 -04:00
  • e86f75a840 main: Highlight {command,process} substitution delimiters Matthew Martin 2018-04-14 14:00:03 -05:00
  • 22839d08ef main: Return 0 if braces_stack is empty Matthew Martin 2018-04-14 13:38:02 -05:00
  • 472c71c1fa main: Support the glob_assign option Matthew Martin 2018-04-14 08:31:15 -05:00
  • 9616bfdb20 main: Ignore zsh 5.0.8 off by one bug in tests Matthew Martin 2018-04-04 23:10:54 -05:00
  • 8a93b852ca main: Add test for command substitution in assignment Matthew Martin 2018-03-27 23:11:21 -05:00
  • 932eb380e2 main: Highlight the value of an assignment Matthew Martin 2018-03-21 19:59:53 -05:00
  • c06e5e95dc main: Correct array assignment check Matthew Martin 2018-03-21 19:51:48 -05:00
  • 12e01336f1 main: Start _highlight_argument at $1 Matthew Martin 2018-03-21 19:43:19 -05:00
  • 13d332af95 main: Make _check_path's argument explicit Matthew Martin 2018-03-21 19:24:53 -05:00
  • 57e451b531 main: Add test for unclosed command substitution Matthew Martin 2018-03-14 23:03:35 -05:00
  • 49dbb05791 main: Add test for =( ) process substitution Matthew Martin 2018-03-14 22:56:21 -05:00
  • c0e64fe131 main: Highlight =( ) process substitutions Matthew Martin 2018-03-14 22:47:33 -05:00
  • 73640b79ea main: Change conditional to a switch Matthew Martin 2018-03-14 22:46:49 -05:00
  • beae08776a main: Add test for embedded process substitution Matthew Martin 2018-03-10 15:05:03 -06:00
  • 08d4401fae main: Highlight <( ) and >( ) process substitutions Matthew Martin 2018-03-10 15:03:25 -06:00
  • 3ac7d1c785 main: Add test for nested backticks; summon Cthulhu Matthew Martin 2018-03-15 07:27:00 -05:00
  • 9db393309e main: Recurse into backtick command substitutions Matthew Martin 2018-03-12 19:29:09 -05:00
  • c40c72c386 main: Track if $buf has the end of $BUFFER Matthew Martin 2018-03-20 21:03:22 -05:00
  • b75169597e main: Highlight command substitutions Matthew Martin 2018-03-10 15:03:02 -06:00
  • ce592bd5c7 main: Move highlighting to _main_paint Matthew Martin 2018-03-10 14:58:01 -06:00
  • ead8f8a1fc main: Split highlighting code into another function Matthew Martin 2018-03-10 14:47:52 -06:00
  • 81e89a8800 main: Reorder declarations for next commit Matthew Martin 2018-03-10 14:45:47 -06:00
  • dbce7317c7 main: Add buf_offset variable Matthew Martin 2018-03-10 14:34:46 -06:00
  • 49cc5e25b8 main: Simplify interface to __stack_pop Matthew Martin 2018-03-10 14:31:15 -06:00
  • b1eb0358fa main: Move fallback calculation to a function Matthew Martin 2018-03-12 20:11:59 -05:00
  • 8a0ffe1c43 main: Allow for patterned fallbacks Matthew Martin 2018-03-12 19:34:25 -05:00
  • 2fd7fbc3c2 main: Do not skip over backslash floowed by space or tab Matthew Martin 2018-09-29 21:29:45 -04:00
  • 1eedb23c65 main: Fix blacklist dirs check when there is more than one element Matthew Martin 2018-09-24 07:07:32 -05:00
  • 3a7ddcda0b #535: locally enable BARE_GLOB_QUAL option when loading highlighters Julien Nicoulaud 2018-09-22 22:50:46 +02:00
  • 8348e2d2cc Enable testing on zsh 5.5.x/5.6.x releases Julien Nicoulaud 2018-09-22 21:27:01 +02:00
  • 683321d862 Merge pull request #529 from wraeth/master Matthew Martin 2018-09-22 12:47:47 -05:00
  • 42d396d819 driver: Exclude yank-pop again (#183). Adam Johnson 2018-09-07 18:21:53 +00:00
  • 47d6dac133 main-highlighter: Probe dirs after blacklist Sam Jorna (wraeth) 2018-08-30 10:12:55 +10:00
  • db6cac391b main: Add glob qualifier to work around zsh/macOS bug Bengt Brodersen 2018-05-30 19:03:36 +02:00
  • ee26d44de1 Merge pull request #517 from tbroadley/fix-typos Daniel Shahaf 2018-05-26 13:55:52 +00:00
  • 7d3ec45249 docs: fix typos Thomas Broadley 2018-05-26 09:39:25 -04:00
  • 5b539663c0 Add a regression test for a problem seen during development. Daniel Shahaf 2018-05-12 00:04:19 +00:00
  • 02a37dd919 CI: install packages required by test suite Julien Nicoulaud 2018-04-11 22:19:49 +02:00
  • 02b839550f CI: add zsh 5.5 Julien Nicoulaud 2018-04-11 22:00:50 +02:00
  • e4fffa4de5 main: Correct dollar-quoted-argument-unclosed fallback typo Matthew Martin 2018-03-16 17:18:31 -05:00
  • 5e9b7c4650 main: Add test for previous Matthew Martin 2018-03-10 09:45:18 -06:00
  • d2c8f3a56d main: Fix end of buffer check for path_prefix with non-null PREBUFFER Matthew Martin 2018-03-10 09:40:49 -06:00
  • 2c0c75a8ee driver, main: Add -z to autoload calls Matthew Martin 2018-03-06 11:31:50 -06:00
  • 15e288a25c main: Mark ZSH_HIGHLIGHT_DIRS_BLACKLIST experimental Matthew Martin 2018-02-17 20:08:25 -06:00
  • 6713727742 main: Add ZSH_HIGHLIGHT_DIRS_BLACKLIST Matthew Martin 2018-01-21 14:48:47 -06:00
  • 90b09f88ee main: Move - to end of character class Matthew Martin 2018-02-11 11:08:27 -06:00
  • 9706af4b81 main: Simplify for next commit; no functional change Matthew Martin 2018-02-11 11:07:08 -06:00