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 You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1029
-- Commit Summary --
* Fix Haskell single line comments by adding space
-- File Changes --
M data/filedefs/filetypes.haskell (2)
-- Patch Links --
https://github.com/geany/geany/pull/1029.patch https://github.com/geany/geany/pull/1029.diff
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1029
What exactly is fixed by this?
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1029#issuecomment-218666218
Should refer to #1026 where the discussion is.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1029#issuecomment-218677883
So this basically makes the toggle comment feature insert `-- ~` because `--~` isn't a valid haskel comment?
Reading the other discussion this change seems already established, so LGTM
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1029#issuecomment-218679625
Worked when I experimented on #1026 so merged.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1029#issuecomment-218685586
Merged #1029.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1029#event-658231949
github-comments@lists.geany.org