Skip to content

Commit 116daac

Browse files
authored
Merge pull request #635 from keram/ipkg-comment-syntax
Specify `--` as comment syntax for ipkg mode
2 parents 09de86a + 44d9048 commit 116daac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

idris-ipkg-mode.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@ Invokes `idris-ipkg-mode-hook'."
422422
(set (make-local-variable 'font-lock-defaults)
423423
idris-ipkg-font-lock-defaults)
424424
(set (make-local-variable 'completion-at-point-functions)
425-
'(idris-ipkg-complete-keyword)))
425+
'(idris-ipkg-complete-keyword))
426+
(set (make-local-variable 'comment-start) "--"))
426427

427428
;; Make filenames clickable
428429
(add-to-list 'compilation-error-regexp-alist-alist

0 commit comments

Comments
 (0)