Skip to content

Conversation

@atm1020
Copy link
Contributor

@atm1020 atm1020 commented Apr 14, 2024

  • In case the root markers are missing, use a fallback directory returned by the vim.fn.getcwd() function. After creating any root markers, jdtls recognizes and uses them after a restart.

  • I think people who just want to try nvim-java with a simple project, are stuck without a fallback directory.

@atm1020 atm1020 changed the title fix: use fallback directory when root markers are missing (#152) fix: use fallback directory when root markers are missing Apr 14, 2024
@s1n7ax
Copy link
Member

s1n7ax commented Apr 14, 2024

I will look into this

@s1n7ax
Copy link
Member

s1n7ax commented Apr 16, 2024

@atm1020 Awesome. My home dir is a git repo. That's why it worked for me all this time. This fix is working. Thanks!

@s1n7ax s1n7ax merged commit 5644bd1 into nvim-java:main Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants