From 5f4126e4722aa1ff0138b89644c38ae0e5f9673c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 3 Apr 2021 09:48:05 -0500 Subject: Fix outshine comment leaders --- init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'init.el') 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'." (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)) -- cgit 1.4.1-21-gabe81