refactor: golf core module
This commit is contained in:
4 files changed
+13
-32
No files matched your search
@@ -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
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user