@@ -833,7 +833,7 @@ Skip the optional metadata node at pos 0 if present."
833
833
t )))
834
834
835
835
(defun clojure-ts--first-value-child (node )
836
- " Returns the first value child of the given NODE.
836
+ " Return the first value child of the given NODE.
837
837
838
838
In the syntax tree, there are a few types of possible child nodes:
839
839
unnamed standalone nodes (e.g., comments), anonymous nodes (e.g.,
@@ -885,7 +885,7 @@ See `clojure-ts--definition-node-p' when an exact match is possible."
885
885
(defun clojure-ts--standard-definition-node-name (node )
886
886
" Return the definition name for the given NODE.
887
887
888
- Returns nil if NODE is not a list with symbols as the first two
888
+ Return nil if NODE is not a list with symbols as the first two
889
889
children. For example the node representing the expression (def foo 1)
890
890
would return foo. The node representing (ns user) would return user.
891
891
Does not do any matching on the first symbol (def, defn, etc), so
@@ -909,7 +909,7 @@ Can be called directly, but intended for use as `treesit-defun-name-function'."
909
909
(defun clojure-ts--kwd-definition-node-name (node )
910
910
" Return the keyword name for the given NODE.
911
911
912
- Returns nil if NODE is not a list where the first element is a symbol
912
+ Return nil if NODE is not a list where the first element is a symbol
913
913
and the second is a keyword. For example, a node representing the
914
914
expression (s/def ::foo int?) would return foo.
915
915
0 commit comments