aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-27 20:50:26 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-27 20:50:26 +0200
commit4b780416f252a49a224fd57e3632fa05a1286fc7 (patch)
tree854708cfb0d73633bda8c4aebb1bf20595e3e6a4
parent34dbc87d7e11e14c174784bd49fc74997e4a2f7e (diff)
Rename ‘gsp-ts-indent-offset’ to ‘gsp-ts-mode-indent-offset’
-rw-r--r--gsp-ts-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/gsp-ts-mode.el b/gsp-ts-mode.el
index 3f7dcb2..3bbb45f 100644
--- a/gsp-ts-mode.el
+++ b/gsp-ts-mode.el
@@ -25,7 +25,7 @@
;;; Code:
-(defcustom gsp-ts-indent-offset 2
+(defcustom gsp-ts-mode-indent-offset 2
"Number of spaces for each indentation step in `gsp-ts-mode'."
:version "1.0.0"
:type 'integer
@@ -75,10 +75,10 @@ documentation for `treesit-font-lock-rules' for more information.")
`((gsp
((parent-is "document") column-0 0)
((node-is "}") parent-bol 0)
- ((node-is "attr_list") parent gsp-ts-indent-offset)
+ ((node-is "attr_list") parent gsp-ts-mode-indent-offset)
((node-is ,(regexp-opt '("attr" "id_attr" "class_attr"))) first-sibling 0)
;; The node is nested not in another node, but in a node body
- ((parent-is "node_body") grand-parent gsp-ts-indent-offset)
+ ((parent-is "node_body") grand-parent gsp-ts-mode-indent-offset)
((parent-is "text") parent-bol 0)
(catch-all parent 0)
(no-node parent 0)))