From 4ea9083b6d3dff4ddc6da17c51334c3255b7eba5 Mon Sep 17 00:00:00 2001 From: Chris Bandy Date: Thu, 10 Apr 2025 22:48:31 +0000 Subject: refactor: replace vim.loop with vim.uv #3703 The former is deprecated in neovim 0.10. Remove the check added in 9b89ba5f158f73779cd58d0bb2783dfb40b28b0e. See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55 --- lua/lspconfig/configs/relay_lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lspconfig/configs/relay_lsp.lua') diff --git a/lua/lspconfig/configs/relay_lsp.lua b/lua/lspconfig/configs/relay_lsp.lua index cc8e2c5b..d1b4193d 100644 --- a/lua/lspconfig/configs/relay_lsp.lua +++ b/lua/lspconfig/configs/relay_lsp.lua @@ -36,7 +36,7 @@ return { if config.path_to_config then config.path_to_config = vim.fs.normalize(config.path_to_config) local path_to_config = table.concat({ root_dir, config.path_to_config }, '/') - if vim.loop.fs_stat(path_to_config) then + if vim.uv.fs_stat(path_to_config) then vim.list_extend(config.cmd, { config.path_to_config }) vim.list_extend(compiler_cmd, { config.path_to_config }) else -- cgit v1.2.3-70-g09d2