swift.vim icon indicating copy to clipboard operation
swift.vim copied to clipboard

Highlighting issue when escaping triple quotation marks

Open Ran4 opened this issue 7 years ago • 0 comments

Triple quotation marks can be escaped in two ways: either \"\"\" or \""".

The first one works fine, but the second one breaks the syntax highlighting:

"""
\"\"\"
"""

print("Syntax highlighting works on this line")
"""
\"""
"""

print("Syntax highlighting is broken on this line")

Ran4 avatar May 15 '18 11:05 Ran4