Skip to content

Commit

Permalink
Specify -- as comment syntax for ipkg mode
Browse files Browse the repository at this point in the history
Why:
To avoid prompt when executing `comment-*` function
in `*.ipkg` file.
```
comment-normalize-vars: No comment syntax defined
```
  • Loading branch information
keram committed Jul 13, 2024
1 parent 09de86a commit 44d9048
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion idris-ipkg-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44d9048

Please sign in to comment.