diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-12-01 13:01:51 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-12-02 11:12:18 +0100 |
| commit | 9b89ba5f158f73779cd58d0bb2783dfb40b28b0e (patch) | |
| tree | d35c60d499f9866c6f0ad9298f4ceea26e83eb1d /plugin | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.gz nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.bz2 nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.lz nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.xz nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.tar.zst nvim-lspconfig-9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.zip | |
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.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
