aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-07-04 17:15:04 +0200
committerThomas Vigouroux <39092278+vigoux@users.noreply.github.com>2020-07-14 22:34:43 +0200
commitd351c9b342141b9e455740bd0e371a02a3d4470a (patch)
tree8b6637c0471d38993642753ff8bd484ec6b6dafa /lua
parentAdd C/C++ textobjects (diff)
downloadnvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.tar
nvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.tar.gz
nvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.tar.bz2
nvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.tar.lz
nvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.tar.xz
nvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.tar.zst
nvim-treesitter-d351c9b342141b9e455740bd0e371a02a3d4470a.zip
Update documentation for new modules 'refactor'/'textobjects'
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/textobjects.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/textobjects.lua b/lua/nvim-treesitter/textobjects.lua
index cf81b5963..4d8bb7cd1 100644
--- a/lua/nvim-treesitter/textobjects.lua
+++ b/lua/nvim-treesitter/textobjects.lua
@@ -27,7 +27,6 @@ function M.select_textobject(query_string)
local root = parser:parse():root()
local start_row, _, end_row, _ = root:range()
- local nested = {}
local query = ts.parse_query(lang, query_string)
for m in queries.iter_prepared_matches(query, root, bufnr, start_row, end_row) do
for _, n in pairs(m) do