diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-03-08 17:59:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 17:59:45 +0000 |
commit | b9f19d3e286d95d9209afbc479fa2eb908067fb1 (patch) | |
tree | bd0e11b0858cd47bb4785317bda6378f42b5805e /runtime/lua/vim/treesitter/query.lua | |
parent | 276b647fdba07bf1762d8dd371c4b655b8a418df (diff) | |
download | rneovim-b9f19d3e286d95d9209afbc479fa2eb908067fb1.tar.gz rneovim-b9f19d3e286d95d9209afbc479fa2eb908067fb1.tar.bz2 rneovim-b9f19d3e286d95d9209afbc479fa2eb908067fb1.zip |
Revert "refactor(treesitter): delegate region calculation to treesitter" (#22575)
Revert "refactor(treesitter): delegate region calculation to treesitter (#22553)"
This reverts commit 276b647fdba07bf1762d8dd371c4b655b8a418df.
Diffstat (limited to 'runtime/lua/vim/treesitter/query.lua')
-rw-r--r-- | runtime/lua/vim/treesitter/query.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/lua/vim/treesitter/query.lua b/runtime/lua/vim/treesitter/query.lua index e7cf42283d..59894cc7f5 100644 --- a/runtime/lua/vim/treesitter/query.lua +++ b/runtime/lua/vim/treesitter/query.lua @@ -277,7 +277,6 @@ end ---@return (string[]|string|nil) function M.get_node_text(node, source, opts) opts = opts or {} - -- TODO(lewis6991): concat only works when source is number. local concat = vim.F.if_nil(opts.concat, true) local metadata = opts.metadata or {} |