diff --git a/zsh/.zsh/zsh-syntax/.editorconfig b/zsh/.zsh/zsh-syntax/.editorconfig

deleted file mode 100644

index cda541d5acab4ac733d7a51207b5cb507c905984..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/.editorconfig

+++ /dev/null

@@ -1,15 +0,0 @@

-# Top-most editorconfig file

-root = true

-[*]

-end_of_line = lf

-tab_width = 2

-indent_size = 2

-indent_style = space

-[Makefile]

-tab_width = 8

-indent_size = 8

-indent_style = tab

diff --git a/zsh/.zsh/zsh-syntax/.gitattributes b/zsh/.zsh/zsh-syntax/.gitattributes

deleted file mode 100644

index 715e624b30ab74162dbeac1b6f92feecef8d691f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/.gitattributes

+++ /dev/null

@@ -1 +0,0 @@

-.revision-hash export-subst

diff --git a/zsh/.zsh/zsh-syntax/.github/workflows/test.yml b/zsh/.zsh/zsh-syntax/.github/workflows/test.yml

deleted file mode 100644

index 8221926855ae446b20f971a23fe592e18d0c2c64..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/.github/workflows/test.yml

+++ /dev/null

@@ -1,73 +0,0 @@


-name: Tests

-on:

-jobs:

diff --git a/zsh/.zsh/zsh-syntax/.gitignore b/zsh/.zsh/zsh-syntax/.gitignore

deleted file mode 100644

index 18fa5eca4fc8c581e7cd0f084a56a45a3b4e232d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/.gitignore

+++ /dev/null

@@ -1,3 +0,0 @@

-.zwc

-.pc/

-docs/all.md

diff --git a/zsh/.zsh/zsh-syntax/.revision-hash b/zsh/.zsh/zsh-syntax/.revision-hash

deleted file mode 100644

index 6828f88dcb0e88b8cd738ad6044ce74d7a9a13c8..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/.revision-hash

+++ /dev/null

@@ -1 +0,0 @@

-$Format:%H$

diff --git a/zsh/.zsh/zsh-syntax/.version b/zsh/.zsh/zsh-syntax/.version

deleted file mode 100644

index 9fb121097034f65d02e58be2735f601d086b6c06..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/.version

+++ /dev/null

@@ -1 +0,0 @@

-0.8.0-alpha2-dev

diff --git a/zsh/.zsh/zsh-syntax/COPYING.md b/zsh/.zsh/zsh-syntax/COPYING.md

deleted file mode 100644

index cacbcbee0cb5a43dff25bd734a27c663df6b3740..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/COPYING.md

+++ /dev/null

@@ -1,23 +0,0 @@

-Copyright (c) 2010-2020 zsh-syntax-highlighting contributors

-All rights reserved.

-Redistribution and use in source and binary forms, with or without modification, are permitted

-provided that the following conditions are met:

-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

diff --git a/zsh/.zsh/zsh-syntax/HACKING.md b/zsh/.zsh/zsh-syntax/HACKING.md

deleted file mode 100644

index 6fd195c0af1b729b0fe70d07787008dc8279461d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/HACKING.md

+++ /dev/null

@@ -1,99 +0,0 @@

-Hacking on zsh-syntax-highlighting itself

-=========================================

-This document includes information for people working on z-sy-h itself: on the

-core driver (zsh-syntax-highlighting.zsh), on the highlighters in the

-distribution, and on the test suite. It does not target third-party

-highlighter authors (although they may find it an interesting read).

-The main highlighter


-The following function pz is useful when working on the main highlighting:

-```zsh

-pq() {

-}

-pz() {

-}

-```

-It prints, for each argument, its token breakdown, similar to how the main

-loop of the main highlighter sees it.

-Testing the brackets highlighter


-Since the test harness empties ZSH_HIGHLIGHT_STYLES and the brackets

-highlighter interrogates ZSH_HIGHLIGHT_STYLES to determine how to highlight,

-tests must set the bracket-level-# keys themselves. For example:

-```zsh

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-BUFFER='echo ({x})'

-expected_region_highlight=(

-)

-```

-Testing the pattern and regexp highlighters


-Because the pattern and regexp highlighters modifies region_highlight

-directly instead of using _zsh_highlight_add_highlight, the test harness

-cannot get the ZSH_HIGHLIGHT_STYLES keys. Therefore, when writing tests, use

-the style itself as third word (cf. the

-documentation for expected_region_highlight). For example:

-```zsh

-ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')

-BUFFER='rm -rf /'

-expected_region_highlight=(

-)

-```

-Memos and commas


-We append to region_highlight as follows:

-```zsh

-region_highlight+=("$start $end $spec, memo=zsh-syntax-highlighting")

-```

-That comma is required to cause zsh 5.8 and older to ignore the memo without

-ignoring the $spec. It's a hack, but given that no further 5.8.x patch

-releases are planned, it's been deemed acceptable. See issue #418 and the

-cross-referenced issues.

-Miscellany


-If you work on the driver (zsh-syntax-highlighting.zsh), you may find the following zstyle useful:

-```zsh

-zstyle ':completion:::::globbed-files' ignored-patterns {'*/',}zsh-syntax-highlighting.plugin.zsh

-```

-IRC channel


-We're on #zsh-syntax-highlighting on freenode.

diff --git a/zsh/.zsh/zsh-syntax/INSTALL.md b/zsh/.zsh/zsh-syntax/INSTALL.md

deleted file mode 100644

index 48b724f5519358755d637fed8a06bf34c99742d1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/INSTALL.md

+++ /dev/null

@@ -1,131 +0,0 @@

-How to install


-### Using packages

-* Arch Linux: [community/zsh-syntax-highlighting][arch-package] / [AUR/zsh-syntax-highlighting-git][AUR-package]

-* Debian: zsh-syntax-highlighting package [in stretch][debian-package] (or in [OBS repository][obs-repository])

-* Fedora: [zsh-syntax-highlighting package][fedora-package-alt] in Fedora 24+ (or in [OBS repository][obs-repository])

-* FreeBSD: pkg install zsh-syntax-highlighting (port name: [shells/zsh-syntax-highlighting][freebsd-port])

-* Gentoo: [app-shells/zsh-syntax-highlighting][gentoo-repository]

-* Mac OS X / Homebrew: [brew install zsh-syntax-highlighting][brew-package]

-* NetBSD: pkg_add zsh-syntax-highlighting (port name: [shells/zsh-syntax-highlighting][netbsd-port])

-* OpenBSD: pkg_add zsh-syntax-highlighting (port name: [shells/zsh-syntax-highlighting][openbsd-port])

-* openSUSE / SLE: zsh-syntax-highlighting package in [OBS repository][obs-repository]

-* RHEL / CentOS / Scientific Linux: zsh-syntax-highlighting package in [OBS repository][obs-repository]

-* Ubuntu: zsh-syntax-highlighting package [in Xenial][ubuntu-package] (or in [OBS repository][obs-repository])

-* Void Linux: zsh-syntax-highlighting package [in XBPS][void-package]

-[arch-package]: https://www.archlinux.org/packages/zsh-syntax-highlighting

-[AUR-package]: https://aur.archlinux.org/packages/zsh-syntax-highlighting-git

-[brew-package]: https://github.com/Homebrew/homebrew-core/blob/master/Formula/zsh-syntax-highlighting.rb

-[debian-package]: https://packages.debian.org/zsh-syntax-highlighting

-[fedora-package]: https://apps.fedoraproject.org/packages/zsh-syntax-highlighting

-[fedora-package-alt]: https://bodhi.fedoraproject.org/updates/?packages=zsh-syntax-highlighting

-[freebsd-port]: http://www.freshports.org/textproc/zsh-syntax-highlighting/

-[gentoo-repository]: https://packages.gentoo.org/packages/app-shells/zsh-syntax-highlighting

-[netbsd-port]: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/shells/zsh-syntax-highlighting/

-[obs-repository]: https://software.opensuse.org/download.html?project=shells%3Azsh-users%3Azsh-syntax-highlighting&package=zsh-syntax-highlighting

-[openbsd-port]: https://cvsweb.openbsd.org/ports/shells/zsh-syntax-highlighting/

-[ubuntu-package]: https://launchpad.net/ubuntu/+source/zsh-syntax-highlighting

-[void-package]: https://github.com/void-linux/void-packages/tree/master/srcpkgs/zsh-syntax-highlighting

-See also repology's cross-distro index

-### In your ~/.zshrc

-Simply clone this repository and source the script:

-```zsh

-git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

-echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

-```

-```zsh

-source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

-```

-```

-https://github.com/zsh-users/zsh-syntax-highlighting/archive/master.tar.gz

-```

-### With a plugin manager

-Note that zsh-syntax-highlighting must be the last plugin sourced.

-The zsh-syntax-highlighting authors recommend manual installation over the use

-of a framework or plugin manager.

-This list is incomplete as there are too many

-[frameworks / plugin managers][framework-list] to list them all here.

-[framework-list]: https://github.com/unixorn/awesome-zsh-plugins#frameworks

-#### Antigen

-Add antigen bundle zsh-users/zsh-syntax-highlighting as the last bundle in

-your .zshrc.

-#### Oh-my-zsh

-1. Clone this repository in oh-my-zsh's plugins directory:

-2. Activate the plugin in ~/.zshrc:

-3. Restart zsh (such as by opening a new instance of your terminal emulator).

-#### Prezto

-Zsh-syntax-highlighting is included with Prezto. See the

-[Prezto documentation][prezto-docs] to enable and configure highlighters.

-[prezto-docs]: https://github.com/sorin-ionescu/prezto/tree/master/modules/syntax-highlighting

-#### zgen

-Add zgen load zsh-users/zsh-syntax-highlighting to the end of your .zshrc.

-#### zplug

-Add zplug "zsh-users/zsh-syntax-highlighting", defer:2 to your .zshrc.

-#### zplugin

-Add zplugin load zsh-users/zsh-syntax-highlighting to the end of your

-.zshrc.

-### System-wide installation

-Any of the above methods is suitable for a single-user installation,

-which requires no special privileges. If, however, you desire to install

-zsh-syntax-highlighting system-wide, you may do so by running

-```zsh

-make install

-```

-and directing your users to add

-```zsh

-source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

-```

-to their .zshrcs.

diff --git a/zsh/.zsh/zsh-syntax/Makefile b/zsh/.zsh/zsh-syntax/Makefile

deleted file mode 100644

index bbc1d439157c12a0cc4b4dfff19650d4b4a59599..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/Makefile

+++ /dev/null

@@ -1,64 +0,0 @@

-NAME=zsh-syntax-highlighting

-INSTALL?=install -c

-PREFIX?=/usr/local

-SHARE_DIR?=$(DESTDIR)$(PREFIX)/share/$(NAME)

-DOC_DIR?=$(DESTDIR)$(PREFIX)/share/doc/$(NAME)

-ZSH?=zsh # zsh binary to run tests with

-all:

-install: all

-# The [ -e ] check below is to because sh evaluates this with (the moral

-# equivalent of) NONOMATCH in effect, and highlighters/*.zsh has no matches.

-clean:

-test:

-quiet-test:

-perf:

-.PHONY: all install clean test perf

diff --git a/zsh/.zsh/zsh-syntax/README.md b/zsh/.zsh/zsh-syntax/README.md

deleted file mode 100644

index 482a6481651a998411c8663395c3d6cf6e886750..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/README.md

+++ /dev/null

@@ -1,97 +0,0 @@

-zsh-syntax-highlighting [![Build Status][build-status-image]][build-status]

-=======================

-[Fish shell][fish]-like syntax highlighting for [Zsh][zsh].

-Requirements: zsh 4.3.11+.

-[fish]: https://fishshell.com/

-[zsh]: https://www.zsh.org/

-This package provides syntax highlighting for the shell zsh. It enables

-highlighting of commands whilst they are typed at a zsh prompt into an

-interactive terminal. This helps in reviewing commands before running

-them, particularly in catching syntax errors.

-Some examples:

-Before: Screenshot #1.1

-

-After:  Screenshot #1.2

-Before: Screenshot #2.1

-

-After:  Screenshot #2.2

-Before: Screenshot #3.1

-

-After:  Screenshot #3.2

-Before: Screenshot #4.1

-

-After:  Screenshot #4.2

-How to install


-See INSTALL.md.

-FAQ


-### Why must zsh-syntax-highlighting.zsh be sourced at the end of the .zshrc file?

-zsh-syntax-highlighting works by hooking into the Zsh Line Editor (ZLE) and

-computing syntax highlighting for the command-line buffer as it stands at the

-time z-sy-h's hook is invoked.

-In zsh 5.2 and older,

-zsh-syntax-highlighting.zsh hooks into ZLE by wrapping ZLE widgets. It must

-be sourced after all custom widgets have been created (i.e., after all zle -N

-calls and after running compinit) in order to be able to wrap all of them.

-Widgets created after z-sy-h is sourced will work, but will not update the

-syntax highlighting.

-In zsh newer than 5.8 (not including 5.8 itself),

-zsh-syntax-highlighting uses the add-zle-hook-widget facility to install

-a zle-line-pre-redraw hook. Hooks are run in order of registration,

-therefore, z-sy-h must be sourced (and register its hook) after anything else

-that adds hooks that modify the command-line buffer.

-### Does syntax highlighting work during incremental history search?

