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(diagnosticts): add option to show the source of the entry #3376

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

Conversation

Koliras
Copy link

@Koliras Koliras commented Dec 5, 2024

Description

Adds option to show LSP source to diagnostics picker.
It's useful when you work on a multilanguage project.

Fixes #2544
Fixes #2110

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

  • :lua require('telescope.builtin').diagnostics({ show_source = true })

In the end of every result there should be the source that created the entry

Configuration:

  • Neovim version (nvim --version): v0.10.2
  • Operating system and version: Ubuntu 24.04.1 LTS

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

@Koliras Koliras marked this pull request as ready for review December 6, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to show source in diagnostic picker Show LSP source with diagnostics picker
1 participant