Commit graph

  • 2cbb3fb24e driver: Allow for -U in autoloaded function definition Matthew Martin 2018-01-08 12:59:56 -06:00
  • f265ef0b9a driver: Use idiomatic module check Matthew Martin 2018-01-08 12:35:45 -06:00
  • d0fb0df4ff driver: Make the shadowing $WIDGET read only. Daniel Shahaf 2018-01-08 06:03:38 +00:00
  • f665eec230 driver: Avoid a fork in the common case. Daniel Shahaf 2018-01-08 05:44:54 +00:00
  • a868b6942e test harness: Actually test the new code. Daniel Shahaf 2016-10-17 17:51:04 +00:00
  • b5249f17ab driver: Rewrite without a state variable Daniel Shahaf 2016-10-17 15:12:24 +00:00
  • d2594c1157 noop: Make a whitespace-only change to reduce noise in the next commit. Daniel Shahaf 2016-10-17 14:49:53 +00:00
  • 66ae59eccc docs: Rewrap. Daniel Shahaf 2016-10-07 14:22:23 +00:00
  • 1651137f5c docs: Update FAQ answer per changes on this branch. Daniel Shahaf 2016-10-07 14:21:57 +00:00
  • d4ab7e51d2 redo _zsh_highlight__function_callable_p Daniel Shahaf 2016-09-16 04:34:59 +00:00
  • 38477f2a3d driver: Use a different way of checking whether add-zle-hook-widget is present. Daniel Shahaf 2016-09-05 03:23:08 +00:00
  • d98622dcd0 changelog: Use a more specific link. Daniel Shahaf 2016-09-05 04:45:05 +00:00
  • 04fd6bbf53 changelog: Note the effect of fixing #245/#90 and an alternative. Daniel Shahaf 2016-09-05 04:41:51 +00:00
  • 30c6e70394 driver: Pass zle-line-finish arguments on to _zsh_highlight. Daniel Shahaf 2016-08-24 22:56:09 +00:00
  • 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
  • 5298397f66
    Use shallow clone while installing Ashesh Kumar Singh 2018-10-10 22:40:09 +05:30
  • 1ed57d0e85
    Merge 4c5d44d5e4 into cf88b63523 Daniel Shahaf 2018-10-10 10:50:56 +00:00
  • 4c5d44d5e4 'main': First stab at not considering escaped aliases to be aliases. Daniel Shahaf 2018-10-10 10:46:56 +00:00
  • c736908026 fixup! 'main': Don't highlight aliases in "fake" command word positions, such as 'sudo ls'. Daniel Shahaf 2018-10-10 10:46:04 +00:00
  • 00d9b7a6b2 'main': Don't highlight aliases in "fake" command word positions, such as 'sudo ls'. Daniel Shahaf 2018-10-10 10:07:57 +00:00
  • d937cee71b 'main': Add :alias: state. Daniel Shahaf 2018-10-10 09:45:47 +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
  • 3289b35abb
    Merge db3a020606 into 565463ca8f MinJae Kwon 2018-10-03 13:08:27 +00:00
  • db3a020606
    Remove indentations in code block MinJae Kwon 2018-10-03 22:07:46 +09:00
  • d08d5ef7c5 main: Remove quotes before tilde expansion Matthew Martin 2018-02-11 13:03:56 -06:00
  • b9d8ab1edf driver: Highlight even after a widget returns non-zero Matthew Martin 2017-12-24 22:30:42 -06: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