diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-04-19 17:54:27 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-04-19 17:55:38 +0200 |
| commit | d169c0614c55c69afd1cc880b6bef004e4184aa7 (patch) | |
| tree | de7c44f256a357d9ce063a0be2ce5e44d3839355 /lua/nvim-treesitter/locals.lua | |
| parent | 5783e7d2480663298055b86357829e61d4e27fab (diff) | |
fix: prepare injections mechanism
Diffstat (limited to 'lua/nvim-treesitter/locals.lua')
| -rw-r--r-- | lua/nvim-treesitter/locals.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/locals.lua b/lua/nvim-treesitter/locals.lua index d4a23d65..e58e5fc5 100644 --- a/lua/nvim-treesitter/locals.lua +++ b/lua/nvim-treesitter/locals.lua @@ -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 |
