refactor(nvim): prefix custom Vim plugins

Prefix custom Vim plugins with `customVim` so they are easier to
distinguish from the plugins provided by the Nix store.
This commit is contained in:
Oliver Davies 2023-08-25 14:53:32 +01:00
parent ec1dff4866
commit a54996b5f0

View file

@ -1,6 +1,7 @@
{ inputs, pkgs, self, username }:
let
customVim = with self; {
vim-astro = pkgs.vimUtils.buildVimPlugin {
name = "vim-astro";
src = pkgs.fetchFromGitHub {
@ -80,7 +81,7 @@ let
sha256 = "/ADzScsG0u6RJbEtfO23Gup2NYdhPkExqqOPVcQa7aQ=";
};
};
};
in
{
home.username = "${username}";
@ -500,14 +501,14 @@ in
enable = true;
plugins = with pkgs; [
tabline-vim
vim-astro
vim-caser
vim-heritage
vim-just
vim-zoom
vim-textobj-xmlattr
vim-visual-star-search
customVim.tabline-vim
customVim.vim-astro
customVim.vim-caser
customVim.vim-heritage
customVim.vim-just
customVim.vim-zoom
customVim.vim-textobj-xmlattr
customVim.vim-visual-star-search
vimPlugins.comment-nvim
vimPlugins.dial-nvim