feat(nvf): update nvf to use rrvsh fork with uv enabled

This commit is contained in:
Mohammad Rafiq 2025-06-29 17:08:41 +08:00
parent 622b3da556
commit 715f84ee83
No known key found for this signature in database
4 changed files with 9 additions and 16 deletions

11
flake.lock generated
View file

@ -836,15 +836,16 @@
]
},
"locked": {
"lastModified": 1750842150,
"narHash": "sha256-slD1Nzr7SStRhQgC1WmrIsgrgwgRyag2MAxCSrjrxKg=",
"owner": "notashelf",
"lastModified": 1751187535,
"narHash": "sha256-AMNouwcg9qSG/DI0JXoxZdjtcxfSErVaIsdQn4Q893k=",
"owner": "rrvsh",
"repo": "nvf",
"rev": "f9ee813a230e1c0ba0e1a13e1747fd1b996f08dc",
"rev": "871440fb7e5dc9d4abf59a8577bbbf7bba63bff7",
"type": "github"
},
"original": {
"owner": "notashelf",
"owner": "rrvsh",
"ref": "uv-nvim",
"repo": "nvf",
"type": "github"
}

View file

@ -33,7 +33,7 @@
nvf.inputs.nil.follows = "nil";
nvf.inputs.nixpkgs.follows = "nixpkgs";
nvf.inputs.systems.follows = "systems";
nvf.url = "github:notashelf/nvf";
nvf.url = "github:rrvsh/nvf/uv-nvim";
python-flexseal.inputs.flake-utils.follows = "flake-utils";
python-flexseal.inputs.nixpkgs.follows = "nixpkgs";
python-flexseal.url = "github:Janrupf/python-flexseal";

View file

@ -23,6 +23,8 @@
enable = true;
format.type = "ruff";
lsp.server = "pyright";
uv.enable = true;
uv.setupOpts.picker_integration = true;
};
rust.enable = true;
rust.crates.enable = true;

View file

@ -7,16 +7,6 @@ in
persistDirs = singleton ".local/share/nvf";
programs.nvf.enable = true;
programs.nvf.settings.vim = {
lazy.plugins = {
"uv.nvim" = {
# TODO: upstream this
package = pkgs.vimPlugins.uv-nvim;
setupModule = "uv";
setupOpts.picker_integration = true;
event = [ "BufEnter" ];
after = "print('uv.nvim loaded')";
};
};
hideSearchHighlight = true;
syntaxHighlighting = true;
telescope.enable = true;