Skip to content

Commit bfa64bb

Browse files
committed
Replace comment syntax property of string interpolation(#{})
Because it is not comment symbol.
1 parent e772e89 commit bfa64bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elixir-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ is used to limit the scan."
256256
(defun elixir-syntax-propertize-interpolation ()
257257
(let* ((beg (match-beginning 0))
258258
(context (save-excursion (save-match-data (syntax-ppss beg)))))
259+
(put-text-property beg (1+ beg) 'syntax-table (string-to-syntax "w"))
259260
(put-text-property beg (1+ beg) 'elixir-interpolation
260261
(cons (nth 3 context) (match-data)))))
261262

0 commit comments

Comments
 (0)