-Highlighting the command line during an incremental history search (by default bound to

-to Ctrl+R in zsh's emacs keymap) requires zsh 5.4 or newer.

-Under zsh versions older than 5.4, the zsh-default [underlining][zshzle-Character-Highlighting]

-of the matched portion of the buffer remains available, but zsh-syntax-highlighting's

-additional highlighting is unavailable. (Those versions of zsh do not provide

-enough information to allow computing the highlighting correctly.)

-See issues [#288][i288] and [#415][i415] for details.

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

-[i288]: https://github.com/zsh-users/zsh-syntax-highlighting/pull/288

-[i415]: https://github.com/zsh-users/zsh-syntax-highlighting/pull/415

-### How are new releases announced?

-There is currently no "push" announcements channel. However, the following

-alternatives exist:

-- GitHub's RSS feed of releases: https://github.com/zsh-users/zsh-syntax-highlighting/releases.atom

-- An anitya entry: https://release-monitoring.org/project/7552/

-How to tweak


-Syntax highlighting is done by pluggable highlighter scripts. See the

-documentation on highlighters for details and

-configuration settings.

-[build-status]: https://github.com/zsh-users/zsh-syntax-highlighting/actions

-[build-status-image]: https://github.com/zsh-users/zsh-syntax-highlighting/workflows/Tests/badge.svg

diff --git a/zsh/.zsh/zsh-syntax/changelog.md b/zsh/.zsh/zsh-syntax/changelog.md

deleted file mode 100644

index 9230236615ac9bef2abe49662c69e52ba97c7685..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/changelog.md

+++ /dev/null

@@ -1,884 +0,0 @@

-# Changes in HEAD

-## Changes fixed as part of the switch to zle-line-pre-redraw

-The changes in this section were fixed by switching to a zle-line-pre-redraw-based

-implementation.

-Note: The new implementation will only be used on future zsh releases,

-numbered 5.8.0.3 and newer, due to interoperability issues with other plugins

-(issues #418 and #579). The underlying zsh feature has been available since

-zsh 5.2.

-Whilst under development, the new implementation was known as the

-"feature/redrawhook" topic branch.

-- Fixed: Highlighting not triggered after popping a buffer from the buffer stack

-- Fixed: Invoking completion when there were no matches removed highlighting

-- Fixed: Two successive deletes followed by a yank only yanked the latest

-- Presumed fixed: Completing $(xsel) results in an error message from xsel,

-- Fixed: When the standard bracketed-paste-magic widget is in use, pastes were slow

-- Fixed: No way to prevent a widget from being wrapped

-- Fixed: No highlighting while cycling menu completion

-- Fixed: Does not coexist with the IGNORE_EOF option

-- Fixed: The undefined-key widget was wrapped

-- Fixed: Does not coexist with the standard surround family of widgets

-- Fixed: First completed filename doesn't get path highlighting

-## Other changes

-- Add issue #712 to the previous release's changelog (hereinafter).

-# Changes in 0.8.0-alpha1-pre-redrawhook

-## Notice about an improbable-but-not-impossible forward incompatibility

-Everyone can probably skip this section.

-The master branch of zsh-syntax-highlighting uses a zsh feature that has not

-yet appeared in a zsh release: the memo= feature, added to zsh in commit

-zsh-5.8-172-gdd6e702ee (after zsh 5.8, before zsh 5.9). In the unlikely event

-that this zsh feature should change in an incompatible way before the next

-stable zsh release, set zsh_highlight__memo_feature=0 in your .zshrc files to

-disable use of the new feature.

-z-sy-h dogfoods the new, unreleased zsh feature because that feature was

-added to zsh at z-sy-h's initiative. The new feature is used in the fix

-to issue #418.

-## Incompatible changes:

-- An unsuccessful completion (a ⮀ Tab press that doesn't change the

-[zshcompsys-Standard-Styles]: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#Standard-Styles

-[zshcompsys-Standard-Styles-format]: http://zsh.sourceforge.net/Doc/Release/Completion-System.html#index-format_002c-completion-style

-## Other changes:

-- Document $ZSH_HIGHLIGHT_MAXLENGTH.

-- Optimize highlighting unquoted words (words that are not in single quotes, double quotes, backticks, or dollar-single-quotes)

-- Redirection operators (e.g., < and >) are now highlighted by default

-- Propertly terminate noglob scope in try/always blocks

-- Don't error out when KSH_ARRAYS is set in the calling scope

-- Literal semicolons in array assignments (foo=( bar ; baz )) are now

-- Command separators in array assignments (foo=( bar | baz )) are now

-- Support parameter elision in command position (e.g., $foo ls where $foo is unset or empty)

-- Don't consider the filename in sudo -e /path/to/file to be a command position

-- Don't look up absolute directory names in $cdpath

-- Fix exec 2>&1; being highlighted as an error.

-- Fix : $(<*) being highlighted as globbing.

-- Fix cat < * being highlighting as globbing when the MULTIOS option is unset.

-- Fix echo >&2 highlighting the 2 as a filename if a file by that name happened to exist

-- Fix echo >&- highlighting the - as a filename if a file by that name happened to exist

-- Fix echo >&p highlighting the p as a filename if a file by that name happened to exist

-- Fix wrong highlighting of unquoted parameter expansions under zsh 5.2 and older

-- Highlight global aliases

-- Highlight : =nosuchcommand' as an error (when the EQUALS` option hasn't been unset).

-- Highlight reserved word after assignments as errors (e.g., foo=bar (ls;))

-- Correctly highlight [[ foo && bar || baz ]].

-- Highlight non-executable files in command position correctly (e.g., % /etc/passwd)

-- Highlight directories in command position correctly, including AUTO_CD support

-- Recognize env as a precommand (e.g., env FOO=bar ls)

-- Recognize strace as a precommand

-- Fix an error message on stderr before every prompt when the WARN_NESTED_VAR zsh option is set:

-- Fix highlighting of alias whose definitions use a simple command terminator

-- Highlight arithmetic expansions (e.g., $(( 42 )))

-- Highlight the parentheses of array assignments as reserved words (foo=( bar )).

-- Fix interoperability issue with other plugins that use highlighting. The fix

-- Improve performance of the brackets highlighter.

-- Fix highlighting of pre-command redirections (e.g., the $fn in <$fn cat)

-# Changes in version 0.7.1

-- Remove out-of-date information from the 0.7.0 changelog.

-# Changes in version 0.7.0

-This is a stable bugfix and feature release. Major new features and changes include:

-- Add ZSH_HIGHLIGHT_DIRS_BLACKLIST to disable "path" and "path prefix"

-- Add the "regexp" highlighter, modelled after the pattern highlighter

-- When a word uses globbing, only the globbing metacharacters will be highlighted as globbing:

-- Highlight pasted quotes (e.g., : foo"bar")

-- Highlight command substitutions (: `ls`, : $(ls))

-- Highlight process substitutions (: >(nl), : <(pwd), : =(git diff))

-- Highlight command substitutions inside double quotes (: "`foo`")

-- Highlight many precommands (e.g., nice, stdbuf, eatmydata;

-- Highlight numeric globs (e.g., echo /lib<->)

-- Assorted improvements to aliases highlighting

-- Highlight some more syntax errors

-- New styles: named file descriptors, RC_QUOTES, and unclosed quotes (e.g., echo "foo<CURSOR>)

-- The 'brackets' highlighting no longer treats quotes specially.

-Selected bugfixes include:

-- Highlight sudo correctly when it's not installed

-- Handle some non-default options being set in zshrc

-- Fix off-by-one highlighting in vi "visual" mode (vicmd keymap)

-- The 'yank-pop' widget is not wrapped

-Known issues include:

-- A multiline alias that uses a simple command terminator (such as ;, |, &&)

-# Changes in version 0.6.0

-This is a stable release, featuring bugfixes and minor improvements.

-## Performance improvements:

-(none)

-## Added highlighting of:

-- The isearch and suffix [$zle_highlight settings][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

-- Possible history expansions in double-quoted strings.

-- Mismatched if/then/elif/else/fi.

-## Fixed highlighting of:

-- A comment line followed by a non-comment line.

-- An unquoted $* (expands to the positional parameters).

-- history-incremental-pattern-search-backward under zsh 5.3.1.

-## API changes (for highlighter authors):

-(none)

-## Developer-visible changes:

-- tests: Set the ALIAS_FUNC_DEF option for zsh 5.4 compatibility.

-## Other changes:

-- docs: Added before/after screenshots.

-- docs: Link Fedora package.

-- docs: Link FreeBSD port.

-- docs: Link OpenSUSE Build Service packages

-- Prevent user-defined aliases from taking effect in z-sy-h's own code.

-- docs: Update zplug installation instructions.

-- Improve "unhandled ZLE widget 'foo'" error message.

-- Fix printing of "failed loading highlighters" error message.

-# Changes in version 0.5.0

-## Performance improvements:

-We thank Sebastian Gniazdowski and "m0viefreak" for significant contributions

-in this area.

-- Optimize string operations in the main (default) highlighter.

-- Command word highlighting: Use the zsh/parameter module to avoid forks.

-- Avoid forks in the driver and in the root highlighter.

-## Added highlighting of:

-- pkexec (a precommand).

-- Aliases that cannot be defined normally nor invoked normally (highlighted as an error).

-- Path separators (/) — the default behaviour remains to highlight path separators

-- Assignments to individual positional arguments (42=foo to assign to $42).

-- Linewise region (the visual-line-mode widget, bound to V in zsh's vi keymap).

-- Command-lines recalled by isearch mode; requires zsh≥5.3.

-- Command-lines whilst the IGNORE_BRACES or IGNORE_CLOSE_BRACES option is in effect.

-- Mismatched parentheses and braces (in the main highlighter).

-- Mismatched do/done keywords.

-- Mismatched foreach/end keywords.

-- In Bourne-style function definitions, when the MULTI_FUNC_DEF option is set

-- always blocks.

-- Command substitutions inside double quotes, "$(echo foo)".

-- Non-alphabetic parameters inside double quotes ("$$", "$#", "$*", "$@", "$?", "$-").

-- Command words from future versions of zsh (forward compatibly).

-- Escaped history expansions inside double quotes: : "\!"

-## Fixed highlighting of:

-- Command separator tokens in syntactically-invalid positions.

-- Redirections with a file descriptor number at command word.

-- The select prompt, $PS3.

-- Values of variables in vared.

-- ! as an argument (neither a history expansion nor a reserved word).

-- "division by zero" error under the brackets highlighter when $ZSH_HIGHLIGHT_STYLES is empty.

-- Process substitutions, <(pwd) and >(wc -l).

-- The non-SHORT_LOOPS form of repeat loops: repeat 42; do true; done.

-- Broken symlinks (are now highlighted as files).

-- Lines accepted from isearch mode.

-- Work around upstream bug that triggered when the command word was a relative

-- After accepting a line with the cursor on a bracket, the matching bracket

-- The first word on a new line within an array assignment or initialization is no

-- Subshells that end at command position, (A=42), (true;).

-- Command word after array assignment, a=(lorem ipsum) pwd.

-## API changes (for highlighter authors):

-- New interface _zsh_highlight_add_highlight.

-- tests: Specify the style key, not its value, in test expectations.

-- Module author documentation improvements.

-- The driver no longer defines a _zsh_highlight_${highlighter}_highlighter_cache

-- Rename highlighter entry points. The old names remain supported for

-- tests: Add the "NONE" expectation.

-- tests: consider a test that writes to stderr to have failed.

-## Developer-visible changes:

-- Add make quiet-test.

-- test harness: Better quote replaceables in error messages.

-- test harness: Fix exit code for XPASS.

-- Create HACKING.md.

-- tests: Emit a description for PASS test points.

-- tests: Create a script that generates a test file.

-## Other changes:

-- Under zsh≤5.2, widgets whose names start with a _ are no longer excluded

-- Under zsh≤5.2, widgets implemented by a function named after the widget are

-- Under zsh≤5.2, shell-unsafe widget names can now be wrapped.

-- Correct some test expectations.

-- zsh-syntax-highlighting.plugin.zsh: Convert from symlink to plain file

-- Document installation under some plugin managers.

-- Don't leak the PATH_DIRS option.

-- Don't require the FUNCTION_ARGZERO option to be set.

-- Under zsh≤5.2, support binding incomplete/nonexistent widgets.

-- Make the driver reentrant, fixing possibility of infinite recursion

-- Fix warnings when WARN_CREATE_GLOBAL is set prior to sourcing zsh-syntax-highlighting.

-- Warn only once, rather than once per keypress, when a highlighter is unavailable.

-# Changes in version 0.4.1

-## Fixes:

-- Arguments to widgets were not properly dash-escaped. Only matters for widgets

-# Changes in version 0.4.0

-## Added highlighting of:

-- incomplete sudo commands

-- command words following reserved words

-- comments (when INTERACTIVE_COMMENTS is set)

-- closing brackets of arithmetic expansion, subshells, and blocks

-- command names enabled by the PATH_DIRS option

-- parameter expansions with braces inside double quotes

-- parameter expansions in command word

-- the command separators '|&', '&!', '&|'

-## Fixed highlighting of:

-- precommand modifiers at non-command-word position

-- sudo commands with infix redirections

-- subshells; anonymous functions

-- parameter assignment statements with no command

-- cursor highlighter: Remove the cursor highlighting when accepting a line.

-## Removed features:

-- Removed highlighting of approximate paths (path_approx).

-## Other changes:

-- main highlighter refactored to use states rather than booleans.

-- Fix initialization when sourcing zsh-syntax-highlighting.zsh via a symlink

-- docs: Add screenshot.

-- widgets wrapping: Don't add '--' when invoking widgets.

-- Refresh highlighting upon accept-* widgets (accept-line et al).

-- Stop leaking match/mbegin/mend to global scope (thanks to upstream

-- 'make install': Permit setting $(SHARE_DIR) from the environment.

-- driver: Tolerate KSH_ARRAYS being set in the calling context.

-- 'make install': Install documentation fully and properly.

-- docs: Improve 'main' highlighter's documentation.

-- docs: Moved to a new docs/ tree; assorted minor updates

-- docs: Split README.md into INSTALL.md

-- driver: Report $ZSH_HIGHLIGHT_REVISION when running from git

-## Developer-visible changes:

-- Test harness converted to TAP format

-- Run each test in a separate subprocess, isolating them from each other

-- Fix test failure with nonexisting $HOME

-- Test output is now colorized.

-- Document make install

-- tests: Allow specifying the zsh binary to use.

-- tests: Add 'make perf' target

-- tests: Run each test in a sandbox directory

-# Changes in version 0.3.0

-## Added highlighting of:

-- suffix aliases (requires zsh 5.1.1 or newer):

-- prefix redirections:

-- redirection operators:

-- arithmetic evaluations:

-- $'' strings, including \x/\octal/\u/\U escapes

-- multiline strings:

-- string literals that haven't been finished:

-- command words that involve tilde expansion:

-## Fixed highlighting of:

-- quoted command words:

-- backslash escapes in "" strings:

-- noglob after command separator:

-- glob after command separator, when the first command starts with 'noglob':

-- the region (vi visual mode / set-mark-command) (issue #165)

-- redirection and command separators that would be highlighted as path_approx

-- escaped globbing (outside quotes)

-## Other changes:

-- implemented compatibility with zsh's paste highlighting (issue #175)

-- $? propagated correctly to wrapped widgets

-- don't leak $REPLY into global scope

-## Developer-visible changes:

-- added makefile with install and test targets

-- set warn_create_global internally

-- document release process

-# Version 0.2.1

-(Start of changelog.)

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters.md b/zsh/.zsh/zsh-syntax/docs/highlighters.md

deleted file mode 100644

index bb72e5478d9a612af6dfe20a4442d108c0659b9b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters.md

+++ /dev/null

@@ -1,132 +0,0 @@

-zsh-syntax-highlighting / highlighters

-======================================

-Syntax highlighting is done by pluggable highlighters:

-* main - the base highlighter, and the only one [active by default][1].

-* brackets - [matches brackets][2] and parenthesis.

-* pattern - matches [user-defined patterns][3].

-* cursor - matches [the cursor position][4].

-* root - highlights the whole command line [if the current user is root][5].

-* line - applied to [the whole command line][6].

-[1]: highlighters/main.md

-[2]: highlighters/brackets.md

-[3]: highlighters/pattern.md

-[4]: highlighters/cursor.md

-[5]: highlighters/root.md

-[6]: highlighters/line.md

-Highlighter-independent settings


-By default, all command lines are highlighted. However, it is possible to

-prevent command lines longer than a fixed number of characters from being

-highlighted by setting the variable ${ZSH_HIGHLIGHT_MAXLENGTH} to the maximum

-length (in characters) of command lines to be highlighter. This is useful when

-editing very long comand lines (for example, with the [fned][fned] utility

-function). Example:

-[fned]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zed

-```zsh

-ZSH_HIGHLIGHT_MAXLENGTH=512

-```

-How to activate highlighters


-To activate an highlighter, add it to the ZSH_HIGHLIGHT_HIGHLIGHTERS array in

-~/.zshrc, for example:

-```zsh

-ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)

-```

-By default, $ZSH_HIGHLIGHT_HIGHLIGHTERS is unset and only the main

-highlighter is active.

-How to tweak highlighters


-Highlighters look up styles from the ZSH_HIGHLIGHT_STYLES associative array.

-Navigate into the individual highlighters' documentation to

-see what styles (keys) each highlighter defines; the syntax for values is the

-same as the syntax of "types of highlighting" of the zsh builtin

-$zle_highlight array, which is documented in [the zshzle(1) manual

-page][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

-Some highlighters support additional configuration parameters; see each

-highlighter's documentation for details and examples.

-How to implement a new highlighter


-To create your own acme highlighter:

-* Create your script at

-* Implement the _zsh_highlight_highlighter_acme_predicate function.

-* Implement the _zsh_highlight_highlighter_acme_paint function.

-* Name your own functions and global variables _zsh_highlight_acme_*.

-* Activate your highlighter in ~/.zshrc:

-* Write tests.

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/brackets.md b/zsh/.zsh/zsh-syntax/docs/highlighters/brackets.md

deleted file mode 100644

index 8410135eb3923fd3119e09e6a2509658a95a6471..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/brackets.md

+++ /dev/null

@@ -1,31 +0,0 @@

-zsh-syntax-highlighting / highlighters / brackets


-This is the brackets highlighter, that highlights brackets and parentheses, and

-matches them.

-### How to tweak it

-This highlighter defines the following styles:

-* bracket-error - unmatched brackets

-* bracket-level-N - brackets with nest level N

-* cursor-matchingbracket - the matching bracket, if cursor is on a bracket

-To override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES,

-for example in ~/.zshrc:

-```zsh

-# To define styles for nested brackets up to level 4

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=blue,bold'

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=red,bold'

-ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold'

-ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold'

-```

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/cursor.md b/zsh/.zsh/zsh-syntax/docs/highlighters/cursor.md

deleted file mode 100644

index c4f22b89d4d737cbbcff1b67b31798ca96c128b3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/cursor.md

+++ /dev/null

@@ -1,24 +0,0 @@

-zsh-syntax-highlighting / highlighters / cursor


-This is the cursor highlighter, that highlights the cursor.

-### How to tweak it

-This highlighter defines the following styles:

-* cursor - the style for the current cursor position

-To override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES,

-for example in ~/.zshrc:

-```zsh

-ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue'

-```

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/line.md b/zsh/.zsh/zsh-syntax/docs/highlighters/line.md

deleted file mode 100644

index 1081fe1ee239540bfb4c9020f349c4372d41db61..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/line.md

+++ /dev/null

@@ -1,24 +0,0 @@

-zsh-syntax-highlighting / highlighters / line


-This is the line highlighter, that highlights the whole line.

-### How to tweak it

-This highlighter defines the following styles:

-* line - the style for the whole line

-To override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES,

-for example in ~/.zshrc:

-```zsh

-ZSH_HIGHLIGHT_STYLES[line]='bold'

-```

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/main.md b/zsh/.zsh/zsh-syntax/docs/highlighters/main.md

deleted file mode 100644

index cc6186b41df80af8049955e7d1701e0ac989d7cb..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/main.md

+++ /dev/null

@@ -1,121 +0,0 @@

-zsh-syntax-highlighting / highlighters / main


-This is the main highlighter, that highlights:

-* Commands

-* Options

-* Arguments

-* Paths

-* Strings

-This highlighter is active by default.

-### How to tweak it

-This highlighter defines the following styles:

-* unknown-token - unknown tokens / errors

-* reserved-word - shell reserved words (if, for)

-* alias - aliases

-* suffix-alias - suffix aliases (requires zsh 5.1.1 or newer)

-* global-alias - global aliases

-* builtin - shell builtin commands (shift, pwd, zstyle)

-* function - function names

-* command - command names

-* precommand - precommand modifiers (e.g., noglob, builtin)

-* commandseparator - command separation tokens (;, &&)

-* hashed-command - hashed commands

-* autodirectory - a directory name in command position when the AUTO_CD option is set

-* path - existing filenames

-* path_pathseparator - path separators in filenames (/); if unset, path is used (default)

-* path_prefix - prefixes of existing filenames

-* path_prefix_pathseparator - path separators in prefixes of existing filenames (/); if unset, path_prefix is used (default)

-* globbing - globbing expressions (*.txt)

-* history-expansion - history expansion expressions (!foo and ^foo^bar)

-* command-substitution - command substitutions ($(echo foo))

-* command-substitution-unquoted - an unquoted command substitution ($(echo foo))

-* command-substitution-quoted - a quoted command substitution ("$(echo foo)")

-* command-substitution-delimiter - command substitution delimiters ($( and ))

-* command-substitution-delimiter-unquoted - an unquoted command substitution delimiters ($( and ))

-* command-substitution-delimiter-quoted - a quoted command substitution delimiters ("$( and )")

-* process-substitution - process substitutions (<(echo foo))

-* process-substitution-delimiter - process substitution delimiters (<( and ))

-* arithmetic-expansion - arithmetic expansion $(( 42 )))

-* single-hyphen-option - single-hyphen options (-o)

-* double-hyphen-option - double-hyphen options (--option)

-* back-quoted-argument - backtick command substitution (`foo`)

-* back-quoted-argument-unclosed - unclosed backtick command substitution (`foo)

-* back-quoted-argument-delimiter - backtick command substitution delimiters (`)

-* single-quoted-argument - single-quoted arguments ('foo')

-* single-quoted-argument-unclosed - unclosed single-quoted arguments ('foo)

-* double-quoted-argument - double-quoted arguments ("foo")

-* double-quoted-argument-unclosed - unclosed double-quoted arguments ("foo)

-* dollar-quoted-argument - dollar-quoted arguments ($'foo')

-* dollar-quoted-argument-unclosed - unclosed dollar-quoted arguments ($'foo)

-* rc-quote - two single quotes inside single quotes when the RC_QUOTES option is set ('foo''bar')

-* dollar-double-quoted-argument - parameter expansion inside double quotes ($foo inside "")

-* back-double-quoted-argument - backslash escape sequences inside double-quoted arguments (\" in "foo\"bar")

-* back-dollar-quoted-argument - backslash escape sequences inside dollar-quoted arguments (\x in $'\x48')

-* assign - parameter assignments (x=foo and x=( ))

-* redirection - redirection operators (<, >, etc)

-* comment - comments, when setopt INTERACTIVE_COMMENTS is in effect (echo # foo)

-* comment - elided parameters in command position ($x ls when $x is unset or empty)

-* named-fd - named file descriptor (the fd in echo foo {fd}>&2)

-* numeric-fd - numeric file descriptor (the 2 in echo foo {fd}>&2)

-* arg0 - a command word other than one of those enumerated above (other than a command, precommand, alias, function, or shell builtin command).

-* default - everything else

-To override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES,

-for example in ~/.zshrc:

-```zsh

-# Declare the variable

-typeset -A ZSH_HIGHLIGHT_STYLES

-# To differentiate aliases from other command types

-ZSH_HIGHLIGHT_STYLES[alias]='fg=magenta,bold'

-# To have paths colored instead of underlined

-ZSH_HIGHLIGHT_STYLES[path]='fg=cyan'

-# To disable highlighting of globbing expressions

-ZSH_HIGHLIGHT_STYLES[globbing]='none'

-```

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-#### Parameters

-To avoid partial path lookups on a path, add the path to the ZSH_HIGHLIGHT_DIRS_BLACKLIST array.

-```zsh

-ZSH_HIGHLIGHT_DIRS_BLACKLIST+=(/mnt/slow_share)

-```

-### Useless trivia

-#### Forward compatibility.

-zsh-syntax-highlighting attempts to be forward-compatible with zsh.

-Specifically, we attempt to facilitate highlighting command word types that

-had not yet been invented when this version of zsh-syntax-highlighting was

-released.

-A command word is something like a function name, external command name, et

-cetera. (See

-[Simple Commands & Pipelines in zshmisc(1)][zshmisc-Simple-Commands-And-Pipelines]

-for a formal definition.)

-If a new kind of command word is ever added to zsh — something conceptually

-different than "function" and "alias" and "external command" — then command words

-of that (new) kind will be highlighted by the style arg0_$kind,

-where $kind is the output of type -w on the new kind of command word. If that

-style is not defined, then the style arg0 will be used instead.

-[zshmisc-Simple-Commands-And-Pipelines]: http://zsh.sourceforge.net/Doc/Release/Shell-Grammar.html#Simple-Commands-_0026-Pipelines

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/pattern.md b/zsh/.zsh/zsh-syntax/docs/highlighters/pattern.md

deleted file mode 100644

index e67d79f30df9f170352a6e570384e9b489dd9126..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/pattern.md

+++ /dev/null

@@ -1,24 +0,0 @@

-zsh-syntax-highlighting / highlighters / pattern


-This is the pattern highlighter, that highlights user-defined patterns.

-### How to tweak it

-To use this highlighter, associate patterns with styles in the

-ZSH_HIGHLIGHT_PATTERNS associative array, for example in ~/.zshrc:

-```zsh

-# Declare the variable

-typeset -A ZSH_HIGHLIGHT_PATTERNS

-# To have commands starting with rm -rf in red:

-ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')

-```

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/regexp.md b/zsh/.zsh/zsh-syntax/docs/highlighters/regexp.md

deleted file mode 100644

index 5c8a89eb098bce7eab91691f99b9187ed8c73882..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/regexp.md

+++ /dev/null

@@ -1,30 +0,0 @@

-zsh-syntax-highlighting / highlighters / regexp


-This is the regexp highlighter, that highlights user-defined regular

-expressions. It's similar to the pattern highlighter, but allows more complex

-patterns.

-### How to tweak it

-To use this highlighter, associate regular expressions with styles in the

-ZSH_HIGHLIGHT_REGEXP associative array, for example in ~/.zshrc:

-```zsh

-typeset -A ZSH_HIGHLIGHT_REGEXP

-ZSH_HIGHLIGHT_REGEXP+=('\bsudo\b' fg=123,bold)

-```

-This will highlight "sudo" only as a complete word, i.e., "sudo cmd", but not

-"sudoedit"

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-See also: [regular expressions tutorial][perlretut], zsh regexp operator =~

-in [the zshmisc(1) manual page][zshmisc-Conditional-Expressions]

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

-[perlretut]: http://perldoc.perl.org/perlretut.html

-[zshmisc-Conditional-Expressions]: http://zsh.sourceforge.net/Doc/Release/Conditional-Expressions.html#Conditional-Expressions

diff --git a/zsh/.zsh/zsh-syntax/docs/highlighters/root.md b/zsh/.zsh/zsh-syntax/docs/highlighters/root.md

deleted file mode 100644

index d120d20c9206e8c88e65cd73d5e039d6320ae40d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/docs/highlighters/root.md

+++ /dev/null

@@ -1,25 +0,0 @@

-zsh-syntax-highlighting / highlighters / root


-This is the root highlighter, that highlights the whole line if the current

-user is root.

-### How to tweak it

-This highlighter defines the following styles:

-* root - the style for the whole line if the current user is root.

-To override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES,

-for example in ~/.zshrc:

-```zsh

-ZSH_HIGHLIGHT_STYLES[root]='bg=red'

-```

-The syntax for values is the same as the syntax of "types of highlighting" of

-the zsh builtin $zle_highlight array, which is documented in [the zshzle(1)

-manual page][zshzle-Character-Highlighting].

-[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

diff --git a/zsh/.zsh/zsh-syntax/highlighters/README.md b/zsh/.zsh/zsh-syntax/highlighters/README.md

deleted file mode 100644

index 8490ddf433b55aa480debc92203d4993be6a1ca8..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/README.md

+++ /dev/null

@@ -1,8 +0,0 @@

-zsh-syntax-highlighting / highlighters

-======================================

-Navigate into the individual highlighters' documentation to see

-what styles ($ZSH_HIGHLIGHT_STYLES keys) each highlighter defines.

-Refer to the documentation on highlighters for further

-information.

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/README.md b/zsh/.zsh/zsh-syntax/highlighters/brackets/README.md

deleted file mode 120000

index 6997bd60d3a6b18806917ea116a0be17a16c811d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/brackets.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/brackets-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/brackets-highlighter.zsh

deleted file mode 100644

index bc388fdbf8e41ee011c51fea42cece4aaca5a6dc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/brackets-highlighter.zsh

+++ /dev/null

@@ -1,107 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Define default styles.

-: ${ZSH_HIGHLIGHT_STYLES[bracket-error]:=fg=red,bold}

-: ${ZSH_HIGHLIGHT_STYLES[bracket-level-1]:=fg=blue,bold}

-: ${ZSH_HIGHLIGHT_STYLES[bracket-level-2]:=fg=green,bold}

-: ${ZSH_HIGHLIGHT_STYLES[bracket-level-3]:=fg=magenta,bold}

-: ${ZSH_HIGHLIGHT_STYLES[bracket-level-4]:=fg=yellow,bold}

-: ${ZSH_HIGHLIGHT_STYLES[bracket-level-5]:=fg=cyan,bold}

-: ${ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]:=standout}

-# Whether the brackets highlighter should be called or not.

-_zsh_highlight_highlighter_brackets_predicate()

-{

-}

-# Brackets highlighting function.

-_zsh_highlight_highlighter_brackets_paint()

-{

-}

-# Helper function to differentiate type

-_zsh_highlight_brackets_match()

-{

-}

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/cursor-matchingbracket-line-finish.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/cursor-matchingbracket-line-finish.zsh

deleted file mode 100644

index b2acd31df4e56758994693a95102fe8ef3ccd991..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/cursor-matchingbracket-line-finish.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-WIDGET=zle-line-finish

-BUFFER=': $foo[bar]'

-CURSOR=6 # cursor is zero-based

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/cursor-matchingbracket.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/cursor-matchingbracket.zsh

deleted file mode 100644

index e05b4e9020bf7348ff99a354635b5dd52f377f31..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/cursor-matchingbracket.zsh

+++ /dev/null

@@ -1,47 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-3]=

-BUFFER=': ((( )))'

-CURSOR=2 # cursor is zero-based

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/empty-styles.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/empty-styles.zsh

deleted file mode 100644

index e60657bcce3a2f1949e0ee7ec97925520b1afab1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/empty-styles.zsh

+++ /dev/null

@@ -1,33 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': (x)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/loop-styles.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/loop-styles.zsh

deleted file mode 100644

index e5cfcdf03452d42c6a98282f1a20b9c8e4c747b6..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/loop-styles.zsh

+++ /dev/null

@@ -1,53 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-3]=

-BUFFER=': ({[({[(x)]})]})'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/mismatch-patentheses.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/mismatch-patentheses.zsh

deleted file mode 100644

index 5cc588fabdb00aad24e2545543fca28f782d8883..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/mismatch-patentheses.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-BUFFER='echo ({x}]'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/near-quotes.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/near-quotes.zsh

deleted file mode 100644

index 49f002be31841bb62bcc9248dc3fee260094f3f5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/near-quotes.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-BUFFER=': {"{x}"}'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/nested-parentheses.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/nested-parentheses.zsh

deleted file mode 100644

index 21a20fb3ca48f676e7b548b5dc5d4c570017df3d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/nested-parentheses.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-3]=

-BUFFER='echo $(echo ${(z)array})'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/only-error.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/only-error.zsh

deleted file mode 100644

index 00fe557c376758d2dc601def58524d18314499af..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/only-error.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': x)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/quoted-patentheses.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/quoted-patentheses.zsh

deleted file mode 100644

index 81ee04f229c538ff060a56599d82a8ea877af33d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/quoted-patentheses.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "foo ( bar"'

-expected_region_highlight=(

-"11 11 bracket-error"

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/simple-parentheses.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/simple-parentheses.zsh

deleted file mode 100644

index 2ccfbab0c4b411b05323e3d8b45f0e3c08191ed4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/simple-parentheses.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-BUFFER='echo ({x})'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/unclosed-patentheses.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/unclosed-patentheses.zsh

deleted file mode 100644

index d3f6560d0e192a0f5d3fe7d2d50b3717304b953d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/unclosed-patentheses.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-ZSH_HIGHLIGHT_STYLES[bracket-level-2]=

-BUFFER='echo ({x}'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/unclosed-patentheses2.zsh b/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/unclosed-patentheses2.zsh

deleted file mode 100644

index 2c489c3083216d7a5e66b22fa14f1baad96c7cb6..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/brackets/test-data/unclosed-patentheses2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsorted=1

-ZSH_HIGHLIGHT_STYLES[bracket-level-1]=

-BUFFER='echo {x})'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/cursor/README.md b/zsh/.zsh/zsh-syntax/highlighters/cursor/README.md

deleted file mode 120000

index 70e0c8c42ad0aa244876c42ed5e6395e39cba4d0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/cursor/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/cursor.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/cursor/cursor-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/cursor/cursor-highlighter.zsh

deleted file mode 100644

index 81633a3c3bd890f3bcef4c5f6d0ca08718a8cbcb..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/cursor/cursor-highlighter.zsh

+++ /dev/null

@@ -1,47 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Define default styles.

-: ${ZSH_HIGHLIGHT_STYLES[cursor]:=standout}

-# Whether the cursor highlighter should be called or not.

-_zsh_highlight_highlighter_cursor_predicate()

-{

-}

-# Cursor highlighting function.

-_zsh_highlight_highlighter_cursor_paint()

-{

-}

diff --git a/zsh/.zsh/zsh-syntax/highlighters/line/README.md b/zsh/.zsh/zsh-syntax/highlighters/line/README.md

deleted file mode 120000

index 052fe20b5c9001c74ffccba0ad4dc374b0817646..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/line/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/line.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/line/line-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/line/line-highlighter.zsh

deleted file mode 100644

index f922dc9b2d9f677f864ef01657fd0e057683d094..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/line/line-highlighter.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Define default styles.

-: ${ZSH_HIGHLIGHT_STYLES[line]:=}

-# Whether the root highlighter should be called or not.

-_zsh_highlight_highlighter_line_predicate()

-{

-}

-# root highlighting function.

-_zsh_highlight_highlighter_line_paint()

-{

-}

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/README.md b/zsh/.zsh/zsh-syntax/highlighters/main/README.md

deleted file mode 120000

index 035473184f87bf8a7210c39cdc807d13937874fd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/main.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/main-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/main-highlighter.zsh

deleted file mode 100644

index 918615798d0547f4219f5b8afaf91841d3456ca1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/main-highlighter.zsh

+++ /dev/null

@@ -1,1842 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Define default styles.

-: ${ZSH_HIGHLIGHT_STYLES[default]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[unknown-token]:=fg=red,bold}

-: ${ZSH_HIGHLIGHT_STYLES[reserved-word]:=fg=yellow}

-: ${ZSH_HIGHLIGHT_STYLES[suffix-alias]:=fg=green,underline}

-: ${ZSH_HIGHLIGHT_STYLES[global-alias]:=fg=cyan}

-: ${ZSH_HIGHLIGHT_STYLES[precommand]:=fg=green,underline}

-: ${ZSH_HIGHLIGHT_STYLES[commandseparator]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[autodirectory]:=fg=green,underline}

-: ${ZSH_HIGHLIGHT_STYLES[path]:=underline}

-: ${ZSH_HIGHLIGHT_STYLES[path_pathseparator]:=}

-: ${ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]:=}

-: ${ZSH_HIGHLIGHT_STYLES[globbing]:=fg=blue}

-: ${ZSH_HIGHLIGHT_STYLES[history-expansion]:=fg=blue}

-: ${ZSH_HIGHLIGHT_STYLES[command-substitution]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]:=fg=magenta}

-: ${ZSH_HIGHLIGHT_STYLES[process-substitution]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]:=fg=magenta}

-: ${ZSH_HIGHLIGHT_STYLES[single-hyphen-option]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[double-hyphen-option]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[back-quoted-argument]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]:=fg=magenta}

-: ${ZSH_HIGHLIGHT_STYLES[single-quoted-argument]:=fg=yellow}

-: ${ZSH_HIGHLIGHT_STYLES[double-quoted-argument]:=fg=yellow}

-: ${ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]:=fg=yellow}

-: ${ZSH_HIGHLIGHT_STYLES[rc-quote]:=fg=cyan}

-: ${ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]:=fg=cyan}

-: ${ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]:=fg=cyan}

-: ${ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]:=fg=cyan}

-: ${ZSH_HIGHLIGHT_STYLES[assign]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[redirection]:=fg=yellow}

-: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bold}

-: ${ZSH_HIGHLIGHT_STYLES[named-fd]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[numeric-fd]:=none}

-: ${ZSH_HIGHLIGHT_STYLES[arg0]:=fg=green}

-# Whether the highlighter should be called or not.

-_zsh_highlight_highlighter_main_predicate()

-{

-}

-# Helper to deal with tokens crossing line boundaries.

-_zsh_highlight_main_add_region_highlight() {

-}

-_zsh_highlight_main_add_many_region_highlights() {

-}

-_zsh_highlight_main_calculate_fallback() {

-}

-# Get the type of a command.

-#

-# Uses the zsh/parameter module if available to avoid forks, and a

-# wrapper around 'type -w' as fallback.

-#

-# If $2 is 0, do not consider aliases.

-#

-# The result will be stored in REPLY.

-_zsh_highlight_main__type() {

-}

-# Checks whether $1 is something that can be run.

-#

-# Return 0 if runnable, 1 if not runnable, 2 if trouble.

-_zsh_highlight_main__is_runnable() {

-}

-# Check whether the first argument is a redirection operator token.

-# Report result via the exit code.

-_zsh_highlight_main__is_redirection() {

-}

-# Resolve alias.

-#

-# Takes a single argument.

-#

-# The result will be stored in REPLY.

-_zsh_highlight_main__resolve_alias() {

-}

-# Return true iff $1 is a global alias

-_zsh_highlight_main__is_global_alias() {

-}

-# Check that the top of $braces_stack has the expected value. If it does, set

-# the style according to $2; otherwise, set style=unknown-token.

-#

-# $1: character expected to be at the top of $braces_stack

-# $2: optional assignment to style it if matches

-# return value is 0 if there is a match else 1

-_zsh_highlight_main__stack_pop() {

-}

-# Main syntax highlighting function.

-_zsh_highlight_highlighter_main_paint()

-{

-}

-# Try to expand $1, if it's possible to do so safely.

-#

-# Uses two parameters from the caller: $parameter_name_pattern and $res.

-#

-# If expansion was done, set $reply to the expansion and return true.

-# Otherwise, return false.

-_zsh_highlight_main_highlighter__try_expand_parameter()

-{

-}

-# $1 is the offset of $4 from the parent buffer. Added to the returned highlights.

-# $2 is the initial braces_stack (for a closing paren).

-# $3 is 1 if $4 contains the end of $BUFFER, else 0.

-# $4 is the buffer to highlight.

-# Returns:

-# $REPLY: $buf[REPLY] is the last character parsed.

-# $reply is an array of region_highlight additions.

-# exit code is 0 if the braces_stack is empty, 1 otherwise.

-_zsh_highlight_main_highlighter_highlight_list()

-{

-}

-# Check if $arg is variable assignment

-_zsh_highlight_main_highlighter_check_assign()

-{

-}

-_zsh_highlight_main_highlighter_highlight_path_separators()

-{

-}

-# Check if $1 is a path.

-# If yes, return 0 and in $REPLY the style to use.

-# Else, return non-zero (and the contents of $REPLY is undefined).

-#

-# $2 should be non-zero iff we're in command position.

-_zsh_highlight_main_highlighter_check_path()

-{

-}

-# Highlight an argument and possibly special chars in quotes starting at $1 in $arg

-# This command will at least highlight $1 to end_pos with the default style

-# If $2 is set to 0, the argument cannot be highlighted as an option.

-#

-# This function currently assumes it's never called for the command word.

-_zsh_highlight_main_highlighter_highlight_argument()

-{

-}

-# Quote Helper Functions

-#

-# $arg is expected to be set to the current argument

-# $start_pos is expected to be set to the start of $arg in $BUFFER

-# $1 is the index in $arg which starts the quote

-# $REPLY is returned as the end of quote index in $arg

-# $reply is returned as an array of region_highlight additions

-# Highlight single-quoted strings

-_zsh_highlight_main_highlighter_highlight_single_quote()

-{

-}

-# Highlight special chars inside double-quoted strings

-_zsh_highlight_main_highlighter_highlight_double_quote()

-{

-}

-# Highlight special chars inside dollar-quoted strings

-_zsh_highlight_main_highlighter_highlight_dollar_quote()

-{

-}

-# Highlight backtick substitutions

-_zsh_highlight_main_highlighter_highlight_backtick()

-{

-}

-# Highlight special chars inside arithmetic expansions

-_zsh_highlight_main_highlighter_highlight_arithmetic()

-{

-}

-# Called with a single positional argument.

-# Perform filename expansion (tilde expansion) on the argument and set $REPLY to the expanded value.

-#

-# Does not perform filename generation (globbing).

-_zsh_highlight_main_highlighter_expand_path()

-{

-}

-# -------------------------------------------------------------------------------------------------

-# Main highlighter initialization

-# -------------------------------------------------------------------------------------------------

-_zsh_highlight_main__precmd_hook() {

-}

-autoload -Uz add-zsh-hook

-if add-zsh-hook precmd _zsh_highlight_main__precmd_hook 2>/dev/null; then

-else

-fi

-typeset -ga ZSH_HIGHLIGHT_DIRS_BLACKLIST

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position1.zsh

deleted file mode 100644

index cfc12a5f8931e7331a92d13981a27366b0b09af3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position1.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'/'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position1b.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position1b.zsh

deleted file mode 100644

index 88fe60c9de55b97df1266b7b3f4d8743a1f0fece..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position1b.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt autocd

-BUFFER=$'/'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position2.zsh

deleted file mode 100644

index 5033d2c4703939f017070e03b6d984eb050d1a92..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position2.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'/bi'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position3.zsh

deleted file mode 100644

index 415e3167dda088d60252fdee704c8b4674dfdeab..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position3.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'/bin; /bin'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position3b.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position3b.zsh

deleted file mode 100644

index 0e65c98aca05c3394d68cf6d82f31f7699f24bcc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position3b.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt autocd

-BUFFER=$'/bin; /bin'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position4.zsh

deleted file mode 100644

index 9e935bf1845300b7bc84a30e0484e19d7169e934..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position4.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'/bin/s'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position5.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position5.zsh

deleted file mode 100644

index e428b1a0a87fb25820953eb7f6c361421784694b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/abspath-in-command-position5.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'/bin/sh'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-assignment1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-assignment1.zsh

deleted file mode 100644

index 0c101c8e29fa0bf021233d34be7f61b22f8e1b83..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-assignment1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Issue #263 (more-pathological case): aliases[x=y]=z works; the ${(z)} splitter considers

-# that a single word; but it's not looked up as an alias. Hence, highlight it as an error.

-aliases[x=y]='lorem ipsum dolor sit amet'

-BUFFER='x=y ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-basic.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-basic.zsh

deleted file mode 100644

index 7af8b7cdb21ef9e3a0829e9931bd7b9df0a8e69a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-basic.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias foo="echo hello world"

-BUFFER="foo"

-expected_region_highlight+=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-brackets.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-brackets.zsh

deleted file mode 100644

index ede6c9a9d97b001b682f0ab7b29ad3709d126dec..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-brackets.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2021 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Have to use cat here as it must be a command that exists.

-# Otherwise, the test would fail with the first token being recognized

-# as an "unknown-token".

-alias ]=cat

-BUFFER='] /'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-command-substitution.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-command-substitution.zsh

deleted file mode 100644

index a7b77dfa62fbfc2a8dab766437a2c0e03a6bf9bf..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-command-substitution.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Alias must be at least 4 characters to test the regression

-# cf. 139ea2b189819c43cc251825981c116959b15cc3

-alias foobar='echo "$(echo foobar)"'

-BUFFER='foobar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-comment1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-comment1.zsh

deleted file mode 100644

index bae7ef6f71160364668852a61f8b3666d788f19e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-comment1.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# see alias-comment2.zsh and comment-followed.zsh

-setopt interactivecomments

-alias x=$'# foo\npwd'

-BUFFER='x'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-comment2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-comment2.zsh

deleted file mode 100644

index 5a4982298d30a7e87103f9d2d2f797cdb0501785..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-comment2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# see alias-comment1.zsh

-setopt NO_interactivecomments

-alias x=$'# foo\npwd'

-BUFFER='x'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-complex.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-complex.zsh

deleted file mode 100644

index 5ad7c0a9cd575cec020d077c5031afa856bc7b04..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-complex.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias x='echo && ls; >'

-BUFFER='x file echo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-empty.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-empty.zsh

deleted file mode 100644

index 535fccc919b9b40b6eca813922b92dcef0f46308..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-empty.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias x=''

-BUFFER='x echo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-eponymous1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-eponymous1.zsh

deleted file mode 100644

index 2642e14fce7afd6a44833b75f00c5d574b6e8299..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-eponymous1.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias ls='command ls'

-BUFFER='ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-eponymous2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-eponymous2.zsh

deleted file mode 100644

index dcd85653dec37b5998224a1d9546e585d0cc6ddd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-eponymous2.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias ls=tmp tmp='command ls'

-BUFFER='ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-in-cmdsubst.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-in-cmdsubst.zsh

deleted file mode 100644

index b3cf777a974fb324c17de3fd545a517ac103c963..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-in-cmdsubst.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias p='print -r --'

-BUFFER=$'s=$(p foo)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-loop.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-loop.zsh

deleted file mode 100644

index 83992dbf345c588e44e1e9f643d77ad5d7e72c74..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-loop.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-function b() {} # beware of ALIAS_FUNC_DEF

-alias a=b b=c c=b

-BUFFER='a foo; :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-loop2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-loop2.zsh

deleted file mode 100644

index 29e04ace4ee4d999ef8aeb3cdefc499309ab6a1f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-loop2.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias ls="ls"

-BUFFER="ls"

-expected_region_highlight+=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-nested-precommand.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-nested-precommand.zsh

deleted file mode 100644

index 6d4172bccc99d311e1b69bc4b2553827398682b3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-nested-precommand.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=b b=sudo

-sudo(){}

-BUFFER='a -u phy1729 echo; :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-nested.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-nested.zsh

deleted file mode 100644

index b24b49674061cd4e474292cd5f93c8cba6ee4f9c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-nested.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=b b=:

-BUFFER='a foo; :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-parameter.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-parameter.zsh

deleted file mode 100644

index 21bc6b32a1c4a0c5ed12040b593d7dfa63783e6d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-parameter.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias '$foo'='echo alias'

-local foo; foo=(echo param)

-BUFFER='$foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument1.zsh

deleted file mode 100644

index 2d1f35c68999fdcbd8d587d43c5ba73110617b4a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument1.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See also param-precommand-option-argument1.zsh

-alias sudo_u='sudo -u'

-sudo(){}

-BUFFER='sudo_u phy1729 echo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument2.zsh

deleted file mode 100644

index fbc6eec7d483031c6615d61a218ca4f20e168da4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument2.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias sudo_b='sudo -b'

-alias sudo_b_u='sudo_b -u'

-sudo(){}

-BUFFER='sudo_b_u phy1729 echo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument3.zsh

deleted file mode 100644

index 373f12b621ce4104de5ca9ba47ecd7d5b5db929e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument3.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See also param-precommand-option-argument3.zsh

-alias sudo_u='sudo -u'

-sudo(){}

-BUFFER='sudo_u phy1729 ls foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument4.zsh

deleted file mode 100644

index d47dccb83f5d08b42eb51793776170879467d508..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-precommand-option-argument4.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias sudo_b='sudo -b'

-alias sudo_b_u='sudo_b -u'

-sudo(){}

-BUFFER='sudo_b_u phy1729 ls foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-quoted.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-quoted.zsh

deleted file mode 100644

index e42e2f0a13d13b1de34391fb9eaf6f9789590fe7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-quoted.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) YYYY zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=: ls='ls -l'

