Merge remote-tracking branch 'krobelus/highlight-nested-variable-expansions'
This commit is contained in:
commit
beeaf19801
|
@ -23,7 +23,7 @@ add-highlighter shared/sh regions
|
||||||
add-highlighter shared/sh/code default-region group
|
add-highlighter shared/sh/code default-region group
|
||||||
add-highlighter shared/sh/double_string region %{(?<!\\)(?:\\\\)*\K"} %{(?<!\\)(?:\\\\)*"} group
|
add-highlighter shared/sh/double_string region %{(?<!\\)(?:\\\\)*\K"} %{(?<!\\)(?:\\\\)*"} group
|
||||||
add-highlighter shared/sh/single_string region %{(?<!\\)(?:\\\\)*\K'} %{'} fill string
|
add-highlighter shared/sh/single_string region %{(?<!\\)(?:\\\\)*\K'} %{'} fill string
|
||||||
add-highlighter shared/sh/expansion region '\$\{' '\}|\n' fill value
|
add-highlighter shared/sh/expansion region -recurse \$\{ \$\{ \}|\n fill value
|
||||||
add-highlighter shared/sh/comment region (?<!\\)(?:\\\\)*(?:^|\h)\K# '$' fill comment
|
add-highlighter shared/sh/comment region (?<!\\)(?:\\\\)*(?:^|\h)\K# '$' fill comment
|
||||||
add-highlighter shared/sh/heredoc region -match-capture '<<-?\h*''?(\w+)''?' '^\t*(\w+)$' fill string
|
add-highlighter shared/sh/heredoc region -match-capture '<<-?\h*''?(\w+)''?' '^\t*(\w+)$' fill string
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user