Skip to content

Commit 855fdc3

Browse files
committed
Include - in operator syntax class
`-` is subtraction in elixir, not part of a symbol.
1 parent 344d77d commit 855fdc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

elixir-smie.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
;; Note that ?_ might be better as class "_", but either seems to
8080
;; work:
8181
(modify-syntax-entry ?| "." table)
82+
(modify-syntax-entry ?- "." table)
8283
(modify-syntax-entry ?_ "_" table)
8384
(modify-syntax-entry ?? "w" table)
8485
(modify-syntax-entry ?~ "w" table)

0 commit comments

Comments
 (0)