-BUFFER='"a" foo; \ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-redirect.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-redirect.zsh

deleted file mode 100644

index acc3dcbefee99c293861d2a42e139e585c8451c3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-redirect.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias x=>

-BUFFER='x foo echo bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse1.zsh

deleted file mode 100644

index 1fd61a0b3ec065ab16647296205601fcd366c666..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse1.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=: b='a | a'

-BUFFER='b | b'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse2.zsh

deleted file mode 100644

index 37251fb9c694143e1ebb313dd76a8f0c05f9ecd9..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=: b='a && a'

-BUFFER='b && b'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse3.zsh

deleted file mode 100644

index 5d7150a18b95a4ee79062cdedf81ca260cb3ec96..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse3.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=: b='a; a'

-BUFFER='b; b'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse4.zsh

deleted file mode 100644

index 7ad7038c7074f03a7d16bc9269fbe26388e1b0ee..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse4.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=: b='a $(a)'

-BUFFER='b $(b)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse5.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse5.zsh

deleted file mode 100644

index 881401b258d8e545959af6b1f256ef2b04b7d209..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-reuse5.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=: b='a < <(a)'

-BUFFER='b < <(b)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-self.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-self.zsh

deleted file mode 100644

index c6f12b1a857f1827fdb046f6ab36d5ca4a89c0b3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-self.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias echo='echo foo'

