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

fix(builtin.lsp): respect file_ignore_patterns opt for direct jumps #3173

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

jamestrew
Copy link
Contributor

Adds support for respecting file_ignore_patterns option before any jumps are made in the following pickers utilizing the list_or_jump helper.
Without this, you can get a picker with only one result, so it should've jumped rather than opening the picker.

closes #3168

@dssste
Copy link

dssste commented Jun 16, 2024

Thank you. Tried it and it works.

@jamestrew jamestrew merged commit 58ec6ec into nvim-telescope:master Jun 25, 2024
12 checks passed
@jamestrew jamestrew deleted the lsp-jump-ignore-patterns branch June 25, 2024 03:15
@jamestrew jamestrew added the backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat) label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-0.1.x PR to be backported to 0.1.x (Neovim 0.7 compat)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lsp_definitions should respect file_ignore_patterns when deciding list or jump
2 participants