Skip to content

Commit 2ada981

Browse files
authored
Merge pull request #1871 from Hi-Angel/improve-cabal-comments
haskell-cabal: don't include space in `comment-start`
2 parents 9780794 + 1f620bc commit 2ada981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: haskell-cabal.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ it from list if one of the following conditions are hold:
174174
(add-to-list 'haskell-cabal-buffers (current-buffer))
175175
(add-hook 'change-major-mode-hook 'haskell-cabal-unregister-buffer nil 'local)
176176
(add-hook 'kill-buffer-hook 'haskell-cabal-unregister-buffer nil 'local)
177-
(setq-local comment-start "-- ")
177+
(setq-local comment-start "--")
178178
(setq-local comment-start-skip "--[ \t]*")
179179
(setq-local comment-end "")
180180
(setq-local comment-end-skip "[ \t]*\\(\\s>\\|\n\\)")

0 commit comments

Comments
 (0)