[feat] nvim: configure nvim-silicon #5
4 changed files with 22 additions and 2 deletions
4
nvim/extraPlugins/default.nix
Normal file
4
nvim/extraPlugins/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{pkgs}: {
|
||||
vim-jjdescription = pkgs.callPackage ./vim-jjdescription.nix {};
|
||||
nvim-silicon = pkgs.callPackage ./nvim-silicon.nix {};
|
||||
}
|
15
nvim/extraPlugins/nvim-silicon.nix
Normal file
15
nvim/extraPlugins/nvim-silicon.nix
Normal 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=";
|
||||
};
|
||||
}
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue