main: Add *-quoted-argument-unclosed styles

Closes #277.
This commit is contained in:
Matthew Martin
2017-11-15 22:38:19 -06:00
parent ff61a496b5
commit bdbe214453
5 changed files with 30 additions and 8 deletions

View File

@@ -36,8 +36,11 @@ This highlighter defines the following styles:
* `double-hyphen-option` - double hyphen options (`--option`)
* `back-quoted-argument` - backquoted expressions (`` `foo` ``)
* `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` - back double quoted arguments (`\x` inside `""`)