Skip to content
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

Don't try to start the Ruby LSP client if git is in the middle of a rebase / merge conflict #3049

Open
1 task done
ryanseys opened this issue Jan 11, 2025 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@ryanseys
Copy link
Member

I have checked that this feature is not already implemented

  • This feature does not exist

Use case

Detect that we are in the middle of a git rebase merge conflict situation (in which files are gonna be all messed up), do not try to start the LSP server / client / etc.

Got these 3 Ruby LSP error popups when in the middle of resolving a rebase merge conflict:

Image

Description

See use case.

Implementation

Before starting Ruby LSP client / server: Detect .git/ dir on local file system, and use git CLI to determine if a rebase is progress

@ryanseys ryanseys added the enhancement New feature or request label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant