From 9b89ba5f158f73779cd58d0bb2783dfb40b28b0e Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 1 Dec 2024 13:01:51 +0100 Subject: refactor: replace all instances of vim.uv with vim.loop We still support neovim 0.9 currently, so we can't use vim.uv. Also add a check so we don't accidentally reintroduce it. --- plugin/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index decabe54..bee81092 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -106,7 +106,7 @@ api.nvim_create_user_command('LspRestart', function(info) detach_clients[client.name] = { client, lsp.get_buffers_by_client_id(client.id) } end end - local timer = assert(vim.uv.new_timer()) + local timer = assert(vim.loop.new_timer()) timer:start( 500, 100, -- cgit v1.2.3-70-g09d2