about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-03 09:48:05 -0500
committerCase Duckworth2021-04-03 09:48:05 -0500
commit5f4126e4722aa1ff0138b89644c38ae0e5f9673c (patch)
treefd13beac0ce834cad8abd4f9a92db6d65d590ccb /init.el
parentAdd `paren-face' (diff)
downloademacs-5f4126e4722aa1ff0138b89644c38ae0e5f9673c.tar.gz
emacs-5f4126e4722aa1ff0138b89644c38ae0e5f9673c.zip
Fix outshine comment leaders
Diffstat (limited to 'init.el')
-rw-r--r--init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/init.el b/init.el index d4e1e00..3cc4edc 100644 --- a/init.el +++ b/init.el
@@ -800,7 +800,7 @@ if ripgrep is installed, otherwise `consult-grep'."
800 (unless (apheleia--get-formatter-command) 800 (unless (apheleia--get-formatter-command)
801 (indent-region (point-min) (point-max)))))) 801 (indent-region (point-min) (point-max))))))
802 802
803;;;;; Eldoc 803;;;; Eldoc
804(setup eldoc 804(setup eldoc
805 (:option eldoc-idle-delay 0.1 805 (:option eldoc-idle-delay 0.1
806 eldoc-echo-area-use-multiline-p nil)) 806 eldoc-echo-area-use-multiline-p nil))
@@ -849,7 +849,6 @@ if ripgrep is installed, otherwise `consult-grep'."
849(setup (:straight eros) 849(setup (:straight eros)
850 (:hook-into emacs-lisp-mode)) 850 (:hook-into emacs-lisp-mode))
851 851
852;;;;; Shell scripts
853;;;;; Fennel 852;;;;; Fennel
854(when (executable-find "fennel") 853(when (executable-find "fennel")
855 (setup (:straight fennel-mode) 854 (setup (:straight fennel-mode)
@@ -866,6 +865,8 @@ if ripgrep is installed, otherwise `consult-grep'."
866;;;; Lua 865;;;; Lua
867(setup (:straight lua-mode) 866(setup (:straight lua-mode)
868 (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode))) 867 (:option (append auto-mode-alist) '("\\.lua\\'" . lua-mode)))
868
869;;;; Shell scripts
869(setup sh-mode 870(setup sh-mode
870 (:option sh-basic-offset tab-width 871 (:option sh-basic-offset tab-width
871 sh-indent-after-case 0 872 sh-indent-after-case 0
@@ -883,7 +884,7 @@ if ripgrep is installed, otherwise `consult-grep'."
883 (:hook flymake-mode 884 (:hook flymake-mode
884 flymake-shellcheck-load))) 885 flymake-shellcheck-load)))
885 886
886;;;;; Web languages 887;;;; Web languages
887(setup (:straight web-mode) 888(setup (:straight web-mode)
888 (:option css-level-offset 2 889 (:option css-level-offset 2
889 js-indent-level 2 890 js-indent-level 2
@@ -898,7 +899,7 @@ if ripgrep is installed, otherwise `consult-grep'."
898 (add-to-list 'auto-mode-alist 899 (add-to-list 'auto-mode-alist
899 `(,(concat "\\." extension "\\'") . web-mode)))) 900 `(,(concat "\\." extension "\\'") . web-mode))))
900 901
901;;;;; FORTH 902;;;; FORTH
902(when (locate-library "gforth") 903(when (locate-library "gforth")
903 (autoload 'forth-mode "gforth") 904 (autoload 'forth-mode "gforth")
904 (add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode)) 905 (add-to-list 'auto-mode-alist '("\\.fs\\'" . forth-mode))