aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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