From 28f2ba475ff7324cd840b8130d7817dcd393e1ed Mon Sep 17 00:00:00 2001 From: Brian Shu Date: Fri, 8 Jan 2021 08:15:07 -0500 Subject: fixed not highlighting bug --- lua/nvim-treesitter/utils.lua | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lua/nvim-treesitter/utils.lua') diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua index 00ba4b94..de579bd6 100644 --- a/lua/nvim-treesitter/utils.lua +++ b/lua/nvim-treesitter/utils.lua @@ -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 -- cgit v1.2.3