I'm trying to run
lsp-mode from within Doom Emacs from my Scala project, but when sbt starts up, it's in the home directory instead of where my
build.sbt file is located. Has anyone experienced this before or does anyone know why this might be happening?
How do I specify to
lsp-mode where the project root directory is?
Looks like the problem was that I had a
target/ folder in my $HOME directory, and simply deleting them enables
lsp-mode to find the right project root.