aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/fennel_ls.lua
diff options
context:
space:
mode:
authorChris Bandy <bandy.chris@gmail.com>2025-04-10 22:48:31 +0000
committerGitHub <noreply@github.com>2025-04-10 15:48:31 -0700
commit4ea9083b6d3dff4ddc6da17c51334c3255b7eba5 (patch)
treeb3c094868a4942151bf8ec0d5cd87bf7cac85a92 /lua/lspconfig/configs/fennel_ls.lua
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.tar
nvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.tar.gz
nvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.tar.bz2
nvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.tar.lz
nvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.tar.xz
nvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.tar.zst
nvim-lspconfig-4ea9083b6d3dff4ddc6da17c51334c3255b7eba5.zip
refactor: replace vim.loop with vim.uv #3703v2.0.0
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
Diffstat (limited to 'lua/lspconfig/configs/fennel_ls.lua')
-rw-r--r--lua/lspconfig/configs/fennel_ls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/fennel_ls.lua b/lua/lspconfig/configs/fennel_ls.lua
index 273f1fed..4726075a 100644
--- a/lua/lspconfig/configs/fennel_ls.lua
+++ b/lua/lspconfig/configs/fennel_ls.lua
@@ -7,7 +7,7 @@ return {
root_dir = function(dir)
local has_fls_project_cfg = function(path)
local fnlpath = vim.fs.joinpath(path, 'flsproject.fnl')
- return (vim.loop.fs_stat(fnlpath) or {}).type == 'file'
+ return (vim.uv.fs_stat(fnlpath) or {}).type == 'file'
end
return util.search_ancestors(dir, has_fls_project_cfg) or vim.fs.root(0, '.git')
end,