Compare commits

..
1 Commits
Author SHA1 Message Date
swaits 886e7393da docs: prepare v0.1.0 release 2026-04-09 14:13:28 -06:00
3 changed files with 4 additions and 16 deletions

No files matched your search

+1 -1
View File
@@ -15,4 +15,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Configurable sign text and highlight group - Configurable sign text and highlight group
- Zero-config auto-loading via `plugin/` directory - Zero-config auto-loading via `plugin/` directory
[0.1.0]: https://git.swaits.com/swaits/tiny-lightbulb.nvim/releases/tag/v0.1.0 [0.1.0]: https://github.com/swaits/tiny-lightbulb.nvim/releases/tag/v0.1.0
+1 -13
View File
@@ -23,23 +23,11 @@ Zero config. ~40 lines of Lua.
Add to your `vim.pack.add()` call: Add to your `vim.pack.add()` call:
```lua ```lua
"https://git.swaits.com/swaits/tiny-lightbulb.nvim", "https://github.com/swaits/tiny-lightbulb.nvim",
``` ```
Done. The plugin auto-loads with sensible defaults. Done. The plugin auto-loads with sensible defaults.
## Recommended setup
To prevent the gutter from expanding and contracting as the lightbulb
appears and disappears, reserve the sign column width up front:
```lua
vim.o.signcolumn = "yes:2" -- room for a diagnostic + the lightbulb
```
Without this, Neovim's default `auto` behavior will shift your text left
and right as signs come and go.
## Configuration ## Configuration
All options are optional. Call `setup()` only if you want to customize: All options are optional. Call `setup()` only if you want to customize:
+2 -2
View File
@@ -1,6 +1,6 @@
*tiny-lightbulb.txt* Show a sign when LSP code actions are available *tiny-lightbulb.txt* Show a sign when LSP code actions are available
Author: Stephen Waits <https://git.swaits.com/swaits> Author: Stephen Waits <https://github.com/swaits>
License: MIT License: MIT
============================================================================== ==============================================================================
@@ -29,7 +29,7 @@ configuration — just install and go.
Add to your |vim.pack.add()| call: >lua Add to your |vim.pack.add()| call: >lua
"https://git.swaits.com/swaits/tiny-lightbulb.nvim", "https://github.com/swaits/tiny-lightbulb.nvim",
< <
That's it. The plugin auto-loads with defaults. To customize, call setup: >lua That's it. The plugin auto-loads with defaults. To customize, call setup: >lua