diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-04-04 08:57:12 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-04-12 09:12:20 +0200 |
| commit | 2d526b3a2499bcef17f1dccc61377b52c3cdced7 (patch) | |
| tree | 5b0ee1b1e5fbe89d2d91156282151c372bb0f42e /lua | |
| parent | 3b1145b0c4aac2d1ec7e891c2813836435fdba0f (diff) | |
| download | nvim-conf-2d526b3a2499bcef17f1dccc61377b52c3cdced7.tar.gz nvim-conf-2d526b3a2499bcef17f1dccc61377b52c3cdced7.zip | |
update scrat add new alias
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/scratchs/draft.lua | 2 |
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 |