aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha')
-rw-r--r--lua/alpha/scratchs/draft.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/alpha/scratchs/draft.lua b/lua/alpha/scratchs/draft.lua
index 225a64d..67d0590 100644
--- a/lua/alpha/scratchs/draft.lua
+++ b/lua/alpha/scratchs/draft.lua
@@ -67,5 +67,7 @@ function Queries()
local rootNode = get_root_node()
for _, node in query:iter_captures(rootNode, 0, rootNode:start(), rootNode:end_()) do
P(get_node_text(node, 0))
+ P(node:start())
+ P(node:end_())
end
end