Skip to content

Commit cb2ec4c

Browse files
committed
Merge pull request #849 from gracjan/pr-normalize-unicode-symbols
Normalize Unicode symbols to ASCII versions
2 parents 99612ac + 5af0e9d commit cb2ec4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

haskell-indentation.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ line."
13311331
(match-string-no-properties 1))
13321332
((looking-at "[][(){}[,;]")
13331333
(match-string-no-properties 0))
1334-
((looking-at "\\(\\\\\\|->\\|\\|<-\\|\\|::\\|∷\\|=\\||\\)\\([^-:!#$%&*+./<=>?@\\\\^|~]\\|$\\)")
1334+
((looking-at "\\(\\\\\\|->\\|<-\\|::\\|=\\||\\)\\([^-:!#$%&*+./<=>?@\\\\^|~]\\|$\\)")
13351335
(match-string-no-properties 1))
13361336
((looking-at "\\(→\\|←\\|∷\\)\\([^-:!#$%&*+./<=>?@\\\\^|~]\\|$\\)")
13371337
(let ((tok (match-string-no-properties 1)))

tests/haskell-indentation-tests.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function = do
126126
((2 0) 2)
127127
((3 0) 0 2 10))
128128

129-
(hindent-test "2u* Handle underscore in identifiers""
129+
(hindent-test "2u Handle underscore in identifiers""
130130
function = do
131131
(_x) ← return ()
132132
z"
@@ -142,7 +142,7 @@ function = do
142142
((2 0) 2)
143143
((3 0) 0 2 12))
144144

145-
(hindent-test "2au* Handle apostrophe in identifiers""
145+
(hindent-test "2au Handle apostrophe in identifiers""
146146
function = do
147147
(_'x') ← return ()
148148
z"

0 commit comments

Comments
 (0)