Fix outshine comment leaders
This commit is contained in:
parent
2c6fb051d9
commit
5f4126e472
9
init.el
9
init.el
|
@ -800,7 +800,7 @@ if ripgrep is installed, otherwise `consult-grep'."
|
|||
(unless (apheleia--get-formatter-command)
|
||||
(indent-region (point-min) (point-max))))))
|
||||
|
||||
;;;;; Eldoc
|
||||
;;;; Eldoc
|
||||
(setup eldoc
|
||||
(:option eldoc-idle-delay 0.1
|
||||
eldoc-echo-area-use-multiline-p nil))
|
||||
|
@ -849,7 +849,6 @@ if ripgrep is installed, otherwise `consult-grep'."
|
|||
(setup (:straight eros)
|
||||
(:hook-into emacs-lisp-mode))
|
||||
|
||||
;;;;; Shell scripts
|
||||
;;;;; Fennel
|
||||
(when (executable-find "fennel")
|
||||
(setup (:straight fennel-mode)
|
||||
|
@ -866,6 +865,8 @@ if ripgrep is installed, otherwise `consult-grep'."
|
|||
;;;; Lua
|
||||
(setup (:straight lua-mode)
|
||||
(:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode)))
|
||||
|
||||
;;;; Shell scripts
|
||||
(setup sh-mode
|
||||
(:option sh-basic-offset tab-width
|
||||
sh-indent-after-case 0
|
||||
|
@ -883,7 +884,7 @@ if ripgrep is installed, otherwise `consult-grep'."
|
|||
(:hook flymake-mode
|
||||
flymake-shellcheck-load)))
|
||||
|
||||
;;;;; Web languages
|
||||
;;;; Web languages
|
||||
(setup (:straight web-mode)
|
||||
(:option css-level-offset 2
|
||||
js-indent-level 2
|
||||
|
@ -898,7 +899,7 @@ if ripgrep is installed, otherwise `consult-grep'."
|
|||
(add-to-list 'auto-mode-alist
|
||||
`(,(concat "\\." extension "\\'") . web-mode))))
|
||||
|
||||
;;;;; FORTH
|
||||
;;;; FORTH
|
||||
(when (locate-library "gforth")
|
||||
(autoload 'forth-mode "gforth")
|
||||
(add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode))
|
||||
|
|
Loading…
Reference in New Issue