-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with cwd root-dir detection #88
Comments
Hey! Could you share the result of lspinfo? I think there is an issue with root_dir possibly |
You might be right. That
|
Definitely. In single file mode, root directory is the directory of the first opened file. However, single file mode is unexpected on neovim; could you post your lspconfig for this? |
Does it need a |
That is one way; there is also .git, .moxide.toml and if not those, the cwd of neovim |
It seems that the my lsp config is a bit scattered through my files, not sure this is all
|
Ok thanks Ill investigate |
thank you! I was using [another markdown lsp] before, but this one is just awesome |
Awesome! |
Hey sorry for the delay -- was on vacation. I think I will look more into this when I am making the #95 |
in v1 I will be rewriting all of this code, so I will fix this then. |
I assume this might be some error in my configuration, but I see that any file that isn't already opened returns an "Unresolved reference" error. Even if the count of the references is working fine.
I created a test vault with this structure
The current directory is the root of the vault (so above
journal
,resources
andtasks
) and onlysome-data
is correctly referenced.It seems to work better for files under the same folder though. I moved into
journal
and restarted the server and this made2024-05-16
file correctly referenced.The text was updated successfully, but these errors were encountered: