neovim: fixed luasnip test + simplify code
let's not use vimrcContent that is effectively the identity in our context.
This commit is contained in:
committed by
Matthieu Coudron
parent
7d5a33939f
commit
b2df781d90
@@ -364,7 +364,6 @@ in
|
||||
# for instance luasnip has a dependency on jsregexp
|
||||
can_require_transitive_deps =
|
||||
runTest nvim-with-luasnip ''
|
||||
cat ${nvim-with-luasnip}/nvim
|
||||
${nvim-with-luasnip}/bin/nvim -i NONE --cmd "lua require'jsregexp'" -e +quitall!
|
||||
'';
|
||||
|
||||
|
||||
@@ -84,13 +84,9 @@ let
|
||||
pluginRC = lib.foldl (acc: p: if p.config != null then acc ++ [p.config] else acc) [] pluginsNormalized;
|
||||
|
||||
# a limited RC script used only to generate the manifest for remote plugins
|
||||
manifestRc = vimUtils.vimrcContent { customRC = ""; };
|
||||
manifestRc = "";
|
||||
# we call vimrcContent without 'packages' to avoid the init.vim generation
|
||||
neovimRcContent' = vimUtils.vimrcContent {
|
||||
beforePlugins = "";
|
||||
customRC = lib.concatStringsSep "\n" (pluginRC ++ lib.optional (neovimRcContent != null) neovimRcContent);
|
||||
packages = null;
|
||||
};
|
||||
neovimRcContent' = lib.concatStringsSep "\n" (pluginRC ++ lib.optional (neovimRcContent != null) neovimRcContent);
|
||||
|
||||
packpathDirs.myNeovimPackages = myVimPackage;
|
||||
finalPackdir = neovimUtils.packDir packpathDirs;
|
||||
|
||||
Reference in New Issue
Block a user