Skip to content

Commit 14c252e

Browse files
docs: add installation instructions without lazy
1 parent c1fa2a8 commit 14c252e

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,19 @@ Note the *"Processing..."* virtual text while AI is generating the response.
2121

2222
## 📦 Installation
2323

24-
Using [lazy.nvim](https://github.com/folke/lazy.nvim):
24+
Add the inline spinner to your CodeCompanion setup as follows:
25+
26+
```lua
27+
require("codecompanion").setup({
28+
-- ... other codecompanion setup ...
29+
extensions = {
30+
spinner = {},
31+
},
32+
})
33+
```
34+
35+
<details>
36+
<summary>Example using <a href="https://github.com/folke/lazy.nvim">lazy.nvim</a>:</summary>
2537

2638
```lua
2739
{
@@ -31,13 +43,16 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim):
3143
"franco-ruggeri/codecompanion-spinner.nvim",
3244
},
3345
opts = {
46+
-- ... other codecompanion setup ...
3447
extensions = {
3548
spinner = {},
3649
},
3750
},
3851
}
3952
```
4053

54+
</details>
55+
4156
## 🙏 Acknowledgements
4257

4358
Thanks [yuhua99](https://github.com/yuhua99) for providing the basic [spinner

0 commit comments

Comments
 (0)