-BUFFER='echo bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-self2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-self2.zsh

deleted file mode 100644

index fd6ae03f3f39f76d1eda319434aaed560625e937..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-self2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias cat='cat | cat'

-BUFFER='cat'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-to-dir.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-to-dir.zsh

deleted file mode 100644

index 30390d42519611e3f6ecfc5d6e82617b0f303866..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-to-dir.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias x=/

-BUFFER=$'x'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-to-dir1b.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-to-dir1b.zsh

deleted file mode 100644

index 62ec5213dda25e2f5bf34c401a2d9696671dd95f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-to-dir1b.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt autocd

-alias x=/

-BUFFER=$'x'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-unknown-token1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-unknown-token1.zsh

deleted file mode 100644

index 9c996bfe14d2268b8cbca4abf695276276e4c740..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-unknown-token1.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=b b=foo

-BUFFER='a '

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-unknown-token2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-unknown-token2.zsh

deleted file mode 100644

index ab9facd60a15ebcbd18689c8721ea43b9818ccb3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias-unknown-token2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a='() { ls "$@" ; foo }'

-BUFFER='a '

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias.zsh

deleted file mode 100644

index 4cafa8041e5ece62b1f4199ebc369244697cf3c0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/alias.zsh

+++ /dev/null

@@ -1,53 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias alias1="ls"

-alias -s alias2="echo"

-function alias1() {} # to check that it's highlighted as an alias, not as a function

-BUFFER='x.alias2; alias1; alias2'

-# Set expected_region_highlight as a function of zsh version.

-#

-# Highlight of suffix alias requires zsh-5.1.1 or newer; see issue #126,

-# and commit 36403 to zsh itself. Therefore, check if the requisite zsh

-# functionality is present, and skip verifying suffix-alias highlighting

-# if it isn't.

-expected_region_highlight=()

-if zmodload -e zsh/parameter || [[ "$(type -w x.alias2)" == suffix ]]; then

-fi

-expected_region_highlight+=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always1.zsh

deleted file mode 100644

index ae40a72f7cec87110e24b9599d2694f52234cb90..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always1.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='{ ls } always { pwd }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always2.zsh

deleted file mode 100644

index 991137c22e260e2b16253e4cce58c3625d5d3a31..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always2.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'{\nls\n} always { pwd }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always3.zsh

deleted file mode 100644

index d41beeb5d5562ddbc227c2cc674f5b15ffa431fc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/always3.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt ignorebraces

-BUFFER='echo { foo } always { bar }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/anonymous-function.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/anonymous-function.zsh

deleted file mode 100644

index 9d67fb1d0cadd8076328584c2403089f0e8643c2..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/anonymous-function.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='() echo hello; () { echo world } "argument"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arg0-colon.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arg0-colon.zsh

deleted file mode 100644

index 8955bd28cdda7cd5dae76799b372f0de51434f22..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arg0-colon.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=''''x: /'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith-cmdsubst-mess.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith-cmdsubst-mess.zsh

deleted file mode 100644

index 82268ac19cf2834c01fb46fbf67a901ec9ebefa3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith-cmdsubst-mess.zsh

+++ /dev/null

@@ -1,46 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $((ls); (ls))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith1.zsh

deleted file mode 100644

index 0462f738f6ee4a8f8c8aab9af5af787857d74c25..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith1.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( 6 * 9 ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith2.zsh

deleted file mode 100644

index af981d7c99cd3c10dcbff2c7d4768699fb18f160..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arith2.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': "$(( 6 * 9 ))"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-command-substitution.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-command-substitution.zsh

deleted file mode 100644

index 07db0fb29759342f3abe44c287749ecfedf84a7b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-command-substitution.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( $(echo 2) + 2 ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-doubled-parens.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-doubled-parens.zsh

deleted file mode 100644

index d582d67cae0c2322010fdb3636d2fc1bf5367521..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-doubled-parens.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( ((42)) ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-empty.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-empty.zsh

deleted file mode 100644

index bd759966d880fc937c3ce2bae543ecdcf1582acf..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-empty.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': "foo"$(())"bar"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-evaluation.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-evaluation.zsh

deleted file mode 100644

index e0eb6e751a1423e48cc699e225a855059b706bf0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-evaluation.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Must be at command word, since the word following 'if' isn't currently considered

-# a command word (issue #207).

-#

-# An opening '((' without matching '))' is highlighted correctly under zsh-5.1.1-52-g4bed2cf

-# or newer, only (issue #188).

-BUFFER='(( x == 42 ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-hist-expn.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-hist-expn.zsh

deleted file mode 100644

index 79af72330cb7337b5439602867bdb6ad4ea651d1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-hist-expn.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( !! ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-invalid-chars.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-invalid-chars.zsh

deleted file mode 100644

index 9ace43834796935ea7aa18fa65982b29fae3735e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-invalid-chars.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( 0 * 1''000 ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-multiplication.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-multiplication.zsh

deleted file mode 100644

index 65df0c9fe316605df5f6dd9619274443d7fb251d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-multiplication.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': foo*$(( 42 * 1729 ))*bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-nested.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-nested.zsh

deleted file mode 100644

index d734cd34bd988488ff3fb1515293bd235b657ebc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-nested.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( $(( 1 + 2 )) * 3 ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-quoted.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-quoted.zsh

deleted file mode 100644

index 917ddf78969357ec15a117e58f8e3f40767ae2f2..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-quoted.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': "$(( 1 + 1 ))"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-unclosed.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-unclosed.zsh

deleted file mode 100644

index aa4eac7aca48739dfdc6ae1620f2e6f9660dbf81..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-unclosed.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( 1'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-unfinished.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-unfinished.zsh

deleted file mode 100644

index 916c3dad036555edf6782457b2ca518205724973..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/arithmetic-unfinished.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(( 1729 )'

-expected_region_highlight=(

-)

-if [[ ${(z):-'$('} == '$( ' ]]; then # ignore zsh 5.0.8 bug

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep1.zsh

deleted file mode 100644

index 2fd55c034e37aa83cd1421d37c46d1f9ae9e317d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep1.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'a=( foo | bar )'

-bar(){}

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep2.zsh

deleted file mode 100644

index 0bda676151bece5700af84944bd86d0c431a4713..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep2.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'a=( foo ; bar )'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep3.zsh

deleted file mode 100644

index b4b3687c26a2559961d262823b83038531a7df23..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/array-cmdsep3.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'a=( foo \n bar )'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-append.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-append.zsh

deleted file mode 100644

index feb68e53498944456d03689d221f909aa0e17a96..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-append.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='a+=(lorem ipsum)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-argv.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-argv.zsh

deleted file mode 100644

index ec5acc24945ed04e67413f34039941f8221451be..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-argv.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch foo

-BUFFER='42=foo 43+=bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array.zsh

deleted file mode 100644

index ef0a6669d787de53cca08f8921f1fc94792aa5ca..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='(A=(hello world))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array2.zsh

deleted file mode 100644

index 2d48721161c392f07c7c4af10b42c0351458dbae..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='A=(hello world) ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array3.zsh

deleted file mode 100644

index 5eb645e66ee0c87c291af1d1a54e6b7896da5bda..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-array3.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='A=(hello world) b=42'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-invalid-command.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-invalid-command.zsh

deleted file mode 100644

index 557327e8e4d1e19fa81f21ef8050f134adcdeaa4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-invalid-command.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'x=y nosuchcommand'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-not-array.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-not-array.zsh

deleted file mode 100644

index 651ab80a4f3d23b165c8c6b16f88c47d7083b836..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-not-array.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='a=foo( bar ) :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-not-array2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-not-array2.zsh

deleted file mode 100644

index dfda106e34e2f53c9c26cd737624b468b32bfcc6..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-not-array2.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='a=foo( :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-quoted-cmdsubst.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-quoted-cmdsubst.zsh

deleted file mode 100644

index d4a62dfab64ca0ec41130cab0804a908c5aec9cb..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-quoted-cmdsubst.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'x="$(ls x y z)"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-semicolon.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-semicolon.zsh

deleted file mode 100644

index f748c94ee6eb42a32232cb0bf0f4381d70af2298..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-semicolon.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='A=1; echo hello world'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-subshell.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-subshell.zsh

deleted file mode 100644

index 202288938ea17bf9b95fc92e83a2fd706746576e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-subshell.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='(A=1)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-value-quote1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-value-quote1.zsh

deleted file mode 100644

index b6d04fe03f206f9e8fec2739b9010a873ad12676..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-value-quote1.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'s="foo'bar"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-value-quote2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-value-quote2.zsh

deleted file mode 100644

index 3c5f93b47d2ed726391c33a3b3fe537f83abab36..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign-value-quote2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'s="foo '' bar"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign.zsh

deleted file mode 100644

index c6e8532dd4f9e8b32f9c9e623560edbad69409d4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assign.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='A=1 b=("foo" bar)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword1.zsh

deleted file mode 100644

index b271d4aa653e47353031499e1e1b0e49eeae280b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword1.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=bar { :; }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword2.zsh

deleted file mode 100644

index 247e41eb496109c1beed6e9f496d70f19dc5c048..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=bar ( :; )'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword3.zsh

deleted file mode 100644

index 5204189573091172b2be6760b59ca46029dd1816..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword3.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=bar (( foo ))'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword4.zsh

deleted file mode 100644

index cc3d5231e9ed5ec4dd1a3d4d560ce9ce0a0d421e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword4.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=bar [[ -n foo ]]'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword5.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword5.zsh

deleted file mode 100644

index 33f1ed144656a96725fc985ec36118637ba45737..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-before-resword5.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=bar ! :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-quoted.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-quoted.zsh

deleted file mode 100644

index 18638adb1099f99372c964526fbb46de17a2a214..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/assignment-quoted.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'1="foo"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/back-quoted-argument.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/back-quoted-argument.zsh

deleted file mode 100644

index d504a2c7f5ab6fac0f97fc72edbd70271ac061dd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/back-quoted-argument.zsh

+++ /dev/null

@@ -1,58 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo echo \42`"isecho equalto"echo 6 times 9'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/back-quoted-open.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/back-quoted-open.zsh

deleted file mode 100644

index f188d811b7fc0e5a08820000a72891edd4bb6f71..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/back-quoted-open.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch foo

-BUFFER=$': `ls fo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-continuation.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-continuation.zsh

deleted file mode 100644

index ebcf2e17e4e445f6c6fb0c8a8a70345852e25b5e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-continuation.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-PREBUFFER=$'echo \\n'

-BUFFER='noglob'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-continuation2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-continuation2.zsh

deleted file mode 100644

index 9e2ca6232a3b0bc8952c6689f2efd6115db0c8ae..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-continuation2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'echo foo\\nbar"baz"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-space.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-space.zsh

deleted file mode 100644

index 0d8a63c14e7ecc35b0638ed87bdca8d61892bf57..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash-space.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'echo \ 'foo' ; ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash.zsh

deleted file mode 100644

index ea0977f6b65d9962c4d41e11986ee46b7d3a9aea..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/backslash.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'\'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-assign-array.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-assign-array.zsh

deleted file mode 100644

index a54cf2d010c26f11b53dc2f94603d60b47facd82..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-assign-array.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=(bar abaz) ! ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-assign-scalar.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-assign-scalar.zsh

deleted file mode 100644

index e91905004e3a6707fb99570ea7edd6e21e56ca72..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-assign-scalar.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=bar ! ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-pipeline.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-pipeline.zsh

deleted file mode 100644

index fef25f1097d3c154813cb600f80017e3d4e31238..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/bang-pipeline.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'! ls | ! ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/braces1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/braces1.zsh

deleted file mode 100644

index 3c5b1f0f1d1344d4cd1dabf5087acd44c6f1de63..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/braces1.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'() { echo }\n}'

-# no special setopts

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/braces2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/braces2.zsh

deleted file mode 100644

index a3ea7c95a07885e24c02a633dbba955e18b8d1ba..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/braces2.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'() { echo }\n}'

-setopt ignorebraces

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-matching1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-matching1.zsh

deleted file mode 100644

index 7cc6de542c43e24ffabdc97c7aeff1fa5b44f211..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-matching1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='[[ -n foo ]]'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-matching2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-matching2.zsh

deleted file mode 100644

index 19c7f0d76cd6fa9ed689aad153b2a4b7a198b3cf..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-matching2.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='[ -n foo ]'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch1.zsh

deleted file mode 100644

index 5e6e80f28917e7e67908cee7618c8a27e9cb132a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch1.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='() { echo foo )'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch10-if-negative.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch10-if-negative.zsh

deleted file mode 100644

index 9d0b53c6b6e69879c15d7344b980f01983ad6936..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch10-if-negative.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='elif true; then echo two; fi'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch2.zsh

deleted file mode 100644

index 2d98ac21bb4bdeffca3a55fe52456b1be773c119..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='() ( echo foo }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch3.zsh

deleted file mode 100644

index e33040a85c4ddd2289332e4705f669e71ba5a2b0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch3.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo )'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch4.zsh

deleted file mode 100644

index a9b15dcdf79415bb4639175e8dc2132dc6fffc75..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch4.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch5.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch5.zsh

deleted file mode 100644

index 21e8bb2b9b5a649e5e51785953f6e418afb00943..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch5.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo { }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch6.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch6.zsh

deleted file mode 100644

index 9df8388307f90c4e3ceab9c24e58bbf32adff2f5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch6.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='(repeat 1; do)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch7.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch7.zsh

deleted file mode 100644

index 1caa936c99fbcbf070271666561c495327ef1170..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch7.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2012 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='for n in *; do echo $n; end'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch8-if-positive.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch8-if-positive.zsh

deleted file mode 100644

index d6838f0035dda3114a68f58e404fa625bba27084..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch8-if-positive.zsh

+++ /dev/null

@@ -1,53 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='if false; then echo one; elif true; then echo two; else echo three; fi'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch8.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch8.zsh

deleted file mode 100644

index 07a42e36ccb7832d60086d9024b621cf70c10f2b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch8.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='(ls&)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch9-if-positive.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch9-if-positive.zsh

deleted file mode 100644

index 87c1ba79aafa4b733012adf81f954bf20c3a6919..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-mismatch9-if-positive.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='if false; then echo one; fi'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-premature-termination.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-premature-termination.zsh

deleted file mode 100644

index fa813da9975231fafeedf34cf2c11c44281a223d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/brackets-premature-termination.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='[[ -n foo; echo ]]'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cdpath-abspath.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cdpath-abspath.zsh

deleted file mode 100644

index 64707b2f5369e9ca20e549b5b5e53fcba2b54247..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cdpath-abspath.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-cdpath=( $PWD )

-mkdir foo foo/bar

-BUFFER="/foo"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cmdpos-elision-partial.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cmdpos-elision-partial.zsh

deleted file mode 100644

index 6eda0d741f2748c93115ec56a2179b7e338412ea..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cmdpos-elision-partial.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Test elision of some, but not all of the words

-# See issue #667 for the case of eliding all words

-local -a x; x=(sudo "")

-sudo(){}

-BUFFER=$'$x -u phy1729 ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-adjacent.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-adjacent.zsh

deleted file mode 100644

index 3d5c0b9ea8dc2e731da3a690c0201cae8fc38bcc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-adjacent.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "$(echo)$(echo)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-in-assignment.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-in-assignment.zsh

deleted file mode 100644

index fafda49c177b579818c86a5de476afcf05af70f9..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-in-assignment.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=$(echo bar) :'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-unclosed.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-unclosed.zsh

deleted file mode 100644

index 3229dfcf4831c5660b38ae884ac344ccd3133dcd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/command-substitution-unclosed.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': foo$(echo bar'

-expected_region_highlight=(

-)

-if [[ ${(z):-'$('} == '$( ' ]]; then # ignore zsh 5.0.8 bug

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/commandseparator.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/commandseparator.zsh

deleted file mode 100644

index f504847c4324803af9e04f6620ac695c0180b6bc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/commandseparator.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=':; pwd &! ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-followed.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-followed.zsh

deleted file mode 100644

index 044f2830716a6282b3485c7fb31dd3a0bd6947d5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-followed.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# see alias-comment1.zsh

-setopt interactivecomments

-BUFFER=$'# foo\ntrue'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-leading.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-leading.zsh

deleted file mode 100644

index b4c991059fc17407c0afbf97987c9eb4eb2720d3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-leading.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt interactive_comments

-BUFFER='# echo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-off.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-off.zsh

deleted file mode 100644

index 0381bdb029221875a006273d7eeeb2fc5e2ddfbb..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comment-off.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsetopt interactive_comments

-BUFFER='# echo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comments.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comments.zsh

deleted file mode 100644

index f3cc57e4f6ffaee0c3ae754ae52005626b3ac4ba..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/comments.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt interactive_comments

-BUFFER='echo "foo #bar" #baz # quux'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/commmand-parameter.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/commmand-parameter.zsh

deleted file mode 100644

index 48d20ba8b258224269603184cb92c4a28b20385b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/commmand-parameter.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-local x=/usr/bin/env

-local y=sudo

-local -a z; z=(zsh -f)

-sudo(){}

-BUFFER='$x "argument"; $y; $z'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow.zsh

deleted file mode 100644

index a610bdc3d225154532bbd0fc547747c13023dfad..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow.zsh

+++ /dev/null

@@ -1,57 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='while if echo Hello; then ls /; else ls; fi; do stat "x"; done; repeat 10 ls'

-expected_region_highlight+=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow2.zsh

deleted file mode 100644

index acf99e1d8364415539474cde39afe489f49ab75b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='repeat 42; do ls; done'

-expected_region_highlight+=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow3.zsh

deleted file mode 100644

index 58f507f9911095ec601d20645eb8e6c7a7d90bbd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/control-flow3.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='repeat 42; ls; pwd'

-expected_region_highlight+=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cthulhu.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cthulhu.zsh

deleted file mode 100644

index c8119a8450a1f52e20fe08b0d6df46ce33518114..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/cthulhu.zsh

+++ /dev/null

@@ -1,70 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# 0000000 0 01111111111222222 222233333 3 333344 4 4 444444555555555 5 6 6666 6 6 6667777777777888 8 8 88888999 9 9999 9 9 00 00 0000001111

-# 1234567 8 90123456789012345 678901234 5 678901 2 3 456789012345678 9 0 1234 5 6 7890123456789012 3 4 56789012 3 4567 8 9 01 23 4567890123

-BUFFER=$'echo Ph\'ngecho lui "mg"\\echo lw\'nafh \\\echo Cthu"lhu\\\\\\ R\\'ly$(echo eh wag\\\echo h\\\'nag\\\\\\'l' fht)agn`'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dinbrack1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dinbrack1.zsh

deleted file mode 100644

index e2279d6b8e1b68e3c0afdcc6b0671351a1d1eff5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dinbrack1.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'[[ foo && bar || baz ]]'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dirs_blacklist.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dirs_blacklist.zsh

deleted file mode 100644

index 2d0222f0c22b475cb0f0ef96973628a3de6043f5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dirs_blacklist.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-mkdir foo

-touch foo/bar

-BUFFER=": foo/bar $PWD/foo foo/b"

-ZSH_HIGHLIGHT_DIRS_BLACKLIST=($PWD/foo $PWD/bar)

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-dollar.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-dollar.zsh

deleted file mode 100644

index e3f387ce2cb3e85e83ec656064d8ec30958ad1ee..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-dollar.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': "$$ $$foo"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-noise.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-noise.zsh

deleted file mode 100644

index 9bb11bd8d7734c967af375a050de1bbb972f0a8a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-noise.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': "$- $# $* $@ $?"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-paren.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-paren.zsh

deleted file mode 100644

index 2bbcef18fcaecad298b06232e5aa3a87623b418a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-paren.zsh

+++ /dev/null

@@ -1,49 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': "$(:)" "foo$(:)bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted.zsh

deleted file mode 100644

index 081a365be02056fca38a1329a49cde7686826682..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=": $'*' 'foo'"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted2.zsh

deleted file mode 100644

index ed7428bd2d29f6c7ea0c13bc88d1defe807e4de1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=": $'foo\xbar\udeadbeef\uzzzz'"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted3.zsh

deleted file mode 100644

index 365f35195647b8f627c3561077c218c10c965d14..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/dollar-quoted3.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Similar to double-quoted2.zsh

-# This test checks that the '1' gets highlighted correctly. Do not append to the BUFFER.

-BUFFER=": $'\xa1"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-hyphen-option.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-hyphen-option.zsh

deleted file mode 100644

index e5cacd37b992cb648c5296dc852a3a975a058232..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-hyphen-option.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='hello --world'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted.zsh

deleted file mode 100644

index 0a4336cacb44060fd769a62a207065c34a882a25..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': "foo$bar:`:":$:'

-BUFFER+=\\:"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted2.zsh

deleted file mode 100644

index c400e543296e0b66d1895a66e870e4b66c4e235d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Similar to dollar-quoted3.zsh

-# This test checks that the 'r' gets highlighted correctly. Do not append to the BUFFER.

-BUFFER=': "foo$bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted3.zsh

deleted file mode 100644

index 86e3ced69e861b463c80370023f07ca8fc19402e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted3.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': "$" "$42foo"'

-BUFFER+=\ "\'\x"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted4.zsh

deleted file mode 100644

index c59d5d8e46fa3fba1f82c268a3c0a3c46f6b8499..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/double-quoted4.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': "${foo}bar"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command-newline.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command-newline.zsh

deleted file mode 100644

index 4b7b35c6e2632935d62e7aee0a7ac5ff8a06d855..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command-newline.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Newline after semicolon isn't unknown-token

-BUFFER=$':;\n:'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command.zsh

deleted file mode 100644

index 5831464d48b218181a04a44d65e4b6bdcadecafe..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo; ;'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command2.zsh

deleted file mode 100644

index dcb4e6f73f5e354cb9afaf1354467c996660cc45..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-command2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Same test data and expectations as empty-command.zsh; the only difference is:

-touch ';'

-BUFFER='echo; ;'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-line.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-line.zsh

deleted file mode 100644

index a4d6685bb3e81707aa802a6c6c102525d2583f33..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/empty-line.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'\\n; ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals1.zsh

deleted file mode 100644

index 77f46e8d5647d272e1c7c597e232a2787bbb8dea..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals1.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': =ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals2.zsh

deleted file mode 100644

index bd59ff7521ad8943227d5f2fdfa4662df7a4ff1c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals2.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsetopt equals

-BUFFER=$': =nosuchcommand'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals3.zsh

deleted file mode 100644

index 8c10789002d808ddb37bbe01df7bb8081ab5fb38..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals3.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': =nosuchcommand'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals4.zsh

deleted file mode 100644

index 28bc21480b3cd1c1c4b1fb1adb97bab939bdd08d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/equals4.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': ='

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/escaped-single-quote.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/escaped-single-quote.zsh

deleted file mode 100644

index 4b2fe4bc8f0eeddabbb568824537fe954abe03ca..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/escaped-single-quote.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': 'foo'\''bar'' # <<<: 'foo'''bar'>>>

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/exec-redirection1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/exec-redirection1.zsh

deleted file mode 100644

index 78a0c6231753fc96c1aea8d5e3bb4bab6aa72c92..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/exec-redirection1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='exec {foo}>&/tmp ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/fd-target-not-filename.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/fd-target-not-filename.zsh

deleted file mode 100644

index 5c3cd08951428d63189feae7668030d0836d577a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/fd-target-not-filename.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch 2

-BUFFER=$'echo foo>&2'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-altsyntax.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-altsyntax.zsh

deleted file mode 100644

index 0f9a833957b69799ec77f22f2cd032c83324614d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-altsyntax.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Define named and anonymous function using the alternative syntax

-BUFFER=$'function f { pwd }; function { pwd }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-named1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-named1.zsh

deleted file mode 100644

index c962ddbb53264fff30fee931102f859eb45e3258..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-named1.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='f() pwd; f() { balanced braces }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-named2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-named2.zsh

deleted file mode 100644

index e12fce6ad445dd22b3de1ce769a2a9e1b4ec63b7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function-named2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='f g h () pwd'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function.zsh

deleted file mode 100644

index b1be8539331d02aad74afdaeab79dd11a4a58a20..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/function.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-cd() {

-}

-ls() {

-}

-BUFFER='cd;ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/glob.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/glob.zsh

deleted file mode 100644

index 2ff1022e036dffc1e87eb09554decb9ddd6cbce0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/glob.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': foo* bar? *baz qux?'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/global-alias1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/global-alias1.zsh

deleted file mode 100644

index 0022de3cee8dacdbc50d7e23172ede63db33d48b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/global-alias1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias -g foo=bar

-BUFFER=$'foo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/globs-with-quoting.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/globs-with-quoting.zsh

deleted file mode 100644

index d7d74bc4afcaecb82bbbb6337a921f228d15e60f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/globs-with-quoting.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': "foo"'bar'?"baz?"<17-29>"quux"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/hashed-command.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/hashed-command.zsh

deleted file mode 100644

index 2983ef8df379f0f9f54c29dc07a4cc388f367e27..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/hashed-command.zsh

+++ /dev/null

@@ -1,35 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-hash zsh_syntax_highlighting_hash=/doesnotexist

-BUFFER='zsh_syntax_highlighting_hash'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-escaped.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-escaped.zsh

deleted file mode 100644

index 7807cc06e94e3d481df827b4ccd6b664359c72a4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-escaped.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "Hello!"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-followed.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-followed.zsh

deleted file mode 100644

index 6421cedafc1390cedfb380a309f129633126ca36..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-followed.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': !!= "!!="'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-no.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-no.zsh

deleted file mode 100644

index e082dbcfa62861934319b03a5e9a8ab00f651c9c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-no.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "foo != bar !{baz}"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-unescaped.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-unescaped.zsh

deleted file mode 100644

index cfe6a11dae8ce1a7c948460291600969863308c6..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-unescaped.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "Hello!"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-yes.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-yes.zsh

deleted file mode 100644

index e963c3b94ef4d2bda91af35d680eef0216cfac76..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-double-quoted-yes.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "foo !bar"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-expansion.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-expansion.zsh

deleted file mode 100644

index 05e20fc11c088ce9b68a83a3422cd424c73f8394..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-expansion.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='!foo bar !baz ! ; !'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-expansion2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-expansion2.zsh

deleted file mode 100644

index 386d0df966aac7fb7503712bdac901aa166e02c6..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/history-expansion2.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='^foo^bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/inheritance.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/inheritance.zsh

deleted file mode 100644

index e851ca3ed43be76274be255a68e706cbbacb5106..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/inheritance.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-_zsh_highlight_add_highlight()

-{

-}

-BUFFER='type'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/jobsubst-isnt-glob.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/jobsubst-isnt-glob.zsh

deleted file mode 100644

index 3a7e325a48394f053aff4e3384b812f20d0e8b3a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/jobsubst-isnt-glob.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018.9958 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': %? %?foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/jobsubst-isnt-glob2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/jobsubst-isnt-glob2.zsh

deleted file mode 100644

index 51930bfbe61482517ceedd36be261bb6dab00079..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/jobsubst-isnt-glob2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': foo%?bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/loop-newline.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/loop-newline.zsh

deleted file mode 100644

index d39ee1123f61f11fe606683214f238fd4362f971..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/loop-newline.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'for i in \\n; do done'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/meta-no-eval1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/meta-no-eval1.zsh

deleted file mode 100644

index bb0407771e7cd14d8767981110a0a0c5ae67e017..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/meta-no-eval1.zsh

+++ /dev/null

@@ -1,49 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(kill -9 $$) ${:-$(kill -9 $$)}'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/meta-no-eval2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/meta-no-eval2.zsh

deleted file mode 100644

index 61ef089229a5925dbdb7fb13345b5835c8687862..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/meta-no-eval2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# We aren't testing how this is highlighted; we're testing that it's not

-# evaluated. If it gets evaluated, the test suite will die.

-BUFFER=$': /(eexit 42)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-array-assignment1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-array-assignment1.zsh

deleted file mode 100644

index 8906cfdedeba9af0b34345669563d198a3767035..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-array-assignment1.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'foo=(\nbar) env'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-string.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-string.zsh

deleted file mode 100644

index 0127b4bf27803c0d73a55dfd3c48af49a06f2134..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-string.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-PREBUFFER=$'echo "foo1\n'

-BUFFER='foo2" ./'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-string2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-string2.zsh

deleted file mode 100644

index 3a90dce82b902dd71429dff9a64f9de10741806c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiline-string2.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'echo 'foo1\n'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multios-negates-globbing.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multios-negates-globbing.zsh

deleted file mode 100644

index 7ece6708b59c5f783b5f766a73870259ab023ff7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multios-negates-globbing.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-unsetopt multios

-BUFFER=$'cat < *'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multios-negates-globbing2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multios-negates-globbing2.zsh

deleted file mode 100644

index b6db983d64982c4bc9e46f40cdbe29c27bd9ca0d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multios-negates-globbing2.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'cat < *'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiple-quotes.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiple-quotes.zsh

deleted file mode 100644

index dabf70c838b3b13711b27761647e0ff8012c3034..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiple-quotes.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': 'foo'bar"baz$quux/foo\\bar"baz$'quux\nfoo\001bar'baz'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiple-redirections.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiple-redirections.zsh

deleted file mode 100644

index 778e7129f7fefa66eb2efdd854dd8302e004227a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/multiple-redirections.zsh

+++ /dev/null

@@ -1,46 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='ps aux | grep java | sort | uniq | tail | head'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob-alias.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob-alias.zsh

deleted file mode 100644

index 2f96445edfc590886268faffbe4578d5cd40554e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob-alias.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias x=command

-BUFFER='x ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob-always.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob-always.zsh

deleted file mode 100644

index 6d550489a71c661403381380bfceac2844d1f91f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob-always.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'{ noglob echo * } always { echo * }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob1.zsh

deleted file mode 100644

index 1857db0c41fb4a39a1005940d4674cfa2b99377e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=':; noglob echo *'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob2.zsh

deleted file mode 100644

index 3b4fcd7621135e0a71dab92e7d7797a6c08d7d3d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='noglob echo *; echo *'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob3.zsh

deleted file mode 100644

index c404aaac77313b2b305d128fe28f27358d9447a0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob3.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch *

-BUFFER='noglob echo *'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob4.zsh

deleted file mode 100644

index cc7065f5649e2a406e86cdea2f9e2475bdaba545..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/noglob4.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'noglob cat <(print -r -- *)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/null-exec.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/null-exec.zsh

deleted file mode 100644

index be1e30646a3b83a78d0d4ecc855aad6399a1b480..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/null-exec.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'exec >/dev/null;'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/null-exec2-printenv.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/null-exec2-printenv.zsh

deleted file mode 100644

index 59a2cef70d9e414af0a3acc6ef6e6259770e47b5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/null-exec2-printenv.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2021 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'env | grep $needle'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/number_range-glob.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/number_range-glob.zsh

deleted file mode 100644

index c8409510bb1bb90f0a115787bfc59896ea65e1b1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/number_range-glob.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='print <-> x<->y '

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/off-by-one.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/off-by-one.zsh

deleted file mode 100644

index 872143af28f85e62e862d16c131e2f233de709cb..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/off-by-one.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-alias a=:

-f() {}

-BUFFER='a;f;'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/opt-shwordsplit1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/opt-shwordsplit1.zsh

deleted file mode 100644

index 745578554734914295bfd554bae427f3cb61d2a9..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/opt-shwordsplit1.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt shwordsplit

-local EDITOR='ed -s'

-ed() { command ed "$@" }

-BUFFER=$'$EDITOR'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/optimized-cmdsubst-input.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/optimized-cmdsubst-input.zsh

deleted file mode 100644

index ca55ef8391585561dc1a3801db24f6d21f04e88a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/optimized-cmdsubst-input.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See getoutput() and getoutputfile() in zsh's C source code.

-BUFFER=$': $(<*)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-dollar-quote-isnt-filename.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-dollar-quote-isnt-filename.zsh

deleted file mode 100644

index 897a02e6e68e1d4ba3432b06468731aa371a30c2..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-dollar-quote-isnt-filename.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': -$'n''

-touch ./-n

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-path_dirs.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-path_dirs.zsh

deleted file mode 100644

index 0300c7e53ffe5575f164990b3120554d092ff28a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-path_dirs.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-if [[ $OSTYPE == msys ]]; then

-else

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-with-quotes.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-with-quotes.zsh

deleted file mode 100644

index 6286f034905c8a89bd099f60ceeda6d1fdd81f91..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/option-with-quotes.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': --user="phy1729"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/order-path-after-dollar.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/order-path-after-dollar.zsh

deleted file mode 100644

index 773c1838535395ed0277542ce8671c01a4545ce5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/order-path-after-dollar.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch '$foo'

-BUFFER=': $foo $foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/order-path-before-globbing.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/order-path-before-globbing.zsh

deleted file mode 100644

index 8456b1812601bee0b086826c553ad47a0f88e4f3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/order-path-before-globbing.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch '*'

-BUFFER=': * *'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-positional-in-array-append.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-positional-in-array-append.zsh

deleted file mode 100644

index bd39e0218b4916000d3aadb466d9b931a55881b1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-positional-in-array-append.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# This used to be an infinite loop.

-BUFFER=$'l+=( $1'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-precommand-option-argument1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-precommand-option-argument1.zsh

deleted file mode 100644

index 84cf03accebdc320caa28394b4fd52e63d17504c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-precommand-option-argument1.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See also alias-precommand-option-argument1.zsh

-local -a sudo_u; sudo_u=(sudo -u)

-sudo(){}

-BUFFER='$sudo_u phy1729 echo foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-precommand-option-argument3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-precommand-option-argument3.zsh

deleted file mode 100644

index 9a8dde2832ca1ac38a15ca84d076e2fe5376dc98..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/param-precommand-option-argument3.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See also alias-precommand-option-argument3.zsh

-local -a sudo_u; sudo_u=(sudo -u)

-sudo(){}

-BUFFER='$sudo_u phy1729 ls foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-elision-command-word.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-elision-command-word.zsh

deleted file mode 100644

index 25f649a2e9a28673d1cdde58e277cc32174924a3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-elision-command-word.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='$x ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-expansion-untokenized1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-expansion-untokenized1.zsh

deleted file mode 100644

index 8b8b5e4c477713d5b98363f5ca0d6d0a0b7b417c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-expansion-untokenized1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-local x="()"

-BUFFER=$'$x ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-expansion-untokenized2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-expansion-untokenized2.zsh

deleted file mode 100644

index d23a1f2136b2afcfe590440e4b2822cd83f7630f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-expansion-untokenized2.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-local x="^foo^bar"

-BUFFER=$'$x ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-star.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-star.zsh

deleted file mode 100644

index 2311be07628fbbed4eace753830f2b5c59668fb1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-star.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='() { : $* }'

-# This tests that $* isn't highlighted as a glob.

-# If we ever add a "unquoted parameter" style, the expectation may change.

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-to-global-alias.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-to-global-alias.zsh

deleted file mode 100644

index cd2283bf1e0a012471f323a16d295d1a1f9484bd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-to-global-alias.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-if type x >/dev/null; then

-fi

-alias -g x=y

-local s=x

-BUFFER=$'$s'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-value-contains-command-position1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-value-contains-command-position1.zsh

deleted file mode 100644

index 05ea1bfae6517233c3adc01a971b8df45fc55a26..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-value-contains-command-position1.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-local foobar='x=$(ls)'

-BUFFER=$'$foobar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-value-contains-command-position2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-value-contains-command-position2.zsh

deleted file mode 100644

index 5042e899448ab875be467a6fcd0e8b8df827d938..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/parameter-value-contains-command-position2.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-local y='x=$(ls)'

-BUFFER=$'$y'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/pasted-quotes.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/pasted-quotes.zsh

deleted file mode 100644

index f37f21b3673fbf0c1fb6461ec16207f92acb0b74..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/pasted-quotes.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2013 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': 'foo'bar"baz"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-broken-symlink.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-broken-symlink.zsh

deleted file mode 100644

index baebee3617a9b1d3b2d1d1c78f58e54970b2f922..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-broken-symlink.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-if [[ $OSTYPE == msys ]]; then

-else

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word.zsh

deleted file mode 100644

index 99055da9a4197142d8f9ab71705b3f06ac2ab220..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word.zsh

+++ /dev/null

@@ -1,45 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-if [[ $OSTYPE == msys ]]; then

-else

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word2.zsh

deleted file mode 100644

index f404d5d00d74f85cbd22f956d30086833f487b71..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-local lambda="''"

-touch $lambda

-BUFFER=': $lambda'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word3.zsh

deleted file mode 100644

index ec981b1ea13c5c8753dea5c538588060530fd483..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word3.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# «/usr» at this point would be highlighted as path_prefix; so should

-# a parameter that expands to an equivalent string be highlighted.

-#

-# More complicated parameter substitutions aren't eval'd; issue #328.

-BUFFER='$PWD; ${PWD}'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word3b.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word3b.zsh

deleted file mode 100644

index 72a2f7c444930c72853cc3cdcd7ad4eaa6d172ac..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word3b.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt autocd

-BUFFER=$'$PWD; ${PWD}'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word4.zsh

deleted file mode 100644

index e29182cc0b4bab88d192cff32eb526097c487efe..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-dollared-word4.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# This tests for a regression during development of issue #328: an interim version

-# of that branch failed that test with "Bail out! output on stderr".

-BUFFER='${'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-mixed-quoting.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-mixed-quoting.zsh

deleted file mode 100644

index cbd0b38ee138308058189dff32df3b7e18a5fcac..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-mixed-quoting.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch foo

-BUFFER=$': 'f'oo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-separators.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-separators.zsh

deleted file mode 100644

index 52749b793e005cb1a3cbb534fa1be10401746ce7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-separators.zsh

+++ /dev/null

@@ -1,53 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# ZSH_HIGHLIGHT_STYLES is empty in tests. The path-separator code however compares its values.

-# Make sure the relevant ones are set to something.

-ZSH_HIGHLIGHT_STYLES[path_pathseparator]=set

-ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]=set

-mkdir A

-touch A/mu

-BUFFER='ls /bin/ / A/mu A/m'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-separators2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-separators2.zsh

deleted file mode 100644

index bc885a06c75585830b6265ee98da2a8ab93b77f3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-separators2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# ZSH_HIGHLIGHT_STYLES is empty in tests. The path-separator code however compares its values.

-# For this test, make sure both these styles are set and identical:

-ZSH_HIGHLIGHT_STYLES[path]=value

-ZSH_HIGHLIGHT_STYLES[path_pathseparator]=value

-BUFFER='ls /bin/'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-space.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-space.zsh

deleted file mode 100644

index 87cc22f9dfc5fe30f94374bc79be3aca1f768d2a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-space.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-mkdir A

-touch "A/mu with spaces"

-BUFFER='ls A/mu\ with\ spaces'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home.zsh

deleted file mode 100644

index 8b1c68051c599cc795a9782739065a0e45c65371..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-HOME="."

-BUFFER='ls ~'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home2.zsh

deleted file mode 100644

index 3f7b8200ec4f334ad05338d4fa2c257d7628cd39..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home2.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-HOME="/nonexistent"

-BUFFER='ls ~'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home3.zsh

deleted file mode 100644

index 5c076e88d49907ef828e6049d5034cabf4ca151e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-home3.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-HOME="."

-BUFFER='ls ~'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-named.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-named.zsh

deleted file mode 100644

index 335b3fdf7cd259db26d55837c61b6196db703052..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path-tilde-named.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-mkdir mydir

-touch mydir/path-tilde-named.test

-hash -d D=mydir

-BUFFER='ls ~D/path-tilde-named.test'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path.zsh

deleted file mode 100644

index d387eff3ed6b7b5a5e04a86485d5683ec20ae761..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-mkdir A

-touch A/mu

-BUFFER='ls A/mu'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix.zsh

deleted file mode 100644

index 3303bfb4e97a8bc06154a0094891400b639a5166..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Assumes that '/bin/sh' exists and '/bin/s' does not exist.

-# Related to path_prefix2.zsh

-BUFFER='ls /bin/s'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix2.zsh

deleted file mode 100644

index 4f40f7e948d79333936dac15869f7fc890c399ab..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Assumes that '/bin/sh' exists and '/bin/s' does not exist.

-# Related to path_prefix.zsh

-BUFFER='ls /bin/s'

-WIDGET=zle-line-finish

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix3.zsh

deleted file mode 100644

index 9f34f9438cd2b85bc2149f911f0438fda3565992..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/path_prefix3.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Assumes that '/bin/sh' exists and '/bin/s' does not exist.

-# Related to path_prefix.zsh

-PREBUFFER=$'ls \\n'

-BUFFER='/bin/s'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/plain-file-in-command-position.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/plain-file-in-command-position.zsh

deleted file mode 100644

index 141fface5e965654ad9d36ee080ec1ac530eee6a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/plain-file-in-command-position.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch foo

-chmod -x foo

-BUFFER=$'./foo; ./foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-killing1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-killing1.zsh

deleted file mode 100644

index 75983460c665853b2b329f938ebce4ee12a9cee4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-killing1.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-hash sudo=false

-touch foo

-BUFFER='sudo -e ./foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-killing2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-killing2.zsh

deleted file mode 100644

index bc6fc86638fb84fd666283364ed55851ca65d87f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-killing2.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-hash sudo=false

-BUFFER='sudo -e /does/not/exist'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-then-assignment.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-then-assignment.zsh

deleted file mode 100644

index f0bb75ff91cf4aa40db2796029f8603fea5d086f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-then-assignment.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'nice x=y ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type1.zsh

deleted file mode 100644

index 4ce817c29e5db856ea05ce8c0190842edf3dcf7f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type1.zsh

+++ /dev/null

@@ -1,61 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Test the behaviour of a builtin that exists as a command as well.

-# The spaces in $BUFFER are to align precommand-type*.zsh test files.

-BUFFER=$'test ; builtin test ; builtin command test ; nice test '

-# Our expectations assumes that a 'test' external command exists (in addition

-# to the 'test' builtin). Let's verify that, using the EQUALS option (which

-# is on by default). If there's no 'test' command, the expansion will fail,

-# diagnose a message on stdout, and the harness will detect a failure.

-#

-# This seems to work on all platforms, insofar as no one ever reported a bug

-# about their system not having a 'test' binary in PATH. That said, if someone

-# ever does see this test fail for this reason, we should explicitly create

-# a 'test' executable in cwd and 'rehash'.

-: =test

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type2.zsh

deleted file mode 100644

index bf75f4b59ebf40d1fed6e702ef11da4e4aea0d05..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type2.zsh

+++ /dev/null

@@ -1,55 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Test the behaviour of a builtin that does not exist as a command.

-# The spaces in $BUFFER are to align precommand-type*.zsh test files.

-BUFFER=$'zstyle; builtin zstyle; builtin command zstyle; nice zstyle'

-# Verify that no $^path/zstyle(N) binary exists.

-if (disable zstyle; type zstyle >/dev/null); then

-fi

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type3.zsh

deleted file mode 100644

index 7fc7e4c56f0568ab2b5d89ed5b8e6fa7f1efa9ea..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-type3.zsh

+++ /dev/null

@@ -1,55 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Test an external command that does not exist as a builtin.

-# The spaces in $BUFFER are to align precommand-type*.zsh test files.

-BUFFER=$'ls ; builtin ls ; builtin command ls ; nice ls '

-# Verify that the 'ls' command isn't shadowed.

-if [[ $(type -w ls) != "ls: command" ]]; then

-fi

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-uninstalled.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-uninstalled.zsh

deleted file mode 100644

index 03c8a75a389eb2cd1f3e39d937de09cf72d90b97..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-uninstalled.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Simulate sudo not being installed.

-#

-# The 'hash' step is because, if sudo really isn't installed, 'unhash sudo'

-# would error out and break the test.

-hash sudo=/usr/bin/env && unhash sudo

-local PATH

-BUFFER=$'sudo ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-unknown-option.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-unknown-option.zsh

deleted file mode 100644

index 6baf9ff566a81375a5d2f9ae430474543e409284..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand-unknown-option.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-sudo(){}

-BUFFER='sudo -ux ls; sudo -x ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand.zsh

deleted file mode 100644

index a03b3317db0c000ce1d6dc143b2b6c1b580bb86b..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': command zzzzzz'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand2.zsh

deleted file mode 100644

index 75dceabea1dd2185b0046e6ba33575348740a326..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand2.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='command -v ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand3.zsh

deleted file mode 100644

index f8b0c7807bec686dcd072bc017a2ce93e28bfffe..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand3.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='nice -n10 ls; nice -n 10 ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand4.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand4.zsh

deleted file mode 100644

index b9e6119d7687dd99eafcf1d215c2391c68b4c5bd..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/precommand4.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-doas(){}

-BUFFER=$'doas -nu phy1729 ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/prefix-redirection.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/prefix-redirection.zsh

deleted file mode 100644

index a0f0ed5a7ce154d9bd2119d44a03a26fbf2c7133..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/prefix-redirection.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='>/tmp >/tmp command echo >/tmp foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution-after-redirection.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution-after-redirection.zsh

deleted file mode 100644

index 2d58016fb2471caca16fd6ad3abf256183f49e4d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution-after-redirection.zsh

+++ /dev/null

