Skip to content

Commit 0ce99c5

Browse files
committed
fix: typo in fs_stat
1 parent d569137 commit 0ce99c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/plugins/lsp/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ return {
142142
--- Note: lua/ is possible a false-positive, but it's unlikely to be used in a non-nvim project
143143
for _, path in ipairs({ "plugin/", "autoload/", "after/", ".neoconf.json", "lua/" }) do
144144
local full_path = vim.fs.joinpath(root_dir, path)
145-
local exists = vim.fs.dir(full_path) ~= nil
145+
local exists = vim.uv.fs_stat(full_path) ~= nil
146146
if exists then return true end
147147
end
148148
end,

0 commit comments

Comments
 (0)