Skip to content

fix: enable fallback watcher when dynamicRegistration is false #2783

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jasonlyu123
Copy link
Member

@jasonlyu123 jasonlyu123 commented Jun 21, 2025

#2008

In Linux, neovim's client capability is didChangeWatchedFiles: { dynamicRegistration: false }. When this first happened, I think it was the client's responsibility to add the watcher in this case; however, it turned out to be a bit problematic, and it is the top 3 most commented closed issue 😅 . The neovim+Linux users are probably a lot more than the users using an lsp client that has a watcher config in the client. It also isn't as capable as our fallback watcher: it likely doesn't support as many file extensions, and we can't add a watcher outside the project root.

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.

1 participant