nim-lang / NimLime

The official Nim programming language plugin for Sublime Text
MIT License
132 stars 34 forks source link

wrong syntax highlight for triple string litteral #149

Closed timotheecour closed 1 year ago

timotheecour commented 4 years ago

example 1: inside cfg file:

doc.item.seesrc = """&nbsp;&nbsp;<a
href="${url}/tree/${commit}/${path}#L${line}"
class="link-seesrc" target="_blank">Source</a>
&nbsp;&nbsp;<a href="${url}/edit/${devel}/${path}#L${line}" class="link-seesrc" target="_blank" >Edit</a>
"""

image

example 2: in regular nim code

proc fn(a: string) = discard
fn("""foo""")

image

the ) is highlighted same color as the """