Commit Graph
100 Commits
Author SHA1 Message Date
Julien Nicoulaud 650dd79d86 tests: use zshusers/zsh image with tags (see zsh-users/zsh-docker#16) 2019-05-25 13:59:59 +02:00
Julien Nicoulaud 3a7ddcda0b #535: locally enable BARE_GLOB_QUAL option when loading highlighters 2018-09-22 22:50:46 +02:00
Julien Nicoulaud 8348e2d2cc Enable testing on zsh 5.5.x/5.6.x releases 2018-09-22 21:27:01 +02:00
Julien Nicoulaud 02a37dd919 CI: install packages required by test suite 2018-04-11 22:19:49 +02:00
Julien Nicoulaud 02b839550f CI: add zsh 5.5 2018-04-11 22:00:50 +02:00
Julien Nicoulaud 8146d58bb2 CI: customize IRC notifcation message 2017-09-28 19:07:24 +02:00
Julien Nicoulaud 3d26cb8146 tests: run the most recent versions first 2017-09-11 19:29:58 +02:00
Julien Nicoulaud 873b9955c7 tests: add zsh 5.4.2 2017-09-11 19:27:52 +02:00
Julien Nicoulaud 6f149dfc5e Tests: add zsh 5.4 and 5.4.1 2017-08-10 20:26:11 +02:00
Julien Nicoulaud 871041a939 #440: Make sure zsh's git hash is printed when testing against zsh master branch
Context: zsh-users/zsh-docker#2
2017-08-01 18:31:18 +02:00
Julien Nicoulaud ed90f0d2c9 #440: Fix minimum required Zsh version (4.3.11 instead of 4.3.17) 2017-08-01 17:55:23 +02:00
Julien Nicoulaud bbaae63f2e #440: Test on Zsh master and intermediate releases since 4.3.11 2017-08-01 17:55:23 +02:00
Julien Nicoulaud d43fe3ab70 #440: Setup IRC/gitter notifications 2017-08-01 00:56:30 +02:00
Julien Nicoulaud 47ac611c89 #440: Add build status badge 2017-08-01 00:56:30 +02:00
Julien Nicoulaud 46441b1c0d #440: Print zsh version before tests 2017-08-01 00:56:30 +02:00
Julien Nicoulaud 7e840ff2db #440: Fix Travis-CI configuration 2017-08-01 00:56:30 +02:00
Julien Nicoulaud 176a019434 #440: Add Travis-CI configuration 2017-08-01 00:56:30 +02:00
Julien Nicoulaud dea1fedc73 #419: Add links to OpenSUSE build service deb/rpm repositories 2017-07-31 19:12:40 +02:00
nicoulaj 3dc5741900 Merge pull request #140 from randomize/pr_fix_issue_#77
Pr fix issue #77
2014-09-24 22:58:20 +02:00
nicoulaj 10391d025a Merge pull request #134 from sonnym/enable_quick_history_substitution_highlighting
highlight ^old^new pattern
2014-09-24 22:54:21 +02:00
nicoulaj 443908b9a2 Merge pull request #142 from jcassee/master
Add 'line' highlighter for the whole buffer
2014-09-24 22:50:54 +02:00
nicoulaj eb9870f4db Merge pull request #143 from vincentbernat/fix/yank-pop
zle: don't override yank/yank-pop
2014-09-24 22:49:21 +02:00
Julien Nicoulaud 5320f1e18d Merge pull request #135 from arcan1s/patch-1
Update README.md
2014-01-15 04:15:52 -08:00
Julien Nicoulaud c83e266888 #110: Now using :A modifier, bump zsh version requirement 2013-12-24 12:40:35 +01:00
Julien Nicoulaud 072c064d2a Merge pull request #110 from xaocon/master
small change to find highlighting directory better
2013-12-24 03:39:37 -08:00
Julien Nicoulaud f289a9f8e7 Merge pull request #125 from acatton/fix-121
Fix #121: sudo syntax highlighting incorrectly
2013-11-19 11:42:03 -08:00
Julien Nicoulaud 8ac964186d Merge pull request #131 from MarkLodato/array-assignments
Properly highlight array assignments
2013-11-19 11:40:29 -08:00
Julien Nicoulaud ffce2a0b20 Merge pull request #133 from lucc/master
protect alias expansion from interpreting aliases as options
2013-11-19 11:39:40 -08:00
Julien Nicoulaud 63a720af9b Merge pull request #128 from knu/patch-1
Do not leak a variable: cdpath_dir.
2013-11-19 11:38:50 -08:00
Julien Nicoulaud dbd27cb30a #155: document path_prefix/path_approx 2013-08-09 09:56:28 +02:00
Julien Nicoulaud 08b80022ca Merge pull request #123 from Shura0/master
Highlighted dollar variable ver. 2
2013-08-09 00:47:32 -07:00
Julien Nicoulaud 3677b75731 Merge pull request #115 from Valodim/master
add separate path_prefix and path_approx hilights
2013-08-08 07:31:46 -07:00
Julien Nicoulaud 3f2c76f393 Merge pull request #116 from jameskyle/feature/Issue-#92-silence-system-bell-in-osx
Issue #92 Eliminates system bell errors on osx.
2013-08-08 07:26:22 -07:00
Julien Nicoulaud 6fcdb06b28 Merge pull request #122 from shockone/master
Update main-highlighter.zsh
2013-08-08 07:25:54 -07:00
Julien Nicoulaud e5d8a50d36 Merge pull request #106 from cknadler/master
Fix relative links in various project readmes
2013-02-27 04:42:09 -08:00
Julien Nicoulaud a0862053f5 Merge pull request #100 from hchbaw/for-nicoulaj/pattern-local
make $pattern local to _zsh_highlight_pattern_highlighter #97
2012-12-19 10:30:06 -08:00
Julien Nicoulaud 45194671af Merge pull request #91 from xaocon/master
Added sudo as a precommand
2012-08-26 03:33:34 -07:00
Julien Nicoulaud bb0d575942 Merge pull request #85 from jlporter/master
resolve issue #83
2011-12-03 10:38:53 -08:00
Julien Nicoulaud 30c365e030 Add links to Arch Linux and Gentoo packages
(Anyone knowing packages for other systems or wanting to create it,
please get in touch!)
2011-12-03 19:36:25 +01:00
Julien Nicoulaud 2c5c38144d close #84 2011-12-03 19:26:46 +01:00
Julien Nicoulaud d2715e2cb3 Merge pull request #82 from garinger/feature
make highlighting work for first entry in history. fixes #79
2011-09-28 10:04:07 -07:00
Julien Nicoulaud f824e5e84d Options should only be set locally 2011-09-24 14:42:55 +02:00
Julien Nicoulaud 8d4cde6301 (Hopefully) fix #21 (tilde and hashed directories in paths) 2011-09-20 19:13:37 +02:00
Julien Nicoulaud db8f98fc53 Set default style for pipes and stuff to none 2011-09-20 19:13:37 +02:00
Julien Nicoulaud cbfd4a8889 Merge pull request #75 from garinger/master
supposed fix for issue #73 and issue #74
2011-09-09 08:22:00 -07:00
Julien Nicoulaud f786e9977c Merge pull request #71 from hchbaw/for-nicoulaj/nounset
make _zsh_highlight nounset-able
2011-09-06 10:23:24 -07:00
Julien Nicoulaud a6d105131c Fix #21: No highlighting when using tilde 2011-09-06 19:21:40 +02:00
Julien Nicoulaud d8fe211aed Ignore zwc files 2011-09-06 19:15:09 +02:00
Julien Nicoulaud 26f30697ea Merge pull request #69 from garinger/master
Minor fixes
2011-08-08 10:54:23 -07:00
Julien Nicoulaud 4e0749dd83 Merge pull request #68 from garinger/master
test data for bracket highlighter
2011-08-05 08:16:50 -07:00
Julien Nicoulaud 3c82e872ad Merge pull request #66 from simonair/master
Add ` || true ' to last line of init script to guarantee zero exit code when sourcing multiple times
2011-08-03 05:42:50 -07:00
Julien Nicoulaud 186d80054a Fix #65, sourcing the script multiples times should not cause issues anymore 2011-08-02 20:25:49 +02:00
Julien Nicoulaud 0e331cd654 Isolate setup code in functions to ease messing with zsh-syntax-highlighting 2011-07-31 17:59:55 +02:00
Julien Nicoulaud 5003fa7c9b We don't need this hook as we have already bound every widget we could find (stop me if I'm wrong) 2011-07-31 17:14:56 +02:00
Julien Nicoulaud 08dae96eb1 Add highlighter triggered when the user is root 2011-07-27 00:37:33 +02:00
Julien Nicoulaud 11de634b33 Add cursor highlighter 2011-07-27 00:13:41 +02:00
Julien Nicoulaud 4ff08dcfa6 Fix #53: Prefix all defined functions with _zsh_highlight 2011-07-26 23:16:52 +02:00
Julien Nicoulaud 776453cb5b Fix #46: Conflict with url-quote-magic 2011-07-26 22:50:53 +02:00
Julien Nicoulaud 3b27ad778d More efficient way to strip leading dot 2011-07-25 22:30:06 +02:00
Julien Nicoulaud 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 2011-07-25 22:08:29 +02:00
Julien Nicoulaud 8b7a6bd24d Add @garinger to the list of contributors 2011-07-25 22:06:24 +02:00
Julien Nicoulaud d5cceb2c34 Merge pull request #64 from Valodim/master
don't highlight anymore for long lines
2011-07-25 12:52:47 -07:00
Julien Nicoulaud 8ebce17a11 Merge pull request #63 from garinger/master
Fix for Issue #36 "Brackets of different types matched"
2011-07-21 03:45:51 -07:00
Julien Nicoulaud a18e43d059 Fix README links 2011-07-21 12:45:21 +02:00
Julien Nicoulaud eb749f2681 Merge pull request #62 from garinger/master
Fix for Issue #35 "Unclosed brackets not marked as error"
2011-07-08 08:30:04 -07:00
Julien Nicoulaud 9e75ca0e76 Add @tednaleid to the list of contributors 2011-06-30 20:11:38 +02:00
Julien Nicoulaud 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`
2011-06-30 20:08:43 +02:00
Julien Nicoulaud df2fe2a97d Merge pull request #61 from tednaleid/master
Error: "unrecognized modifier 'A'" on startup for zsh 4.3.9 on OSX
2011-06-30 11:05:48 -07:00
Julien Nicoulaud e04f6ab862 Safety checks before looking up cursor position 2011-06-17 12:36:07 +02:00
Julien Nicoulaud f6af27b8a6 More reliable way to hook precmd 2011-06-17 12:35:26 +02:00
Julien Nicoulaud 52bdb56fdb Merge pull request #57 from guidovansteen/patch-1
Much easier and less error prone way to start highlighting immediately af
2011-06-17 02:27:49 -07:00
Julien Nicoulaud bf4fe1f228 Another README link fix 2011-06-16 14:56:55 +02:00
Julien Nicoulaud 1435868740 Another README link fix 2011-06-16 14:54:47 +02:00
Julien Nicoulaud e7d7ccfe35 Group if statements in f26310d97e 2011-06-16 14:54:24 +02:00
Julien Nicoulaud ef4f5ed638 Fix READMEs 2011-06-12 23:16:41 +02:00
Julien Nicoulaud bb7fcb79fa Fix #56: tolerance to WARN_GLOBAL option 2011-06-12 23:09:59 +02:00
Julien Nicoulaud 55e6a85fbb Merge branch 'master' of github.com:nicoulaj/zsh-syntax-highlighting
Conflicts:
	zsh-syntax-highlighting.zsh
2011-06-12 23:04:33 +02:00
Julien Nicoulaud 0772ddd346 Big refactoring.
* Don't override user defined styles
* Better modularisation of highlighters
* Allow to define which highlighters are activated
* Allow to define the order in which they are defined
* Minor performance optimizations
* Fixed some variables leak
* Improve documentation
* Brackets highlighter: use ZSH_HIGHLIGHT_STYLES instead of a specific array
2011-06-12 22:57:14 +02:00
Julien Nicoulaud 19f16752bb Issue 49: Don't use readlink, options differ between systems
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-03-02 00:34:12 +01:00
Julien Nicoulaud bc788f3f19 Start splitting highlighters to separate files.
The script still works on its own, highlighters in highlighters/ are
loaded as addons if present.

Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-17 23:41:01 +01:00
Julien Nicoulaud 2f0fb81af4 More efficient way to look for elements in arrays
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-17 22:27:31 +01:00
Julien Nicoulaud 3abf463753 More code style fixes
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-17 21:02:23 +01:00
Julien Nicoulaud 2670c93e05 Make sure functions names match _zsh_highlight_*
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-17 20:58:22 +01:00
Julien Nicoulaud dd84bff854 Code style
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-17 19:51:07 +01:00
Julien Nicoulaud 6879d3c29f Issue 47: Removing styling of 'isearch' and 'special', as it has no effect
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-17 19:31:20 +01:00
Julien Nicoulaud e1479022a0 Merge branch 'hchbaw-for-nicoulaj' 2011-02-17 19:20:32 +01:00
Julien Nicoulaud 69e7442e4d Add nakamuray to the list of contributors
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-16 22:42:18 +01:00
Julien Nicoulaud fdc113996e Merge branch 'highlight-assignment' of https://github.com/nakamuray/zsh-syntax-highlighting into nakamuray-highlight-assignment 2011-02-16 22:39:45 +01:00
Julien Nicoulaud d66b15aeb0 Fix contributor URL
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-13 09:57:36 +01:00
Julien Nicoulaud 93c9e6a753 Split off contributors list to a separate file
Markdown for everyone

Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-01 21:07:00 +01:00
Julien Nicoulaud ca79a5f65a Fix fish shell URL
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-01 21:02:45 +01:00
Julien Nicoulaud 78ff61eddc Fix typo
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-02-01 21:01:37 +01:00
Julien Nicoulaud ea792cbf87 Add a mechanism for testing the correctness of the highlighting.
Feel free to add more test data !

Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-01-10 23:46:27 +01:00
Julien Nicoulaud e162de6f51 Add BSD license
(http://www.zsh.org/mla/users//2011/msg00030.html)

Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-01-10 10:11:35 +01:00
Julien Nicoulaud 0392fdc46a Issue 34: Do not highlight non commands as commands.
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-01-08 18:03:52 +01:00
Julien Nicoulaud 50b612cec4 Merge branch 'celtic-master' 2011-01-08 13:09:56 +01:00
Julien Nicoulaud 678245bd63 Add stillmaintained badge
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
2011-01-08 13:08:02 +01:00
Julien Nicoulaud f962bdf1e7 Fix regression 2011-01-06 23:28:41 +01:00
Julien Nicoulaud 0b0b09de64 Fix absolute path in symlink 2011-01-06 23:26:24 +01:00
Julien Nicoulaud 9d63573e4e Issue 30: Add a test script to watch performance 2011-01-06 23:23:29 +01:00