Skip to content

Commit 532f1b6

Browse files
committed
Fix for highlighting string interpolation
4th element of syntax-ppss is not always character.
1 parent e11c403 commit 532f1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elixir-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ is used to limit the scan."
300300
(when (and pos (> pos (point)))
301301
(goto-char pos)
302302
(let ((value (get-text-property pos 'elixir-interpolation)))
303-
(if (eq (car value) ?\")
303+
(if (car value)
304304
(progn
305305
(set-match-data (cdr value))
306306
t)

0 commit comments

Comments
 (0)