mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Add punctuation matching for '...'
strings.
This commit is contained in:
parent
7189edca8e
commit
d5249e4678
@ -68,6 +68,12 @@
|
||||
(string "\"" @punctuation.definition.string.end.shell
|
||||
(#is? test.last true))
|
||||
(raw_string) @string.quoted.single.shell
|
||||
((raw_string) @punctuation.definition.string.begin.shell
|
||||
(#match? @punctuation.definition.string.begin.shell "^.")
|
||||
(#set! adjust.startAndEndAroundFirstMatchOf "^."))
|
||||
((raw_string) @punctuation.definition.string.end.shell
|
||||
(#match? @punctuation.definition.string.begin.shell ".$")
|
||||
(#set! adjust.startAndEndAroundFirstMatchOf ".$"))
|
||||
(ansi_c_string) @string.quoted.single.shell
|
||||
((ansi_c_string) @punctuation.definition.string.begin.shell
|
||||
(#match? @punctuation.definition.string.begin.shell "^..")
|
||||
|
Loading…
Reference in New Issue
Block a user