fix: prepare injections mechanism

This commit is contained in:
Thomas Vigouroux 2020-04-19 17:54:27 +02:00
parent 5783e7d248
commit d169c0614c
2 changed files with 8 additions and 4 deletions

View file

@ -20,7 +20,7 @@ function M.collect_locals(bufnr)
if not ft then return end
local query = queries.get_query(ft, 'locals')
local parser = parsers.get_parser(bufnr)
local parser = parsers.get_parser(bufnr, ft)
if not parser then return end