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

bug: incorrect row and column in document_diagnostics #264

Closed
3 tasks done
amlanjlahkar opened this issue Feb 19, 2023 · 1 comment · Fixed by #263
Closed
3 tasks done

bug: incorrect row and column in document_diagnostics #264

amlanjlahkar opened this issue Feb 19, 2023 · 1 comment · Fixed by #263
Labels
bug Something isn't working

Comments

@amlanjlahkar
Copy link

Did you check docs and existing issues?

  • I have read all the trouble.nvim docs
  • I have searched the existing issues of trouble.nvim
  • I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)

0.8.3

Operating system/version

void linux

Describe the bug

It seems like trouble is having problem with determining the line and column numbers in the document_diagnostics mode. It's treating the line as column number and column as the line number hence producing a faulty behavior when jumping to diagnostic location

Steps To Reproduce

  1. produce some explicit defects in the document which will lead to certain diagnostics to be published
  2. do :Trouble document_diagnostics

Expected Behavior

Trouble returning the correct location of the diagnostics' occurrences

Repro

No response

@amlanjlahkar amlanjlahkar added the bug Something isn't working label Feb 19, 2023
@amlanjlahkar
Copy link
Author

I've rolled back to commit 3bd0292 and it's working as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant