summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/fold.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-treesitter/fold.lua')
-rw-r--r--lua/nvim-treesitter/fold.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/fold.lua b/lua/nvim-treesitter/fold.lua
index 6a39461a..401f5260 100644
--- a/lua/nvim-treesitter/fold.lua
+++ b/lua/nvim-treesitter/fold.lua
@@ -1,4 +1,3 @@
-local api = vim.api
local parsers = require'nvim-treesitter.parsers'
local M = {}
@@ -21,7 +20,7 @@ function M.get_fold_indic(lnum)
local parser = parsers.get_parser()
- local multiline_here, level = smallest_multiline_containing(parser:parse():root(), 0)
+ local _, level = smallest_multiline_containing(parser:parse():root(), 0)
return tostring(level)
end