refactor: golf core module

This commit is contained in:
swaits committed 2026-04-09 14:12:24 -06:00
1 parent 0b15a01250
commit 4412c971fd
4 files changed
+13 -32

No files matched your search

+2 -3
View File
@@ -3,14 +3,14 @@
A tiny lightbulb for Neovim 0.12+. Shows a sign when LSP code actions are
available on the current line.
Zero config. ~50 lines of Lua.
Zero config. ~40 lines of Lua.
## Features
- Displays a 💡 in the sign column when code actions are available
- Clears instantly on cursor move
- Async LSP requests with stale-response handling
- Configurable sign text, highlight, and priority
- Configurable sign text and highlight group
- Works out of the box — no setup call required
## Requirements
@@ -36,7 +36,6 @@ All options are optional. Call `setup()` only if you want to customize:
require("tiny-lightbulb").setup({
sign = "💡", -- sign column text
hl = "DiagnosticWarn", -- highlight group
priority = 10, -- extmark priority
})
```