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:
parent
ec1dff4866
commit
a54996b5f0
1 changed files with 87 additions and 86 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ inputs, pkgs, self, username }:
|
{ inputs, pkgs, self, username }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
customVim = with self; {
|
||||||
vim-astro = pkgs.vimUtils.buildVimPlugin {
|
vim-astro = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "vim-astro";
|
name = "vim-astro";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
@ -80,7 +81,7 @@ let
|
||||||
sha256 = "/ADzScsG0u6RJbEtfO23Gup2NYdhPkExqqOPVcQa7aQ=";
|
sha256 = "/ADzScsG0u6RJbEtfO23Gup2NYdhPkExqqOPVcQa7aQ=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.username = "${username}";
|
home.username = "${username}";
|
||||||
|
@ -500,14 +501,14 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
tabline-vim
|
customVim.tabline-vim
|
||||||
vim-astro
|
customVim.vim-astro
|
||||||
vim-caser
|
customVim.vim-caser
|
||||||
vim-heritage
|
customVim.vim-heritage
|
||||||
vim-just
|
customVim.vim-just
|
||||||
vim-zoom
|
customVim.vim-zoom
|
||||||
vim-textobj-xmlattr
|
customVim.vim-textobj-xmlattr
|
||||||
vim-visual-star-search
|
customVim.vim-visual-star-search
|
||||||
|
|
||||||
vimPlugins.comment-nvim
|
vimPlugins.comment-nvim
|
||||||
vimPlugins.dial-nvim
|
vimPlugins.dial-nvim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue