From 2d526b3a2499bcef17f1dccc61377b52c3cdced7 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 4 Apr 2022 08:57:12 +0200 Subject: update scrat add new alias --- lua/alpha/scratchs/draft.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/alpha/scratchs/draft.lua') 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 -- cgit v1.2.3