Closed rolandwalker closed 3 years ago
And implicitly improve pygn-mode--true-node-before-position and pygn-mode--true-node-after-position.
pygn-mode--true-node-before-position
pygn-mode--true-node-after-position
save-excursion
tsc-node-eq
eq
nil
(eq (tsc-root-node tree-sitter-tree) (tsc-root-node tree-sitter-tree))
And implicitly improve
pygn-mode--true-node-before-position
andpygn-mode--true-node-after-position
.save-excursion
unless the position returned would be in whitespacetsc-node-eq
instead ofeq
. Lispeq
would always returnnil
, even for trivially identical