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(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine) #2584

Conversation

nghialm269
Copy link
Contributor

@nghialm269 nghialm269 commented Jun 24, 2023

Description

The doc states that lsp_dynamic_workspace_symbols supports prefiltering using <C-l> mapping, but it doesn't.
This PR adds support for prefiltering after refining to fuzzy search.

Fixes #2089.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  1. Execute command :Telescope lsp_dynamic_workspace_symbols.
  2. Type something to start fetching symbols.
  3. Press <C-space> to refine to fuzzy search.
  4. Press <C-l> to do prefiltering:

image

Configuration:

  • Neovim version (nvim --version): NVIM v0.10.0-dev-551+ge27377e33
  • Operating system and version: arch

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)

@nghialm269 nghialm269 force-pushed the fix/lsp_dynamic_workspace_symbols-prefilter branch from 38ee3a1 to 1f9bce5 Compare June 24, 2023 20:39
Github Actions and others added 3 commits June 24, 2023 20:40
@jamestrew
Copy link
Contributor

LGTM thanks!

@jamestrew jamestrew merged commit 219584a into nvim-telescope:master Jun 24, 2023
Conni2461 pushed a commit that referenced this pull request Sep 5, 2023
…n (after to_fuzzy_refine) (#2584)

* fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine)

* [docgen] Update doc/telescope.txt
skip-checks: true

* docs grammar

* [docgen] Update doc/telescope.txt
skip-checks: true

---------

Co-authored-by: Github Actions <actions@github>
Co-authored-by: James Trew <j.trew10@gmail.com>
(cherry picked from commit 219584a)
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.

autocomplete <C-l> not working for lsp_dynamic_workspace_symbols
2 participants