branch: elpa/idris-mode
commit 116daac510bc89e82e966883d7907fa95070df78
Merge: 09de86a8f0 44d90481a3
Author: Jan de Muijnck-Hughes <j...@users.noreply.github.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #635 from keram/ipkg-comment-syntax
    
    Specify `--` as comment syntax for ipkg mode
---
 idris-ipkg-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idris-ipkg-mode.el b/idris-ipkg-mode.el
index 597341cae0..335bf64028 100644
--- a/idris-ipkg-mode.el
+++ b/idris-ipkg-mode.el
@@ -422,7 +422,8 @@ Invokes `idris-ipkg-mode-hook'."
   (set (make-local-variable 'font-lock-defaults)
        idris-ipkg-font-lock-defaults)
   (set (make-local-variable 'completion-at-point-functions)
-       '(idris-ipkg-complete-keyword)))
+       '(idris-ipkg-complete-keyword))
+  (set (make-local-variable 'comment-start) "--"))
 
 ;; Make filenames clickable
 (add-to-list 'compilation-error-regexp-alist-alist

Reply via email to