Skip to content

Commit

Permalink
Merge pull request #307 from aaronjensen/patch-1
Browse files Browse the repository at this point in the history
Include - in punctuation syntax class
  • Loading branch information
tonini committed Jun 1, 2016
2 parents 2865589 + 953c18a commit fe313d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions elixir-smie.el
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@
;; Note that ?_ might be better as class "_", but either seems to
;; work:
(modify-syntax-entry ?| "." table)
(modify-syntax-entry ?- "." table)
(modify-syntax-entry ?+ "." table)
(modify-syntax-entry ?* "." table)
(modify-syntax-entry ?/ "." table)
(modify-syntax-entry ?< "." table)
(modify-syntax-entry ?> "." table)
(modify-syntax-entry ?_ "_" table)
(modify-syntax-entry ?? "w" table)
(modify-syntax-entry ?~ "w" table)
Expand Down

0 comments on commit fe313d3

Please sign in to comment.