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