zk-phi / highlight-stages

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

Ignore backslashed quotes and commas in lisp #8

Open DarwinAwardWinner opened 7 years ago

DarwinAwardWinner commented 7 years ago

In Elisp, quotes, backquotes, and commas can all be backslashed to use them as regular characters. This pull request allows highlight-stages to highlight these kinds of structures correctly, avoiding highlighting of backslashed quoting/unquoting operators.

DarwinAwardWinner commented 7 years ago

This should fix #7.