Skip to content

Commit 6ea4196

Browse files
committed
Indicate internal defconst with clojure-ts-- prefix
1 parent b96d85d commit 6ea4196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clojure-ts-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Only intended for use at development time.")
227227
line-end))
228228
"A regular expression matching a symbol used to define a type.")
229229

230-
(defconst clojure-ts-type-symbol-regexp
230+
(defconst clojure-ts--type-symbol-regexp
231231
(eval-and-compile
232232
(rx line-start
233233
(or "deftype" "defrecord"
@@ -727,7 +727,7 @@ forms like deftype, defrecord, reify, proxy, etc."
727727
;; auncle: gender neutral sibling of parent, aka child of grandparent
728728
(first-auncle (treesit-node-child grandparent 0 t)))
729729
(and (clojure-ts--list-node-p grandparent)
730-
(clojure-ts--symbol-matches-p clojure-ts-type-symbol-regexp
730+
(clojure-ts--symbol-matches-p clojure-ts--type-symbol-regexp
731731
first-auncle)))))
732732

733733
(defvar clojure-ts--threading-macro

0 commit comments

Comments
 (0)