no more oil

This commit is contained in:
iofq 2025-07-05 20:36:06 -05:00
parent 285df2df53
commit d360f0e701
No known key found for this signature in database
GPG key ID: ECF3B2DA38BF7183
7 changed files with 97 additions and 127 deletions

View file

@ -1,18 +1,20 @@
# This overlay, when applied to nixpkgs, adds the final neovim derivation to nixpkgs.
{inputs}: final: prev:
with final.pkgs.lib; let
{ inputs }:
final: prev:
with final.pkgs.lib;
let
pkgs = final;
pkgs-wrapNeovim = prev;
mkNvimPlugin = src: pname:
mkNvimPlugin =
src: pname:
pkgs.vimUtils.buildVimPlugin {
inherit pname src;
version = src.lastModifiedDate;
};
mkNeovim = pkgs.callPackage ./mkNeovim.nix {inherit pkgs-wrapNeovim;};
mkNeovim = pkgs.callPackage ./mkNeovim.nix { inherit pkgs-wrapNeovim; };
mini-nvim-git = mkNvimPlugin inputs.mini-nvim "mini.nvim";
oil-nvim-git = mkNvimPlugin inputs.oil-nvim "oil.nvim";
all-plugins = with pkgs.vimPlugins; [
blink-cmp
@ -31,7 +33,6 @@ with final.pkgs.lib; let
nvim-treesitter-context
nvim-treesitter-textobjects
nvim-treesitter.withAllGrammars
oil-nvim-git
quicker-nvim
refactoring-nvim
render-markdown-nvim
@ -62,7 +63,8 @@ with final.pkgs.lib; let
jujutsu
fd
];
in {
in
{
nvim-pkg = mkNeovim {
plugins = all-plugins;
appName = "nvim";