Skip to content

feat: improves project root detection by always going up the directory tree until we find a project root marker#482

Merged
sidlatau merged 1 commit into
nvim-flutter:mainfrom
gsporto226:better-project-dir-detection
Jun 22, 2025
Merged

feat: improves project root detection by always going up the directory tree until we find a project root marker#482
sidlatau merged 1 commit into
nvim-flutter:mainfrom
gsporto226:better-project-dir-detection

Conversation

@gsporto226

Copy link
Copy Markdown
Contributor

This fixes the use of commands in monorepos as we always go up the directory tree searching for the nearest project root marker,
instead of relying on the LSP's root dir which is set to be the project root of whichever project was open when the LSP got attached.

@sidlatau sidlatau merged commit 3a3f6f5 into nvim-flutter:main Jun 22, 2025
3 of 4 checks passed
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