mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Disable continue-comments-on-RET in ess-r-mode & coq-mode
Fixes #2081, #2233
This commit is contained in:
@ -14,9 +14,13 @@
|
||||
|
||||
|
||||
;;;###package coq
|
||||
;; Doom syncs other indent variables with `tab-width'; we trust major modes to
|
||||
;; set it -- which most of them do -- but coq-mode doesn't, so...
|
||||
(setq-hook! 'coq-mode-hook tab-width proof-indent)
|
||||
(setq-hook! 'coq-mode-hook
|
||||
;; Doom syncs other indent variables with `tab-width'; we trust major modes to
|
||||
;; set it -- which most of them do -- but coq-mode doesn't, so...
|
||||
tab-width proof-indent
|
||||
;; HACK Fix #2081: Doom continues comments on RET, but coq-mode doesn't have a
|
||||
;; sane `comment-line-break-function', so...
|
||||
comment-line-break-function nil)
|
||||
|
||||
;; We've replaced coq-mode abbrevs with yasnippet snippets (in the snippets
|
||||
;; library included with Doom).
|
||||
|
Reference in New Issue
Block a user