diff options
| author | Brian Shu <littlebubu.shu@gmail.com> | 2021-01-08 08:15:07 -0500 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-01-08 16:16:33 +0100 |
| commit | 28f2ba475ff7324cd840b8130d7817dcd393e1ed (patch) | |
| tree | 3caf5f964e3e9a7d6dc244fe260d1e6058cbe186 /lua/nvim-treesitter/utils.lua | |
| parent | 6856e23171caf5fe399531530a8d0692c205eace (diff) | |
fixed not highlighting bug
Diffstat (limited to 'lua/nvim-treesitter/utils.lua')
| -rw-r--r-- | lua/nvim-treesitter/utils.lua | 11 |
1 files changed, 0 insertions, 11 deletions
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 |
