mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/web: fix comments not joining/filling correctly
Before, joining these two lines // hello // world Results in // hello // world And filling the following // Pretend this line is longer than 80 characters Becomes // Pretend this lineis longer than 80 characters
This commit is contained in:
@ -22,7 +22,9 @@ If set to `nil', disable all the above behaviors.")
|
||||
|
||||
(setq-hook! 'css-mode-hook
|
||||
;; Correctly continue /* and // comments on newline-and-indent
|
||||
comment-line-break-function #'+css/comment-indent-new-line)
|
||||
comment-line-break-function #'+css/comment-indent-new-line
|
||||
;; Fix `fill-paragraph' not conjoining line comments in CSS modes correctly.
|
||||
adaptive-fill-function #'+css-adaptive-fill-fn)
|
||||
|
||||
(after! (:any css-mode sass-mode)
|
||||
(set-docsets! '(css-mode scss-mode sass-mode)
|
||||
|
Reference in New Issue
Block a user