Skip to content

Commit fe21b80

Browse files
authored
docs: correct vim.pack install instructions (#993)
1 parent 0de2b6d commit fe21b80

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ This port of <a href="https://github.com/catppuccin/">Catppuccin</a> is special
5555
with Neovim 0.12's `vim.pack`
5656

5757
```lua
58-
vim.pack.add({ src = "https://github.com/catppuccin/nvim", name = "catppuccin" })
58+
vim.pack.add { { src = "https://github.com/catppuccin/nvim", name = "catppuccin" } }
5959
```
6060

6161
[lazy.nvim](https://github.com/folke/lazy.nvim)

doc/catppuccin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ INSTALLATION *catppuccin-installation*
2727
with Neovim 0.12’s `vim.pack`
2828

2929
>lua
30-
vim.pack.add({ src = "https://github.com/catppuccin/nvim", name = "catppuccin" })
30+
vim.pack.add { { src = "https://github.com/catppuccin/nvim", name = "catppuccin" } }
3131
<
3232

3333
lazy.nvim <https://github.com/folke/lazy.nvim>

0 commit comments

Comments
 (0)