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

feature: toggles/flags rework #770

Closed
1 task done
folke opened this issue Jan 28, 2025 · 1 comment · Fixed by #793 or #728
Closed
1 task done

feature: toggles/flags rework #770

folke opened this issue Jan 28, 2025 · 1 comment · Fixed by #793 or #728
Labels
enhancement New feature or request

Comments

@folke
Copy link
Owner

folke commented Jan 28, 2025

Did you check the docs?

  • I have read all the snacks.nvim docs

Is your feature request related to a problem? Please describe.

Currently we have toggles for ignored, hidden and follow.

  • they're mapped globally for every source.
  • show in the title as a flag
  • have an associated action

Describe the solution you'd like

toggles/flags should be more generic and be able to be configured per source.

Like for grep opts.toggle = {...}.

Describe alternatives you've considered

...

Additional context

No response

@maskudo
Copy link

maskudo commented Jan 29, 2025

An option for toggling between diagnostics based on severity would be nice. I noticed there is such toggle in trouble already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants