tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)

This commit is contained in:
Björn Linse
2019-06-21 14:14:51 +02:00
parent 167a1cfdef
commit 06ee45b9b1
7 changed files with 44 additions and 128 deletions

View File

@@ -50,7 +50,7 @@ local function create_parser(bufnr, ft, id)
self:parse()
-- TODO: use weakref to self, so that the parser is free'd is no plugin is
-- using it.
local function lines_cb(ev, ...)
local function lines_cb(_, ...)
return on_lines(self, ...)
end
local detach_cb = nil