mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
fixed not highlighting bug
This commit is contained in:
parent
6856e23171
commit
28f2ba475f
2 changed files with 12 additions and 14 deletions
|
|
@ -141,15 +141,4 @@ function M.index_of(tbl, obj)
|
|||
end
|
||||
end
|
||||
|
||||
function M.async(f)
|
||||
return function(...)
|
||||
local handle
|
||||
handle = vim.loop.new_async(vim.schedule_wrap(function(...)
|
||||
f(...)
|
||||
handle:close()
|
||||
end))
|
||||
handle:send(...)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue