[feat] nvim: add nvim-silicon plugin

Also reorganize out of tree plugins in preparation for
`vim-plugin-updater` integration.
This commit is contained in:
Jalil David Salamé Messina 2024-06-15 00:10:41 +02:00
parent 63f529704d
commit cc02c89661
Signed by: jalil
GPG key ID: F016B9E770737A0B
4 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,4 @@
{pkgs}: {
vim-jjdescription = pkgs.callPackage ./vim-jjdescription.nix {};
nvim-silicon = pkgs.callPackage ./nvim-silicon.nix {};
}

View file

@ -0,0 +1,15 @@
{
vimUtils,
fetchFromGitHub,
silicon,
}:
vimUtils.buildVimPlugin {
name = "nvim-silicon";
dependencies = [silicon];
src = fetchFromGitHub {
owner = "michaelrommel";
repo = "nvim-silicon";
rev = "v1.0.0";
hash = "sha256-cZOzgzLUNC9qOS2m/rc6YJfpNGdRTSCAdEPQDy+wT6I=";
};
}

View file

@ -55,11 +55,12 @@ in {
inherit (import ./augroups.nix) autoGroups autoCmd;
extraPlugins = let
plugins = pkgs.unstable.vimPlugins;
jjdescription = pkgs.unstable.callPackage ./vim-jjdescription.nix {};
extraPlugins = import ./extraPlugins {pkgs = pkgs.unstable;};
in [
plugins.nui-nvim
plugins.nvim-web-devicons
jjdescription
extraPlugins.vim-jjdescription
extraPlugins.nvim-silicon
];
# Formatting & linters
extraPackages = [