mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
vimUtils.neovimRequireCheckHook: fix hook by adding plugin dependencies to rtp
else neovim was not able to find the dependencies
This commit is contained in:
parent
cc3ebacb50
commit
cf53c81a2d
@ -10,7 +10,7 @@ neovimRequireCheckHook () {
|
||||
# editorconfig-checker-disable
|
||||
export HOME="$TMPDIR"
|
||||
@nvimBinary@ -es --headless -n -u NONE -i NONE --clean -V1 \
|
||||
--cmd "set rtp+=$out" \
|
||||
--cmd "set rtp+=$out,${dependencies/ /,}" \
|
||||
--cmd "lua require('$nvimRequireCheck')"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user