Fix Haskell single line comments by adding space
Haskell single line comments consist of at least two dashes "--", not followed by special symbol. So in practice everywhere in code you will see a space following "--". Reference: Haskell 2010 Language Report -> Chapter 2 -> Lexical Structure
This commit is contained in:
parent
a291a4239a
commit
6b608974c0
@ -51,7 +51,7 @@ mime_type=text/x-haskell
|
||||
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
||||
|
||||
# single comments, like # in this file
|
||||
comment_single=--
|
||||
comment_single=--\s
|
||||
# multiline comments
|
||||
comment_open={-
|
||||
comment_close=-}
|
||||
|
Loading…
x
Reference in New Issue
Block a user