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

Check for rename support before showing LSP rename prompt #9277

Merged
merged 1 commit into from
Jan 9, 2024

Commits on Jan 8, 2024

  1. Check for rename support before showing rename prompt

    Previously we always showed the prompt even if the current document
    didn't have a language server that could perform a rename. For example
    we showed a rename prompt even when using `<space>r` in a scratch
    buffer.
    
    Instead we should check the document's language servers to see if any
    supports a rename and bail if there are none.
    the-mikedavis committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    39b1466 View commit details
    Browse the repository at this point in the history