summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 66054db..9069162 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -774,6 +774,15 @@ a semicolon following a return statement."
(customize-set-variable 'c-default-style "mango")
;;; Additional Mode Support
+(eval-and-compile
+ (defun x-gsp-ts-mode-load-path ()
+ (expand-file-name "Mango0x45/gsp-ts-mode" (getenv "REPODIR"))))
+(use-package gsp-ts-mode
+ :if (and (treesit-available-p)
+ (getenv "REPODIR"))
+ :load-path (lambda () (list (x-gsp-ts-mode-load-path)))
+ :mode ("\\.gsp\\'" . gsp-ts-mode))
+
(use-package vimscript-ts-mode)
(push '("\\.go\\'" . go-ts-mode) auto-mode-alist)
(with-eval-after-load 'tempel