diff --git a/flake.lock b/flake.lock index cb59615..8c3dada 100644 --- a/flake.lock +++ b/flake.lock @@ -226,11 +226,11 @@ ] }, "locked": { - "lastModified": 1744743431, - "narHash": "sha256-iyn/WBYDc7OtjSawbegINDe/gIkok888kQxk3aVnkgg=", + "lastModified": 1745557122, + "narHash": "sha256-eqSo9ugzsqhFgaDFYUZj943nurlX4L6f+AW0skJ4W+M=", "owner": "nix-community", "repo": "home-manager", - "rev": "c61bfe3ae692f42ce688b5865fac9e0de58e1387", + "rev": "dd26f75fb4ec1c731d4b1396eaf4439ce40a91c1", "type": "github" }, "original": { @@ -342,11 +342,11 @@ "nuschtosSearch": [] }, "locked": { - "lastModified": 1745518054, - "narHash": "sha256-jaYDGY/7Uja1/HRvogrvvfIdKKl600kI/fxPdQ3PcUw=", + "lastModified": 1745593478, + "narHash": "sha256-GV0YnG6ZLW+BDsEKS2rjTtKcfTcTbdlVaf0ESQDBsK8=", "owner": "nix-community", "repo": "nixvim", - "rev": "e6e536953580a956c143fc4413e8d9b4c876aeb8", + "rev": "b72ba2e4e2af53269a19b99bf684480f3ad4a78f", "type": "github" }, "original": { diff --git a/modules/nixvim/dev-plugins.nix b/modules/nixvim/dev-plugins.nix index fdfaff1..4e3424e 100644 --- a/modules/nixvim/dev-plugins.nix +++ b/modules/nixvim/dev-plugins.nix @@ -44,12 +44,13 @@ in enable = true; servers = { # Pyright needs to have the project root set? - basedpyright.rootDir = # lua - '' - function() - return vim.fs.root(0, {'flake.nix', '.git', '.jj', 'pyproject.toml', 'setup.py'}) - end - ''; + basedpyright.rootMarkers = [ + "flake.nix" + ".git" + ".jj" + "pyproject.toml" + "setup.py" + ]; # Big but infrequently used dependencies. # # Configure the LSPs, but don't install the packages.