feat(nvim): Package and use vim-jjdescription
This commit is contained in:
parent
596bb09c58
commit
02b830b157
2 changed files with 19 additions and 1 deletions
|
@ -52,7 +52,15 @@ in
|
|||
plugins = import ./plugins.nix { inherit lib; };
|
||||
keymaps = import ./mappings.nix;
|
||||
inherit (import ./augroups.nix) autoGroups autoCmd;
|
||||
extraPlugins = with pkgs.vimPlugins; [ nvim-web-devicons ];
|
||||
extraPlugins =
|
||||
let
|
||||
jjdescription = pkgs.callPackage ./vim-jjdescription.nix { };
|
||||
in
|
||||
with pkgs.vimPlugins;
|
||||
[
|
||||
nvim-web-devicons
|
||||
jjdescription
|
||||
];
|
||||
# Formatting
|
||||
extraPackages = with pkgs; [
|
||||
stylua
|
||||
|
|
10
nvim/vim-jjdescription.nix
Normal file
10
nvim/vim-jjdescription.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ vimUtils, fetchFromGitHub }:
|
||||
vimUtils.buildVimPlugin {
|
||||
name = "jjdescription";
|
||||
src = fetchFromGitHub {
|
||||
owner = "avm99963";
|
||||
repo = "vim-jjdescription";
|
||||
rev = "c9bf9f849ead3961ae38ab33f68306996e64c6e8";
|
||||
hash = "sha256-qnZFuXbzpm2GN/+CfksFfW2O+qTosUZcUagqCTzmtWo=";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue