[feat] nvim: configure nvim-silicon #5

Merged
jalil merged 2 commits from nvim-silicon into main 2024-06-16 22:22:10 +02:00
4 changed files with 22 additions and 2 deletions
Showing only changes of commit cc02c89661 - Show all commits

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 = [