Skip to content

feature: add option to have no highlight for words #2735

@zDonik1

Description

@zDonik1

Did you check the docs?

  • I have read all the snacks.nvim docs

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

It would be nice to have an option in "words", where highlighting the LSP references is not shown. My issue is that certain LSP references are overwhelming when highlighted, for example when the LSP reference is used/repeated all over the file.

Describe the solution you'd like

Add a boolean option, maybe called "highlight", that can control whether words highlights the references or not.

Describe alternatives you've considered

Disabling words, but then the jumps to references do not work.

Additional context

I am aware that I can edit highlight groups, but from what I have seen in code, it uses nvim's LSP highlights for highlighting the references, which I definitely do not want to hide. So it would make more sense if words had an option to disable highlighting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions