fix(nvim): don't do assertion if not ide
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-22 15:27:11 -04:00
parent b6c4957043
commit 731b85c948

View file

@ -21,8 +21,8 @@
in {
assertions = [
{
assertion = hasPrefix "/home/${mainUser}/" flakeEnv;
message = mdDoc ''
assertion = neovimIde && hasPrefix "/home/${mainUser}/" flakeEnv || !neovimIde;
message = ''
Your $FLAKE environment variable needs to point to a directory in
the main users' home to use the neovim module.
'';