zk-phi / highlight-stages

Highlight staged (quasi-quoted) expressions
21 stars 7 forks source link

Commas are incorrectly matched as escape characters in Clojure files #2

Closed ChrisBlom closed 9 years ago

ChrisBlom commented 9 years ago

highligh-stages incorrectly highlights the following snippet:

{:a 1, :b 2}

It highlights ':b 2', but in Clojure comma's are treated as whitespace and not an escape symbols, Clojure uses '~' for escaping instead

zk-phi commented 9 years ago

Thanks, I'll implement Clojure support.

ChrisBlom commented 9 years ago

Thanks, it turned out to be a simple fix, i've sent you a PR