feat(nvim): Package and use vim-jjdescription

This commit is contained in:
Jalil David Salamé Messina 2024-04-10 19:07:26 +02:00
parent 596bb09c58
commit 02b830b157
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 19 additions and 1 deletions

View file

@ -52,7 +52,15 @@ in
plugins = import ./plugins.nix { inherit lib; }; plugins = import ./plugins.nix { inherit lib; };
keymaps = import ./mappings.nix; keymaps = import ./mappings.nix;
inherit (import ./augroups.nix) autoGroups autoCmd; 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 # Formatting
extraPackages = with pkgs; [ extraPackages = with pkgs; [
stylua stylua

View 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=";
};
}