summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-10 22:42:37 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-10 22:42:37 +0200
commit15e6c0b47078d36cd342501ee000701337ab14df (patch)
treee8700bd880e16cced0b3691944ae9511e27c1533 /.config/emacs
parent33a5fa5e49c6f4c9708cf6d70927c509ed46e7fb (diff)
emacs: Get vimscript-ts-mode
Diffstat (limited to '.config/emacs')
-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))