snacks.nvim/docs/words.md
2024-11-06 17:49:10 +01:00

488 B

🍿 words

Auto-show LSP references and quickly navigate between them

⚙️ Config

---@class snacks.words.Config
{
  enabled = true, -- enable/disable the plugin
  debounce = 200, -- time in ms to wait before updating
}

📦 Module

Snacks.words.is_enabled()

---@param buf number?
Snacks.words.is_enabled(buf)

Snacks.words.jump()

---@param count number
---@param cycle? boolean
Snacks.words.jump(count, cycle)