mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
no more oil
This commit is contained in:
parent
285df2df53
commit
d360f0e701
7 changed files with 97 additions and 127 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue