Skip to content

Commit

Permalink
Fix root_dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Nov 17, 2024
1 parent d080f2c commit 33b085d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions neovim/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,14 +148,13 @@ end
local root_dirs = {
python = function(startpath)
return vim.fs.root(startpath, {
".vscode",
"pyproject.toml",
"setup.py",
"setup.cfg",
"requirements.txt",
"Pipfile",
"package.xml",
"pixi.toml",
".pixi",
})
end,
cmake = function(startpath)
Expand Down Expand Up @@ -976,7 +975,7 @@ local servers = {
local pixi = vim.fs.find(".pixi", {
upward = true,
stop = vim.uv.os_homedir(),
path = file,
path = vim.uv.fs_realpath(file),
type = "directory",
})
if #pixi > 0 then
Expand Down

0 comments on commit 33b085d

Please sign in to comment.