ghcmod-vim does not work with my stack project. I think the issue is related to the fact that stack path --project-root prints Continuing despite missing tool: msys2 to stderr before printing the path to stdout. The function ghcmod#basedir() returns both lines instead of just the path.