aboutsummaryrefslogtreecommitdiff
path: root/gsp-ts-mode.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-16 20:55:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-16 20:55:47 +0200
commitc533545d159497b2ed6762b3af37d6f8808ad440 (patch)
treee867427b4d04bbed746382fc64312b7ef0507052 /gsp-ts-mode.el
parent39d9417d67ecb355f5612bf451d282e09fdcd7c4 (diff)
Add page breaks
Diffstat (limited to 'gsp-ts-mode.el')
-rw-r--r--gsp-ts-mode.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/gsp-ts-mode.el b/gsp-ts-mode.el
index 3a881d8..8650452 100644
--- a/gsp-ts-mode.el
+++ b/gsp-ts-mode.el
@@ -32,6 +32,9 @@
;;;###autoload
(add-to-list 'auto-mode-alist '("\\.gsp\\'" . gsp-ts-mode))
+
+;;; Variables and Options
+
(defcustom gsp-ts-mode-indent-offset 2
"Number of spaces for each indentation step in `gsp-ts-mode'."
:version "1.0.0"
@@ -95,6 +98,9 @@ These settings are assigned directly to `treesit-simple-indent-rules'.
See the documentation for `treesit-simple-indent-rules' and
`treesit-simple-indent-presets' for more information.")
+
+;;; Major Mode Setup
+
(defun gsp-ts--setup ()
"Setup tree-sitter for `gsp-ts-mode'."
(setq-local