branch: elpa/haskell-ts-mode
commit 110fcbe118672afbd1c5a4d43c6f6dcdb88a755e
Author: Pranshu Sharma <[email protected]>
Commit: Pranshu Sharma <[email protected]>
Fix comment bug
---
haskell-ts-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el
index efd7c894bd..31ac4b4c28 100644
--- a/haskell-ts-mode.el
+++ b/haskell-ts-mode.el
@@ -439,7 +439,7 @@ when `haskell-ts-prettify-words' is non-nil.")
;; Comment
(setq-local comment-start "-- ")
(setq-local comment-use-syntax t)
- (setq-local comment-start-skip "\\(?: \\|^\\)-+")
+ (setq-local comment-start-skip "\\(?: \\|^\\)--+")
;; Electric
(setq-local electric-pair-pairs
'((?` . ?`) (?\( . ?\)) (?{ . ?}) (?\" . ?\") (?\[ . ?\])))