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:
Alexander 2016-05-06 02:15:51 +04:00
parent a291a4239a
commit 6b608974c0

View File

@ -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=-}