Commit Graph

  • 33813c6a52 simple testcases for bracket highlighter Andreas Gahr 2011-08-05 16:25:47 +02:00
  • 3c82e872ad Merge pull request #66 from simonair/master Julien Nicoulaud 2011-08-03 05:42:50 -07:00
  • 854038010f Added || true to ensure zero exit code Simon Heimlicher 2011-08-03 09:40:19 +00:00
  • 186d80054a Fix #65, sourcing the script multiples times should not cause issues anymore Julien Nicoulaud 2011-08-02 20:25:00 +02:00
  • f27ef7a279 after exec token we can expect a command Valodim 2011-07-25 18:54:15 +08:00
  • 0e331cd654 Isolate setup code in functions to ease messing with zsh-syntax-highlighting Julien Nicoulaud 2011-07-31 17:59:55 +02:00
  • 5003fa7c9b We don't need this hook as we have already bound every widget we could find (stop me if I'm wrong) Julien Nicoulaud 2011-07-31 17:14:50 +02:00
  • 08dae96eb1 Add highlighter triggered when the user is root Julien Nicoulaud 2011-07-27 00:37:33 +02:00
  • 11de634b33 Add cursor highlighter Julien Nicoulaud 2011-07-27 00:13:41 +02:00
  • 4ff08dcfa6 Fix #53: Prefix all defined functions with _zsh_highlight Julien Nicoulaud 2011-07-26 23:16:52 +02:00
  • 776453cb5b Fix #46: Conflict with url-quote-magic Julien Nicoulaud 2011-07-26 22:50:53 +02:00
  • 3b27ad778d More efficient way to strip leading dot Julien Nicoulaud 2011-07-25 22:30:06 +02:00
  • 9617f6e61b Remove contributors list (too annoying to maintain), people can use Commits > Contributors (https://github.com/zsh-users/zsh-syntax-highlighting/contributors) to access the same list Julien Nicoulaud 2011-07-25 22:08:29 +02:00
  • 8b7a6bd24d Add @garinger to the list of contributors Julien Nicoulaud 2011-07-14 15:02:05 +02:00
  • d5cceb2c34 Merge pull request #64 from Valodim/master Julien Nicoulaud 2011-07-25 12:52:47 -07:00
  • 5f68accccf Don't highlight if buffer is longer than $ZSH_HIGHLIGHT_MAXLENGTH Valodim 2011-07-25 14:50:26 +02:00
  • 8ebce17a11 Merge pull request #63 from garinger/master Julien Nicoulaud 2011-07-21 03:45:51 -07:00
  • a18e43d059 Fix README links Julien Nicoulaud 2011-07-21 12:45:21 +02:00
  • e7ab165310 * optimize discrimination of bracket-type * use a nicer variable name garinger 2011-07-13 12:47:27 -07:00
  • f1eb5aeef7 skip all brackets inside quotes (" and ') garinger 2011-07-12 08:11:21 -07:00
  • 2fe9505647 simplify check for bracket under cursor garinger 2011-07-12 08:07:08 -07:00
  • 05e4a031c7 * remove a safety belt - no need to check if array has elements, as defaults are provided * reuse $pos instead of using another variable * remove declaration forgotten in last commit garinger 2011-07-12 07:56:12 -07:00
  • d4acac9837 eliminate a variable and simplify garinger 2011-07-08 12:43:59 -07:00
  • ef74d2b611 Only match brackets of the same type garinger 2011-07-08 12:25:09 -07:00
  • eb749f2681 Merge pull request #62 from garinger/master Julien Nicoulaud 2011-07-08 08:30:04 -07:00
  • 48c30a805a highlight opening bracket with "bracket-error" style, if the closing bracket is still missing garinger 2011-07-08 07:52:32 -07:00
  • 1858be26bd exclude .beep garinger 2011-07-05 21:48:02 +08:00
  • 3802e03b4c exclude .beep garinger 2011-07-05 06:48:02 -07:00
  • 9e75ca0e76 Add @tednaleid to the list of contributors Julien Nicoulaud 2011-06-30 20:11:38 +02:00
  • 28720c77aa Some fixes consecutive to pull request #61 merge * Allow to override highlighters directory through ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR * Handle spaces in the directory path * Use Zsh builtin "h" modifier instead of dirname Julien Nicoulaud 2011-06-30 20:08:43 +02:00
  • df2fe2a97d Merge pull request #61 from tednaleid/master Julien Nicoulaud 2011-06-30 11:05:48 -07:00
  • 4ed9f9a68f fix for issue #60, unrecognized modifier 'A' on startup Ted Naleid 2011-06-29 21:32:58 -05:00
  • e04f6ab862 Safety checks before looking up cursor position Julien Nicoulaud 2011-06-17 12:36:07 +02:00
  • f6af27b8a6 More reliable way to hook precmd Julien Nicoulaud 2011-06-17 12:35:26 +02:00
  • 52bdb56fdb Merge pull request #57 from guidovansteen/patch-1 Julien Nicoulaud 2011-06-17 02:27:49 -07:00
  • 71e797a8b5 Much easier and less error prone way to start highlighting immediately after the creation of a new command line. Guido 2011-06-16 13:57:34 -07:00
  • bf4fe1f228 Another README link fix Julien Nicoulaud 2011-06-16 14:56:55 +02:00
  • 1435868740 Another README link fix Julien Nicoulaud 2011-06-16 14:54:47 +02:00
  • e7d7ccfe35 Group if statements in f26310d97e Julien Nicoulaud 2011-06-16 14:54:24 +02:00
  • f26310d97e * enable command lines starting with a hyphen. Guido 2011-06-16 04:28:59 -07:00
  • 56801a6b42 * added a workaround to start highlighting immediately after the creation of a new command line. Guido 2011-06-16 04:26:51 -07:00
  • ef4f5ed638 Fix READMEs Julien Nicoulaud 2011-06-12 23:16:41 +02:00
  • bb7fcb79fa Fix #56: tolerance to WARN_GLOBAL option Julien Nicoulaud 2011-06-12 23:09:59 +02:00
  • 55e6a85fbb Merge branch 'master' of github.com:nicoulaj/zsh-syntax-highlighting Julien Nicoulaud 2011-06-12 23:04:33 +02:00
  • 0772ddd346 Big refactoring. Julien Nicoulaud 2011-06-12 22:57:14 +02:00
  • 0999ab05ba do nothing if PENDING inputs are exist NAKAMURA Yoshitaka 2011-03-12 16:10:04 +09:00
  • 19f16752bb Issue 49: Don't use readlink, options differ between systems Julien Nicoulaud 2011-03-02 00:34:12 +01:00
  • bc788f3f19 Start splitting highlighters to separate files. The script still works on its own, highlighters in highlighters/ are loaded as addons if present. Julien Nicoulaud 2011-02-17 23:39:04 +01:00
  • 2f0fb81af4 More efficient way to look for elements in arrays Julien Nicoulaud 2011-02-17 22:27:31 +01:00
  • 3abf463753 More code style fixes Julien Nicoulaud 2011-02-17 21:02:23 +01:00
  • 2670c93e05 Make sure functions names match _zsh_highlight_* Julien Nicoulaud 2011-02-17 20:58:22 +01:00
  • dd84bff854 Code style Julien Nicoulaud 2011-02-17 19:51:07 +01:00
  • 6879d3c29f Issue 47: Removing styling of 'isearch' and 'special', as it has no effect Julien Nicoulaud 2011-02-17 19:31:07 +01:00
  • e1479022a0 Merge branch 'hchbaw-for-nicoulaj' Julien Nicoulaud 2011-02-17 19:20:32 +01:00
  • 69e7442e4d Add nakamuray to the list of contributors Julien Nicoulaud 2011-02-16 22:42:18 +01:00
  • fdc113996e Merge branch 'highlight-assignment' of https://github.com/nakamuray/zsh-syntax-highlighting into nakamuray-highlight-assignment Julien Nicoulaud 2011-02-16 22:39:45 +01:00
  • 390ab0fc32 Highlight variable assignment NAKAMURA Yoshitaka 2011-02-14 19:23:23 +09:00
  • d66b15aeb0 Fix contributor URL Julien Nicoulaud 2011-02-13 09:57:36 +01:00
  • 93c9e6a753 Split off contributors list to a separate file Markdown for everyone Julien Nicoulaud 2011-02-01 21:07:00 +01:00
  • ca79a5f65a Fix fish shell URL Julien Nicoulaud 2011-02-01 21:02:45 +01:00
  • 78ff61eddc Fix typo Julien Nicoulaud 2011-02-01 21:01:37 +01:00
  • bb5f41ef6d Add contrib/keyword.zsh Takeshi Banse 2011-01-16 20:33:24 +09:00
  • 0948c3d676 Introduce _zsh_add-highlighter. Takeshi Banse 2011-01-16 13:54:59 +09:00
  • 6663c5647d Make bracket match a function. Takeshi Banse 2011-01-16 14:12:33 +09:00
  • 07588d2165 Make core syntax highlighting a function. Takeshi Banse 2011-01-16 13:58:31 +09:00
  • ea792cbf87 Add a mechanism for testing the correctness of the highlighting. Feel free to add more test data ! Julien Nicoulaud 2011-01-10 23:46:27 +01:00
  • e162de6f51 Add BSD license (http://www.zsh.org/mla/users//2011/msg00030.html) Julien Nicoulaud 2011-01-10 10:11:35 +01:00
  • 0392fdc46a Issue 34: Do not highlight non commands as commands. Julien Nicoulaud 2011-01-08 18:03:52 +01:00
  • 50b612cec4 Merge branch 'celtic-master' Julien Nicoulaud 2011-01-08 13:09:56 +01:00
  • 678245bd63 Add stillmaintained badge Julien Nicoulaud 2011-01-08 13:08:02 +01:00
  • a40d777860 Use ${(Q)arg} to expand a level of quotes, such that files/directories with spaces in their name (escaped with backslash) are noticed correctly. Arlen Cuss 2011-01-08 15:51:26 +11:00
  • d2f641ca50 Carefully rebind the $clean_event. Takeshi Banse 2011-01-07 21:49:19 +09:00
  • 2fd0845b77 Recreate the completion widget with its own function. Takeshi Banse 2011-01-07 21:43:09 +09:00
  • 802583ea94 Make this clause function and call it afterward. Takeshi Banse 2011-01-07 21:35:43 +09:00
  • f962bdf1e7 Fix regression Julien Nicoulaud 2011-01-06 23:28:41 +01:00
  • 0b0b09de64 Fix absolute path in symlink Julien Nicoulaud 2011-01-06 23:26:24 +01:00
  • 9d63573e4e Issue 30: Add a test script to watch performance Julien Nicoulaud 2011-01-06 23:23:29 +01:00
  • 83372a5cee Issue 38: Conflict with command-not-found Julien Nicoulaud 2011-01-06 22:25:16 +01:00
  • 4d0e833079 Merge branch 'master' of github.com:nicoulaj/zsh-syntax-highlighting Julien Nicoulaud 2011-01-06 14:59:59 +01:00
  • fc5caa4e2d Fix error when sourcing twice the script Julien Nicoulaud 2011-01-06 14:57:51 +01:00
  • 43e31cdc58 Fix error when source twice the script Julien Nicoulaud 2011-01-06 14:57:51 +01:00
  • 7e963c6c7e Fix issue 31 Mounier Florian 2011-01-06 09:16:15 +01:00
  • 262755f1e7 Fix link in README Julien Nicoulaud 2011-01-05 23:46:08 -08:00
  • 0a50e2a830 Issue 32: 'xargs' and 'zargs' are followed by commands (thanks to claytron) Julien Nicoulaud 2011-01-06 08:41:52 +01:00
  • ca4d7fbd06 Emphasize installations instructions ;) Julien Nicoulaud 2011-01-05 23:11:24 +01:00
  • a9da4e6c76 Harmonize exported variables names Julien Nicoulaud 2011-01-05 23:07:56 +01:00
  • 8188920d00 Update README Julien Nicoulaud 2011-01-05 23:07:22 +01:00
  • 60842aa75b Define a style for hashed commands Julien Nicoulaud 2011-01-05 22:51:00 +01:00
  • a7746077bf Added hashed commands highlighting to zsh-syntax-highlighting oh-my-zsh plugin. Sorin Ionescu 2011-01-06 03:07:43 +08:00
  • 06d67990d9 Added oh-my-zsh zsh-syntax-highlighting plugin. Sorin Ionescu 2011-01-06 03:06:25 +08:00
  • b45891cdf4 Fix variable scope and make variable names even more obvious Julien Nicoulaud 2011-01-05 22:16:17 +01:00
  • 0e55450a0b Issue 26: The script unplugs user defined events Julien Nicoulaud 2011-01-05 22:11:00 +01:00
  • 701cc303fe Highlighting bracket pair, when one is under the cursor (Issue 24) Mounier Florian 2011-01-05 17:08:34 +01:00
  • f78e444451 Fix highlighting on new line with same buffer Mounier Florian 2011-01-05 14:27:22 +01:00
  • a765f76656 Remove the huge zle functions array and replace it with zle -la output Mounier Florian 2011-01-05 14:10:57 +01:00
  • 2ca730ed17 Merge branch 'master' of gh:nicoulaj/zsh-syntax-highlighting Mounier Florian 2011-01-05 13:50:19 +01:00
  • 1da1aeb6f8 Simple rainbow style bracket matching Mounier Florian 2011-01-05 13:48:23 +01:00
  • a640bb8b96 Fix for aliases (from zsh-users) http://www.zsh.org/mla/users/2011/msg00005.html Julien Nicoulaud 2011-01-05 11:28:24 +01:00
  • 77ff47dc27 Add zsh version requirement Mounier Florian 2011-01-05 10:56:12 +01:00
  • 5afa8fcb32 Add all zle hookable functions Mounier Florian 2011-01-05 10:54:25 +01:00