[geany/geany] 6b6089: Fix Haskell single line comments by adding space

Alexander git-noreply at xxxxx
Thu May 5 22:15:51 UTC 2016


Branch:      refs/heads/master
Author:      Alexander <AleXoundOS at users.noreply.github.com>
Committer:   Alexander <AleXoundOS at users.noreply.github.com>
Date:        Thu, 05 May 2016 22:15:51 UTC
Commit:      6b608974c0217fab182285c71cb9991fc630629a
             https://github.com/geany/geany/commit/6b608974c0217fab182285c71cb9991fc630629a

Log Message:
-----------
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


Modified Paths:
--------------
    data/filedefs/filetypes.haskell

Modified: data/filedefs/filetypes.haskell
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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=-}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list