summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index f5a48c6..9f90210 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -340,7 +340,8 @@ preserved."
(org-mode :spaces t)
(python-mode :extra-vars (python-indent-offset))
(sgml-mode :width 2 :extra-vars (sgml-basic-offset))
- (sh-mode :extra-vars (sh-basic-offset)))
+ (sh-mode :extra-vars (sh-basic-offset))
+ (vimscript-ts-mode :extra-vars (vimscript-ts-mode-indent-level)))
"A list of per-mode indentation settings. Each list contains a
major-mode and the 3 optional keyword arguments of :spaces, :width, and
:extra-vars. When setting the settings for a given major-mode, the
@@ -709,6 +710,7 @@ a semicolon following a return statement."
(customize-set-variable 'c-default-style "mango")
;;; Additional Mode Support
+(use-package vimscript-ts-mode)
(push '("\\.go\\'" . go-ts-mode) auto-mode-alist)
(with-eval-after-load 'tempel
(push (cons tempel-path #'lisp-data-mode) auto-mode-alist))