Does anyone have any examples of how to use vim.lsp.util.buf_highlight_references()?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • vim-illuminate

    illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.

  • vim-illuminate can do this, so you can take a look at the implementation there. I tried to "go native" and avoid depending on vim-illuminate but found that it was more trouble than it was worth, so I just use the plugin now.

  • nvim-treesitter-refactor

    Refactor module for nvim-treesitter

  • You can also navigate between the highlights using treesitter-refactor: https://github.com/nvim-treesitter/nvim-treesitter-refactor

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts