-
-
Notifications
You must be signed in to change notification settings - Fork 856
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: vim.diagnostics #1553
feat: vim.diagnostics #1553
Conversation
2eab80a
to
427844a
Compare
d7e54a5
to
45e11fd
Compare
7844cf3
to
a904ce4
Compare
|
I think the module is called I'd say consistency across telescope is more important here than consistency with the underlying API. |
skip-checks: true
skip-checks: true
7b64285
to
e8c1839
Compare
Yeah makes sense thanks :) |
Why not That said, But I don't care that much. |
I think its also not natural to say. but i dont like I also just noticed that its now just the buffers so we can also just have a |
Yes, diagnostics are global (by default). For a (Related: |
I've put in a namespace option: https://github.com/nvim-telescope/telescope.nvim/pull/1553/files#diff-79c55de55b65fbaa2b214c1f3d28277a87a5b6ac9e5e0c87168a3341a471e5d4R1487-R1488 so Telescope diagnostics namespace=7 should work. |
maybe it would even be better with a bufnr option. Like bufnr = nil|0 means current buffer bufnr = 7 means from buffer 7 and bufnr == all means all ? Thats more flexible than all and almost as easy |
Should have actually looked at the PR before opinionating :D
It's probably best to stick with the diagnostic convention here:
(You can add a |
The thing is people will call Edit: I am not sure which default would be better |
Yes, I'm saying this should be default ( If you want to be really fancy, you can add |
Okay changelog is here: https://github.com/nvim-telescope/telescope.nvim/pull/1553/files#diff-16e85f7f2f133a7dfecf66783549b68319150bcd7b077190d22a3adb16629819 I think As always Thanks for your help :) |
Makes sense! And you're right, not much need for convenience commands in Telescope itself since users can just create their own bespoke mappings. |
7906caf
to
a57f91a
Compare
skip-checks: true
As a side note, I'm afraid README needs to be updated for this PR 😅 |
|
fix #1378
close #1581
After 0.6 is a requirement.
Still WIP, requires more cleanup and maybe we can do something with namespace. So if we have multiple namespaces it might be useful to actually display that, maybe. or optional