I'm using emacs and have the configuration for the README
(use-package nim-mode
:ensure t
:hook
(nim-mode . lsp))
now if I import pkg/tabby the tabby part gets underlined and there's a message cannot open file: pkg/tabby [nimsuggest chk]. If I compile that same file from the command-line it about compiles fine. I'm suspecting that it's an easy fix, but what is it?Your editor/IDE act as an LSP client. It usually runs the selected LSP server as a child process.
If you select nimlsp, you should see a process named nimlsp in your task manager. Same stands for nimlangserver. If you are on linux you can pgrep -a nimlsp or pgrep -a nimlangserver.
There is no interaction between nimlsp and nimlangserver. You can have both running at the same time, but they can't both listen on the same socket at the same time (usually 5007/TCP, or unix socket), and your editor/IDE usually don't run two LSP clients that connects to two LSP servers at the same time.
For nimlsp you can use nimlsp_debug executable instead of nimlsp and that would produce logs in your tmp folder. Check here for details https://github.com/PMunch/nimlsp#debug