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

feat(lsp): add the end location information of lsp to quickfix item #28724

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ofseed
Copy link
Contributor

@ofseed ofseed commented May 12, 2024

There's the support of end_lnum and end_col for quickfix already, which was originally designed to support LSP locations, see vim/vim#8393, and it has already been patched to nvim.

After making these distinctions, this code looks ugly. I'm not sure if I need to refactor

@ofseed
Copy link
Contributor Author

ofseed commented May 12, 2024

Sample usage of nvim-bqf, which utilizes the end_lnum and end_col

Before this PR:
image

After:

image

@ofseed
Copy link
Contributor Author

ofseed commented May 12, 2024

The information will also be shown in the default quickfix window
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant