fix(nvim): add yaml companion dependencies to pass tests
This commit is contained in:
parent
1b286522b4
commit
cc597557db
1 changed files with 13 additions and 15 deletions
|
@ -10,16 +10,15 @@ let
|
||||||
url = "https://ftp.nluug.nl/vim/runtime/spell/fr.utf-8.sug";
|
url = "https://ftp.nluug.nl/vim/runtime/spell/fr.utf-8.sug";
|
||||||
sha256 = "0294bc32b42c90bbb286a89e23ca3773b7ef50eff1ab523b1513d6a25c6b3f58";
|
sha256 = "0294bc32b42c90bbb286a89e23ca3773b7ef50eff1ab523b1513d6a25c6b3f58";
|
||||||
};
|
};
|
||||||
fromGitHub = rev: ref: repo:
|
yaml-companion = pkgs.vimUtils.buildVimPlugin {
|
||||||
pkgs.vimUtils.buildVimPlugin {
|
pname = "yaml-companion";
|
||||||
pname = "${pkgs.lib.strings.sanitizeDerivationName repo}";
|
version = "main";
|
||||||
version = ref;
|
src = builtins.fetchGit {
|
||||||
src = builtins.fetchGit {
|
url = "https://github.com/someone-stole-my-name/yaml-companion.nvim.git";
|
||||||
url = "https://github.com/${repo}.git";
|
rev = "131b0d67bd2e0f1a02e0daf2f3460482221ce3c0";
|
||||||
ref = ref;
|
ref = "main";
|
||||||
rev = rev;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.cli.neovim = {
|
options.modules.cli.neovim = {
|
||||||
|
@ -197,13 +196,12 @@ in
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ( builtins.readFile ./files/whichkey.lua );
|
config = ( builtins.readFile ./files/whichkey.lua );
|
||||||
}
|
}
|
||||||
# yaml companion
|
|
||||||
{
|
{
|
||||||
plugin = ( fromGitHub
|
plugin = yaml-companion.overrideAttrs {
|
||||||
"131b0d67bd2e0f1a02e0daf2f3460482221ce3c0"
|
dependencies = [
|
||||||
"main"
|
nvim-lspconfig
|
||||||
"someone-stole-my-name/yaml-companion.nvim"
|
];
|
||||||
);
|
};
|
||||||
type = "lua";
|
type = "lua";
|
||||||
}
|
}
|
||||||
vim-helm
|
vim-helm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue