main: Highlight unclosed backtick subshells

This commit is contained in:
Matthew Martin
2018-01-07 22:06:39 -06:00
parent 987b743646
commit d17417ec1b
3 changed files with 23 additions and 4 deletions

View File

@@ -35,6 +35,7 @@ This highlighter defines the following styles:
* `single-hyphen-option` - single hyphen options (`-o`)
* `double-hyphen-option` - double hyphen options (`--option`)
* `back-quoted-argument` - backquoted expressions (`` `foo` ``)
* `back-quoted-argument-unclosed` - unclosed 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" ``)