@@ -1,46 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017, 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'< <(pwd) > >(nl)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution-redirection-isnt-globbing.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution-redirection-isnt-globbing.zsh

deleted file mode 100644

index f8dbd6ba240d893a44afcf8e2809a69b7787f313..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution-redirection-isnt-globbing.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': =(<foo)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution.zsh

deleted file mode 100644

index 26600347c50af59a6b8ee3f3fa2d80099ee77fe7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': --foo=<(echo bar) "<(:)"'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution2.zsh

deleted file mode 100644

index cc550902687d29494d5e42ce706f7c42286ed1a8..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/process-substitution2.zsh

+++ /dev/null

@@ -1,51 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo =(:) a=(:) =(echo foo'

-expected_region_highlight=(

-)

-if [[ ${(z):-'$('} == '$( ' ]]; then # ignore zsh 5.0.8 bug

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/quoted-command-substitution-empty.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/quoted-command-substitution-empty.zsh

deleted file mode 100644

index daf3738b164632ac39b2f10f68e34ee689acb19f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/quoted-command-substitution-empty.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='echo "foo$( '

-expected_region_highlight=(

-)

-if [[ ${(z):-'$('} == '$( ' ]]; then # ignore zsh 5.0.8 bug

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/quoted-redirection-in-command-word.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/quoted-redirection-in-command-word.zsh

deleted file mode 100644

index b1a79e100aa8e68eafdfd937ab06c82cdb8f0c9a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/quoted-redirection-in-command-word.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'">" foo ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/rc-quotes.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/rc-quotes.zsh

deleted file mode 100644

index 8cd427aeef73e18fdd507f107e5805d01dd93ac5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/rc-quotes.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt RC_QUOTES

-BUFFER=": 'foo''bar'baz"

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-comment.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-comment.zsh

deleted file mode 100644

index a019100c0ca954b42e45c705c80ca6703b388dc3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-comment.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt interactive_comments

-BUFFER=': <<#foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-from-param.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-from-param.zsh

deleted file mode 100644

index 42ae6380f89f9166e1363d7223f5eebec90f7f0d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-from-param.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-touch file

-local fn=$PWD/file

-BUFFER=$'<$fn cat'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-in-cmdsubst.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-in-cmdsubst.zsh

deleted file mode 100644

index ed5eaef8ddccf03f2fae775dc195fd6265813e4a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-in-cmdsubst.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': $(<foo)'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-inhibits-elision.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-inhibits-elision.zsh

deleted file mode 100644

index c0ca26744f22188394b994a4e59b9d87f8aa7bd3..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-inhibits-elision.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'<$foo cat cat'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-is-not-option.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-is-not-option.zsh

deleted file mode 100644

index 671f21e771d79b7cab983efcfb1988bf0b8cd16f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-is-not-option.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$': > -x >> --yy'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-special-cases.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-special-cases.zsh

deleted file mode 100644

index 733cf6bd88c2c8a9d1e7ce13a4708efa15641756..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection-special-cases.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See xpandredir() in the zsh source.

-BUFFER=$'cat <&p; exec {myfd}>&-'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection.zsh

deleted file mode 100644

index 6a25971a49d84078f34bee2f8f8e4f505cd20119..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Redirection before and after the command word are implemented differently; test both.

-BUFFER='<<>&!bar'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection2.zsh

deleted file mode 100644

index d44c8e7af22301819d2aa170a7de7de8e48256f7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection2.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='ls >(wc) | nl'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection3.zsh

deleted file mode 100644

index bf062cfb71e5411748041f64b5e7bc87a1733d2a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/redirection3.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=': >>>; : <><<<<EOF'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/reserved-word.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/reserved-word.zsh

deleted file mode 100644

index aca3796d8caf4bc25798292a08ef277c6f3e15db..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/reserved-word.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='repeat "1" do done'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/simple-command.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/simple-command.zsh

deleted file mode 100644

index 8bb41fd051023736429e7021c869b23513f0984f..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/simple-command.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/simple-redirection.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/simple-redirection.zsh

deleted file mode 100644

index e8c25e55d1fdd3004f9d97312ec763055e01adbf..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/simple-redirection.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='ps aux | grep java'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/subshell.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/subshell.zsh

deleted file mode 100644

index c068013e084eaac160bcada65b45ae71046ff522..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/subshell.zsh

+++ /dev/null

@@ -1,51 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='tar cf - * | (cd /target; tar xfp -) | { cat }'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-command.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-command.zsh

deleted file mode 100644

index 941349a096d2a32192605e51325996208d25e6a5..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-command.zsh

+++ /dev/null

@@ -1,54 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-sudo(){}

-# Tests three codepaths:

-# * -i (no argument)

-# * -C3 (pasted argument)

-# * -u otheruser (non-pasted argument)

-BUFFER='sudo -C3 -u otheruser -i ls /; sudo ; sudo -u ; sudo notacommand'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-comment.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-comment.zsh

deleted file mode 100644

index 74cd905a117dc363b23b5bc53d3e241adb2f5698..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-comment.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-sudo(){}

-setopt interactive_comments

-BUFFER='sudo -u # comment'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-longopt.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-longopt.zsh

deleted file mode 100644

index ef768bfbd0cf7d4f8742654f30c15c3c90bd4f4a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-longopt.zsh

+++ /dev/null

@@ -1,38 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-hash sudo='false'

-BUFFER='sudo --askpass ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection.zsh

deleted file mode 100644

index c675d7d27ebfee7e7342bd52064303df34fd58f7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection.zsh

+++ /dev/null

@@ -1,48 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-sudo(){}

-BUFFER='sudo -u >/tmp otheruser ls; sudo ls; sudo -i ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection2.zsh

deleted file mode 100644

index 23ada53cbce8a440f4589c1923a28233e70cd9ae..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection2.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-sudo(){}

-BUFFER='sudo >/tmp -u otheruser ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection3.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection3.zsh

deleted file mode 100644

index 80e55b55f8e68e4a0d0c722c7b95c1f322589fc7..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/sudo-redirection3.zsh

+++ /dev/null

@@ -1,41 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-sudo(){}

-BUFFER='sudo 2>./. -u otheruser ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/tilde-command-word.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/tilde-command-word.zsh

deleted file mode 100644

index 67c996c905ce2ebff919ed4db6ad421a5a30d5d4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/tilde-command-word.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-hash -d D=/usr/bin

-BUFFER='~D/env foo'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/time-and-nocorrect1.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/time-and-nocorrect1.zsh

deleted file mode 100644

index fb398edff800378f3ae07a31b1168e446f28fbba..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/time-and-nocorrect1.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'time ls; nocorrect ls'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/time-and-nocorrect2.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/time-and-nocorrect2.zsh

deleted file mode 100644

index 5549ee926506dfac46719fb0ba183fa58c1c7429..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/time-and-nocorrect2.zsh

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2019 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER=$'time ls; nocorrect ls'

-alias time=':' nocorrect=':'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/unbackslash.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/unbackslash.zsh

deleted file mode 100644

index c8dfbd4c6762b38e3967419b3c11bf75dbbabddf..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/unbackslash.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='\sh'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/unknown-command.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/unknown-command.zsh

deleted file mode 100644

index e71faec58aa34be1686133876161b266263664b4..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/unknown-command.zsh

+++ /dev/null

@@ -1,34 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='azertyuiop'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/vanilla-newline.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/vanilla-newline.zsh

deleted file mode 100644

index bd60ad4cc37e85b0982befd7b7afdcc04a1e7215..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/vanilla-newline.zsh

+++ /dev/null

@@ -1,39 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-PREBUFFER=$'echo foo; echo bar\n\n\n'

-BUFFER=' echo baz; echo qux'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/vi-linewise-mode.zsh b/zsh/.zsh/zsh-syntax/highlighters/main/test-data/vi-linewise-mode.zsh

deleted file mode 100644

index 7003c49ceecf489d528632f19391d81e1479a895..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/main/test-data/vi-linewise-mode.zsh

+++ /dev/null

@@ -1,43 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# See issue #267 for the magic numbers

-BUFFER=$'foo foo\nbar bar'

-REGION_ACTIVE=2

-CURSOR=4

-MARK=12

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/pattern/README.md b/zsh/.zsh/zsh-syntax/highlighters/pattern/README.md

deleted file mode 120000

index 5ff00e645182a877655be38487877cd6307520d8..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/pattern/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/pattern.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/pattern/pattern-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/pattern/pattern-highlighter.zsh

deleted file mode 100644

index e0422d08484748e18e406419f9787b781148fe12..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/pattern/pattern-highlighter.zsh

+++ /dev/null

@@ -1,60 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# List of keyword and color pairs.

-typeset -gA ZSH_HIGHLIGHT_PATTERNS

-# Whether the pattern highlighter should be called or not.

-_zsh_highlight_highlighter_pattern_predicate()

-{

-}

-# Pattern syntax highlighting function.

-_zsh_highlight_highlighter_pattern_paint()

-{

-}

-_zsh_highlight_pattern_highlighter_loop()

-{

-}

diff --git a/zsh/.zsh/zsh-syntax/highlighters/pattern/test-data/rm-rf.zsh b/zsh/.zsh/zsh-syntax/highlighters/pattern/test-data/rm-rf.zsh

deleted file mode 100644

index 2f76929408531a3b0b0e1ca65c95e955bde6af63..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/pattern/test-data/rm-rf.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')

-BUFFER='rm -rf /'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/regexp/README.md b/zsh/.zsh/zsh-syntax/highlighters/regexp/README.md

deleted file mode 120000

index 9f2522d5197bda6c1c177b68eeed1b63f0283922..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/regexp/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/regexp.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/regexp/regexp-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/regexp/regexp-highlighter.zsh

deleted file mode 100644

index 0d43aacd3ae226f430b20defe43b8f81effea5bc..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/regexp/regexp-highlighter.zsh

+++ /dev/null

@@ -1,62 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# List of keyword and color pairs.

-typeset -gA ZSH_HIGHLIGHT_REGEXP

-# Whether the pattern highlighter should be called or not.

-_zsh_highlight_highlighter_regexp_predicate()

-{

-}

-# Pattern syntax highlighting function.

-_zsh_highlight_highlighter_regexp_paint()

-{

-}

-_zsh_highlight_regexp_highlighter_loop()

-{

-}

diff --git a/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/complex.zsh b/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/complex.zsh

deleted file mode 100644

index 4e0089b96bc4733d6202625d26094f9dd6e91c1a..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/complex.zsh

+++ /dev/null

@@ -1,37 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-ZSH_HIGHLIGHT_REGEXP+=('[0-9+-]+' 'fg=white,bold,bg=red')

-BUFFER='echo 1+9-3 7+2'

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/subexpression.zsh b/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/subexpression.zsh

deleted file mode 100644

index 308cb413f516d93b5fe7c04fb2c6e3aa62989ba1..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/subexpression.zsh

+++ /dev/null

@@ -1,36 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2018 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-BUFFER='ls foo'

-ZSH_HIGHLIGHT_REGEXP=('(^| )(ls|cd)($| )' 'fg=green')

-expected_region_highlight=(

-)

diff --git a/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/word-boundary.zsh b/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/word-boundary.zsh

deleted file mode 100644

index 1f4f6665bff7c79593a50faf08a096efa2eb6a61..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/regexp/test-data/word-boundary.zsh

+++ /dev/null

@@ -1,42 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-if zmodload zsh/pcre 2>/dev/null; then

-else

-fi

diff --git a/zsh/.zsh/zsh-syntax/highlighters/root/README.md b/zsh/.zsh/zsh-syntax/highlighters/root/README.md

deleted file mode 120000

index ca6799d6f1059b74dee455346fd20217eb232a1c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/root/README.md

+++ /dev/null

@@ -1 +0,0 @@

-../../docs/highlighters/root.md

\ No newline at end of file

diff --git a/zsh/.zsh/zsh-syntax/highlighters/root/root-highlighter.zsh b/zsh/.zsh/zsh-syntax/highlighters/root/root-highlighter.zsh

deleted file mode 100644

index 3718c449ae43b939766be352e5b2f7d6a494f425..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/highlighters/root/root-highlighter.zsh

+++ /dev/null

@@ -1,44 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2011 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Define default styles.

-: ${ZSH_HIGHLIGHT_STYLES[root]:=standout}

-# Whether the root highlighter should be called or not.

-_zsh_highlight_highlighter_root_predicate()

-{

-}

-# root highlighting function.

-_zsh_highlight_highlighter_root_paint()

-{

-}

diff --git a/zsh/.zsh/zsh-syntax/images/after1-smaller.png b/zsh/.zsh/zsh-syntax/images/after1-smaller.png

deleted file mode 100644

index 768294c3b3cdee1b8bb60849faad86aaa05b4ab9..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after1-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/after1.png b/zsh/.zsh/zsh-syntax/images/after1.png

deleted file mode 100644

index ea378d3efbcf363e727d6c0689702d02ebd9700a..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after1.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/after2-smaller.png b/zsh/.zsh/zsh-syntax/images/after2-smaller.png

deleted file mode 100644

index 8b5b1f8f21d923c80a7d4c787e66774f4d9a170f..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after2-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/after2.png b/zsh/.zsh/zsh-syntax/images/after2.png

deleted file mode 100644

index ddcbfad70bbb9e76d1a259408a4ac34870d922e9..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after2.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/after3-smaller.png b/zsh/.zsh/zsh-syntax/images/after3-smaller.png

deleted file mode 100644

index d6aaa7bdf30aea607d98d8fa23f715534cb3bea7..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after3-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/after3.png b/zsh/.zsh/zsh-syntax/images/after3.png

deleted file mode 100644

index 7a0af8874bfd4084091c495ff1bf9aede523b11a..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after3.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/after4-smaller.png b/zsh/.zsh/zsh-syntax/images/after4-smaller.png

deleted file mode 100644

index fc946cf038822083111f753f7bdb814ba8a22304..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/after4-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before1-smaller.png b/zsh/.zsh/zsh-syntax/images/before1-smaller.png

deleted file mode 100644

index b29551eaf020276e65ae29976892d2e3de3e8453..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before1-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before1.png b/zsh/.zsh/zsh-syntax/images/before1.png

deleted file mode 100644

index 80c6f54ff5941aad6244aa9f3be3cb4d4d0311ec..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before1.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before2-smaller.png b/zsh/.zsh/zsh-syntax/images/before2-smaller.png

deleted file mode 100644

index 991a716d54186b242ea0a09c13b5533f5719d6bf..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before2-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before2.png b/zsh/.zsh/zsh-syntax/images/before2.png

deleted file mode 100644

index 48cfc327a65b527fd73a8eaf144298e753e64357..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before2.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before3-smaller.png b/zsh/.zsh/zsh-syntax/images/before3-smaller.png

deleted file mode 100644

index e525c6d4b1478af025a32e29bed9c3883d5e9d2d..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before3-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before3.png b/zsh/.zsh/zsh-syntax/images/before3.png

deleted file mode 100644

index 40c360151a09b90ea2b449b4e8f07c9a16d5837d..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before3.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/before4-smaller.png b/zsh/.zsh/zsh-syntax/images/before4-smaller.png

deleted file mode 100644

index 2dbd0588b767e802d3ff640de6319e5fdca4de24..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/before4-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/preview-smaller.png b/zsh/.zsh/zsh-syntax/images/preview-smaller.png

deleted file mode 100644

index 6fb84d18e545b56beef047eea45d7b03f9e50c05..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/preview-smaller.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/images/preview.png b/zsh/.zsh/zsh-syntax/images/preview.png

deleted file mode 100644

index 545cc511abf0cc90fc9020cf6665f5aad2062eec..0000000000000000000000000000000000000000

Binary files a/zsh/.zsh/zsh-syntax/images/preview.png and /dev/null differ

diff --git a/zsh/.zsh/zsh-syntax/release.md b/zsh/.zsh/zsh-syntax/release.md

deleted file mode 100644

index 075f22131987196d9d7ccf3987b9c9cdd219ad2c..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/release.md

+++ /dev/null

@@ -1,20 +0,0 @@

-# Release procedure (for developers):

-- For minor (A.B.0) releases:

-- Check open issues and outstanding pull requests

-- Confirm make test passes

-- Update changelog.md

-- Make sure there are no local commits and that git status is clean;

-- Push with git push && git push --tags

-- Notify downstreams (OS packages)

-- Update /topic on IRC

diff --git a/zsh/.zsh/zsh-syntax/tests/README.md b/zsh/.zsh/zsh-syntax/tests/README.md

deleted file mode 100644

index cb3d943cb5140ea7b368c50af873e82df12a3ab9..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/README.md

+++ /dev/null

@@ -1,124 +0,0 @@

-zsh-syntax-highlighting / tests

-===============================

-Utility scripts for testing zsh-syntax-highlighting highlighters.

-The tests harness expects the highlighter directory to contain a test-data

-directory with test data files.

-See the main highlighter for examples.

-Tests should set the following variables:

-1.

-Each test should define the string $BUFFER that is to be highlighted and the

-array parameter $expected_region_highlight.

-The value of that parameter is a list of strings of the form "$i $j $style".

-or "$i $j $style $todo".

-Each string specifies the highlighting that $BUFFER[$i,$j] should have;

-that is, $i and $j specify a range, 1-indexed, inclusive of both endpoints.

-$style is a key of $ZSH_HIGHLIGHT_STYLES.

-If $todo exists, the test point is marked as TODO (the failure of that test

-point will not fail the test), and $todo is used as the explanation.

-2.

-If a test sets $skip_test to a non-empty string, the test will be skipped

-with the provided string as the reason.

-3.

-If a test sets $fail_test to a non-empty string, the test will be skipped

-with the provided string as the reason.

-4.

-If a test sets unsorted=1 the order of highlights in $expected_region_highlight

-need not match the order in $region_highlight.

-5.

-Normally, tests fail if $expected_region_highlight and $region_highlight

-have different numbers of elements. To mark this check as expected to fail,

-tests may set $expected_mismatch to an explanation string (like $todo);

-this is useful when the only difference between actual and expected is that actual

-has some additional, superfluous elements. This check is skipped if the

-$todo component is present in any regular test point.

-Note: $region_highlight uses the same "$i $j $style" syntax but

-interprets the indexes differently.

-Note: Tests are run with setopt NOUNSET WARN_CREATE_GLOBAL, so any

-variables the test creates must be declared local.

-Isolation: Each test is run in a separate subshell, so any variables,

-aliases, functions, etc., it defines will be visible to the tested code (that

-computes $region_highlight), but will not affect subsequent tests. The

-current working directory of tests is set to a newly-created empty directory,

-which is automatically cleaned up after the test exits. For example:

-```zsh

-setopt PATH_DIRS

-mkdir -p foo/bar

-touch foo/bar/testing-issue-228

-chmod +x foo/bar/testing-issue-228

-path+=( "$PWD"/foo )

-BUFFER='bar/testing-issue-228'

-expected_region_highlight=(

-)

-```

-Writing new tests


-An experimental tool is available to generate test files:

-```zsh

-zsh -f tests/generate.zsh 'ls -x' acme newfile

-```

-This generates a highlighters/acme/test-data/newfile.zsh test file based on

-the current highlighting of the given $BUFFER (in this case, ls -x).

-This tool is experimental. Its interface may change. In particular it may

-grow ways to set $PREBUFFER to inject free-form code into the generated file.

-Highlighting test


-test-highlighting.zsh tests the correctness of

-the highlighting. Usage:

-```zsh

-zsh test-highlighting.zsh

-```

-All tests may be run with

-```zsh

-make test

-```

-which will run all highlighting tests and report results in [TAP format][TAP].

-By default, the results of all tests will be printed; to show only "interesting"

-results (tests that failed but were expected to succeed, or vice-versa), run

-make quiet-test (or make test QUIET=y).

-[TAP]: http://testanything.org/

-Performance test


-test-perfs.zsh measures the time spent doing the

-highlighting. Usage:

-```zsh

-zsh test-perfs.zsh

-```

-All tests may be run with

-```zsh

-make perf

-```

diff --git a/zsh/.zsh/zsh-syntax/tests/edit-failed-tests b/zsh/.zsh/zsh-syntax/tests/edit-failed-tests

deleted file mode 100755

index e3a76685cddbc513348f62e810764e67607e086e..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/edit-failed-tests

+++ /dev/null

@@ -1,40 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-type perl sponge >/dev/null || { print -ru2 -- "$0: This script requires perl(1) and sponge(1) [from moreutils]"; exit 1; }

-local editor=( "${(@Q)${(z)${VISUAL:-${EDITOR:-vi}}}}" )

-() {

-} =(${MAKE:-make} quiet-test) =(:)

-# TODO: tee(1) the quiet-test output to /dev/tty as it's happening, with colors.

diff --git a/zsh/.zsh/zsh-syntax/tests/generate.zsh b/zsh/.zsh/zsh-syntax/tests/generate.zsh

deleted file mode 100755

index 56960202b42e2e426bdd57de92e61d28b605dd2d..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/generate.zsh

+++ /dev/null

@@ -1,117 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2016 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-emulate -LR zsh

-setopt localoptions extendedglob

-# Required for add-zle-hook-widget.

-zmodload zsh/zle

-# Argument parsing.

-if (( $# * $# - 7 * $# + 12 )) || [[ $1 == -* ]]; then

-fi

-buffer=$1

-ZSH_HIGHLIGHT_HIGHLIGHTERS=( $2 )

-fname=${0:A:h:h}/highlighters/$2/test-data/${3%.zsh}.zsh

-preamble=${4:-""}

-# Load the main script.

-. ${0:A:h:h}/zsh-syntax-highlighting.zsh

-# Overwrite _zsh_highlight_add_highlight so we get the key itself instead of the style

-_zsh_highlight_add_highlight()

-{

-}

-# Copyright block

-year="LC_ALL=C date +%Y"

-if ! { read -q "?Set copyright year to $year? " } always { echo "" }; then

-fi

-<$0 sed -n -e '1,/^$/p' | sed -e "s/2[0-9][0-9][0-9]/${year}/" > $fname

-# Assumes stdout is line-buffered

-git add -- $fname

-exec > >(tee -a $fname)

-# Preamble

-if [[ -n $preamble ]]; then

-fi

-# Buffer

-print -n 'BUFFER='

-if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then

-else

-fi

-echo ""

-# Expectations

-print 'expected_region_highlight=('

-() {

-}

-print ')'

diff --git a/zsh/.zsh/zsh-syntax/tests/tap-colorizer.zsh b/zsh/.zsh/zsh-syntax/tests/tap-colorizer.zsh

deleted file mode 100755

index f3dc84e7e61b4a28dcb412412edd0a1c70f814e9..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/tap-colorizer.zsh

+++ /dev/null

@@ -1,71 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015, 2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# This is a stdin-to-stdout filter that takes TAP output (such as 'make test')

-# on stdin and passes it, colorized, to stdout.

-emulate -LR zsh

-if [[ ! -t 1 ]] ; then

-fi

-while read -r line;

-do

-done

diff --git a/zsh/.zsh/zsh-syntax/tests/tap-filter b/zsh/.zsh/zsh-syntax/tests/tap-filter

deleted file mode 100755

index f9aa604143b46ea53de8943eb5ca7ecd50f9fe92..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/tap-filter

+++ /dev/null

@@ -1,47 +0,0 @@

-#!/usr/bin/env perl

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# vim: ft=perl sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# This is a stdin-to-stdout filter that takes TAP output (such as 'make test')

-# on stdin and deletes lines pertaining to expected results.

-#

-# More specifically, if any of the test points in a test file either failed but

-# was expected to pass, or passed but was expected to fail, then emit that test

-# file's output; else, elide that test file's output.

-use v5.10.0;

-use warnings;

-use strict;

-undef $/; # slurp mode

-print for

diff --git a/zsh/.zsh/zsh-syntax/tests/test-highlighting.zsh b/zsh/.zsh/zsh-syntax/tests/test-highlighting.zsh

deleted file mode 100755

index 8b564a8b97c6de3d4a44f7f8232b725dc7a24528..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/test-highlighting.zsh

+++ /dev/null

@@ -1,291 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2017 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-setopt NO_UNSET WARN_CREATE_GLOBAL

-# Required for add-zle-hook-widget.

-zmodload zsh/zle

-local -r root=${0:h:h}

-local -a anon_argv; anon_argv=("$@")

-(){

-set -- "${(@)anon_argv}"

-# Check an highlighter was given as argument.

-[[ -n "$1" ]] || {

-}

-# Check the highlighter is valid.

-[[ -f $root/highlighters/$1/$1-highlighter.zsh ]] || {

-}

-# Check the highlighter has test data.

-[[ -d $root/highlighters/$1/test-data ]] || {

-}

-# Set up results_filter

-local results_filter

-if [[ ${QUIET-} == y ]]; then

-else

-fi

-[[ -n $results_filter ]] || { echo >&2 "Bail out! BUG setting $results_filter"; exit 2 }

-# Load the main script.

-# While here, test that it doesn't eat aliases.

-print > >($results_filter | $root/tests/tap-colorizer.zsh) -r -- "# global (driver) tests"

-print > >($results_filter | $root/tests/tap-colorizer.zsh) -r -- "1..1"

-alias -- +plus=plus

-alias -- _other=other

-local original_alias_dash_L_output="$(alias -L)"

-. $root/zsh-syntax-highlighting.zsh

-if [[ $original_alias_dash_L_output == $(alias -L) ]]; then

-else

-fi > >($results_filter | $root/tests/tap-colorizer.zsh)

-# Overwrite _zsh_highlight_add_highlight so we get the key itself instead of the style

-_zsh_highlight_add_highlight()

-{

-}

-# Activate the highlighter.

-ZSH_HIGHLIGHT_HIGHLIGHTERS=($1)

-# In zsh<5.3, 'typeset -p arrayvar' emits two lines, so we use this wrapper instead.

-typeset_p() {

-}

-# Escape # as ♯ and newline as ↵ they are illegal in the 'description' part of TAP output

-# The string to escape is «"$@"»; the result is returned in $REPLY.

-tap_escape() {

-}

-# Runs a highlighting test

-# $1: data file

-run_test_internal() {

-}

-# Run a single test file. The exit status is 1 if the test harness had

-# an error and 0 otherwise. The exit status does not depend on whether

-# test points succeeded or failed.

-run_test() {

-}

-# Process each test data file in test data directory.

-integer something_failed=0

-ZSH_HIGHLIGHT_STYLES=()

-local data_file

-for data_file in $root/highlighters/$1/test-data/*.zsh; do

-done

-exit $something_failed

-}

diff --git a/zsh/.zsh/zsh-syntax/tests/test-perfs.zsh b/zsh/.zsh/zsh-syntax/tests/test-perfs.zsh

deleted file mode 100755

index aa139aad5c8ea742f37788f414ebf52c9e2074e0..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/test-perfs.zsh

+++ /dev/null

@@ -1,103 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Required for add-zle-hook-widget.

-zmodload zsh/zle

-# Check an highlighter was given as argument.

-[[ -n "$1" ]] || {

-}

-# Check the highlighter is valid.

-[[ -f ${0:h:h}/highlighters/$1/$1-highlighter.zsh ]] || {

-}

-# Check the highlighter has test data.

-[[ -d ${0:h:h}/highlighters/$1/test-data ]] || {

-}

-# Load the main script.

-typeset -a region_highlight

-. ${0:h:h}/zsh-syntax-highlighting.zsh

-# Activate the highlighter.

-ZSH_HIGHLIGHT_HIGHLIGHTERS=($1)

-# Runs a highlighting test

-# $1: data file

-run_test_internal() {

-}

-run_test() {

-}

-# Process each test data file in test data directory.

-local data_file

-TIMEFMT="%*Es"

-{ time (for data_file in ${0:h:h}/highlighters/$1/test-data/*.zsh; do

-done) } 2>&1 || exit $?

-exit 0

diff --git a/zsh/.zsh/zsh-syntax/tests/test-zprof.zsh b/zsh/.zsh/zsh-syntax/tests/test-zprof.zsh

deleted file mode 100755

index ada161879831f879de5f884f3d0d0cd2559f0aae..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/tests/test-zprof.zsh

+++ /dev/null

@@ -1,78 +0,0 @@

-#!/usr/bin/env zsh

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2015 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# Load the main script.

-typeset -a region_highlight

-. ${0:h:h}/zsh-syntax-highlighting.zsh

-# Activate the highlighter.

-ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)

-source_file=0.7.1:highlighters/$1/$1-highlighter.zsh

-# Runs a highlighting test

-# $1: data file

-run_test_internal() {

-}

-run_test() {

-}

-run_test

diff --git a/zsh/.zsh/zsh-syntax/zsh-syntax-highlighting.plugin.zsh b/zsh/.zsh/zsh-syntax/zsh-syntax-highlighting.plugin.zsh

deleted file mode 100644

index f2456aecd5de5856dd43b57c3b51f45772adba53..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/zsh-syntax-highlighting.plugin.zsh

+++ /dev/null

@@ -1,2 +0,0 @@

-0=${(%):-%N}

-source ${0:A:h}/zsh-syntax-highlighting.zsh

diff --git a/zsh/.zsh/zsh-syntax/zsh-syntax-highlighting.zsh b/zsh/.zsh/zsh-syntax/zsh-syntax-highlighting.zsh

deleted file mode 100644

index d20dc5b24291c7dcc0d28978201b24cd663c0e66..0000000000000000000000000000000000000000

--- a/zsh/.zsh/zsh-syntax/zsh-syntax-highlighting.zsh

+++ /dev/null

@@ -1,597 +0,0 @@

-# -------------------------------------------------------------------------------------------------

-# Copyright (c) 2010-2020 zsh-syntax-highlighting contributors

-# All rights reserved.

-#

-# Redistribution and use in source and binary forms, with or without modification, are permitted

-# provided that the following conditions are met:

-#

-# * Redistributions of source code must retain the above copyright notice, this list of conditions

-# and the following disclaimer.

-# * Redistributions in binary form must reproduce the above copyright notice, this list of

-# conditions and the following disclaimer in the documentation and/or other materials provided

-# with the distribution.

-# * Neither the name of the zsh-syntax-highlighting contributors nor the names of its contributors

-# may be used to endorse or promote products derived from this software without specific prior

-# written permission.

-#

-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR

-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND

-# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR

-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL

-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,

-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER

-# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT

-# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

-# -------------------------------------------------------------------------------------------------

-# -- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; --

-# vim: ft=zsh sw=2 ts=2 et

-# -------------------------------------------------------------------------------------------------

-# First of all, ensure predictable parsing.

-typeset zsh_highlight__aliases="$(builtin alias -Lm '[^+]*')"

-# In zsh <= 5.2, aliases that begin with a plus sign ('alias -- +foo=42')

-# are emitted by alias -L without a '--' guard, so they don't round trip.

-#

-# Hence, we exclude them from unaliasing:

-builtin unalias -m '[^+]*'

-# Set $0 to the expected value, regardless of functionargzero.

-0=${(%):-%N}

-if true; then

-fi

-# This function takes a single argument F and returns True iff F is an autoload stub.

-_zsh_highlight__function_is_autoload_stub_p() {

-}

-# Return True iff the argument denotes a function name.

-_zsh_highlight__is_function_p() {

-}

-# This function takes a single argument F and returns True iff F denotes the

-# name of a callable function. A function is callable if it is fully defined

-# or if it is marked for autoloading and autoloading it at the first call to it

-# will succeed. In particular, if a function has been marked for autoloading

-# but is not available in $fpath, then this function will return False therefor.

-#

-# See users/21671 http://www.zsh.org/cgi-bin/mla/redirect?USERNUMBER=21671

-_zsh_highlight__function_callable_p() {

-}

-# -------------------------------------------------------------------------------------------------

-# Core highlighting update system

-# -------------------------------------------------------------------------------------------------

-# Use workaround for bug in ZSH?

-# zsh-users/zsh@48cadf4 http://www.zsh.org/mla/workers//2017/msg00034.html

-autoload -Uz is-at-least

-if is-at-least 5.4; then

-else

-fi

-# Array declaring active highlighters names.

-typeset -ga ZSH_HIGHLIGHT_HIGHLIGHTERS

-# Update ZLE buffer syntax highlighting.

-#

-# Invokes each highlighter that needs updating.

-# This function is supposed to be called whenever the ZLE state changes.

-_zsh_highlight()

-{

-}

-# Apply highlighting based on entries in the zle_highlight array.

-# This function takes four arguments:

-# 1. The exact entry (no patterns) in the zle_highlight array:

-# region, paste, isearch, or suffix

-# 2. The default highlighting that should be applied if the entry is unset

-# 3. and 4. Two integer values describing the beginning and end of the

-# range. The order does not matter.

-_zsh_highlight_apply_zle_highlight() {

-}

-# -------------------------------------------------------------------------------------------------

-# API/utility functions for highlighters

-# -------------------------------------------------------------------------------------------------

-# Array used by highlighters to declare user overridable styles.

-typeset -gA ZSH_HIGHLIGHT_STYLES

-# Whether the command line buffer has been modified or not.

-#

-# Returns 0 if the buffer has changed since _zsh_highlight was last called.

-_zsh_highlight_buffer_modified()

-{

-}

-# Whether the cursor has moved or not.

-#

-# Returns 0 if the cursor has moved since _zsh_highlight was last called.

-_zsh_highlight_cursor_moved()

-{

-}

-# Add a highlight defined by ZSH_HIGHLIGHT_STYLES.

-#

-# Should be used by all highlighters aside from 'pattern' (cf. ZSH_HIGHLIGHT_PATTERN).

-# Overwritten in tests/test-highlighting.zsh when testing.

-_zsh_highlight_add_highlight()

-{

-}

-# -------------------------------------------------------------------------------------------------

-# Setup functions

-# -------------------------------------------------------------------------------------------------

-# Helper for _zsh_highlight_bind_widgets

-# $1 is name of widget to call

-_zsh_highlight_call_widget()

-{

-}

-# Decide whether to use the zle-line-pre-redraw codepath (colloquially known as

-# "feature/redrawhook", after the topic branch's name) or the legacy "bind all

-# widgets" codepath.

-#

-# We use the new codepath under two conditions:

-#

-# 1. If it's available, which we check by testing for add-zle-hook-widget's availability.

-#

-# 2. If zsh has the memo= feature, which is required for interoperability reasons.

-# See issues #579 and #735, and the issues referenced from them.

-#

-# We check this with a plain version number check, since a functional check,

-# as done by _zsh_highlight, can only be done from inside a widget

-# function — a catch-22.

-#

-# See _zsh_highlight for the magic version number. (The use of 5.8.0.2

-# rather than 5.8.0.3 as in the _zsh_highlight is deliberate.)

-if is-at-least 5.8.0.2 $ZSH_VERSION.0.0 && _zsh_highlight__function_callable_p add-zle-hook-widget

-then

-else

-fi

-# Load highlighters from directory.

-#

-# Arguments:

-# 1) Path to the highlighters directory.

-_zsh_highlight_load_highlighters()

-{

-}

-# -------------------------------------------------------------------------------------------------

-# Setup

-# -------------------------------------------------------------------------------------------------

-# Try binding widgets.

-_zsh_highlight_bind_widgets || {

-}

-# Resolve highlighters directory location.

-_zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${${0:A}:h}/highlighters}" || {

-}

-# Reset scratch variables when commandline is done.

-_zsh_highlight_preexec_hook()

-{

-}

-autoload -Uz add-zsh-hook

-add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || {

-# Load zsh/parameter module if available

-zmodload zsh/parameter 2>/dev/null || true

-# Initialize the array of active highlighters if needed.

-[[ $#ZSH_HIGHLIGHT_HIGHLIGHTERS -eq 0 ]] && ZSH_HIGHLIGHT_HIGHLIGHTERS=(main)

-if (( $+X_ZSH_HIGHLIGHT_DIRS_BLACKLIST )); then

-fi

-# Restore the aliases we unned

-eval "$zsh_highlight__aliases"

-builtin unset zsh_highlight__aliases

-# Set $?.

-true

Proxy Information
Original URL
gemini://mkl-wlod.srht.site/repo/commits/68e63a41b0952640cfd510e3107857aed142c09e.patch
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
723.419113 milliseconds
Gemini-to-HTML Time
200.36429 milliseconds

This content has been proxied by September (3851b).