Skip to content

Commit 44d9048

Browse files
committed
Specify -- as comment syntax for ipkg mode
Why: To avoid prompt when executing `comment-*` function in `*.ipkg` file. ``` comment-normalize-vars: No comment syntax defined ```
1 parent 09de86a commit 44d9048

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)