-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
java pack root_dir #1131
Comments
I've updated the repro config to include the the java pack. I'll see if I can find an example repo and have a play around with this later |
I found this, will give it a try when i have some time |
@AstroNvim/astrocommunity-maintainers Someone else might need to try and repro this, I run my stuff in VM and it doesn't seem to like it
|
I'll try sometime next week. |
Hi there, I noticed that this is related to the way that the pack identifies the root directory. As defined in this line, the root directory is defined by finding any of the following files or directories: The problem here being that the path is traversed in reverse.
Now you open file I've edited the value for The problem is, I don't know enough lua to figure out if I could just add this change to my configuration, so I edited it directly within Can I configure the |
The default defined by nvim-jdtls would be to use |
Checklist
repro.lua
provided belowNeovim version (nvim -v)
0.10.0 release
Operating system/version
macOS 11.5
Terminal/GUI
noevidea
Describe the bug
java pack can not resolve root_dir when maven project with submodules
Steps to Reproduce
open a java maven project with submodules
Expected behavior
submodule--
Screenshots
No response
Additional Context
No response
Minimal configuration
The text was updated successfully, but these errors were encountered: