fish.kak: fix highlighting for single quoted strings
fish allows to escape single quotes within single quoted strings, just like double quotes in double quoted strings. https://fishshell.com/docs/current/index.html#quotes
This commit is contained in:
parent
aad20f6576
commit
bb865a18c1
|
@ -34,7 +34,7 @@ provide-module fish %{
|
|||
add-highlighter shared/fish regions
|
||||
add-highlighter shared/fish/code default-region group
|
||||
add-highlighter shared/fish/double_string region '"' (?<!\\)(\\\\)*" group
|
||||
add-highlighter shared/fish/single_string region "'" "'" fill string
|
||||
add-highlighter shared/fish/single_string region "'" (?<!\\)(\\\\)*' fill string
|
||||
add-highlighter shared/fish/comment region '#' '$' fill comment
|
||||
|
||||
add-highlighter shared/fish/double_string/ fill string
|
||||
|
|
Loading…
Reference in New Issue
Block a user