mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
Update readme.md
This commit is contained in:
parent
6d91e39c28
commit
9e30b45caf
1 changed files with 16 additions and 0 deletions
16
readme.md
16
readme.md
|
|
@ -13,6 +13,21 @@
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
> With [lazy.nvim](https://github.com/folke/lazy.nvim)
|
||||||
|
|
||||||
|
```lua
|
||||||
|
{
|
||||||
|
'rose-pine/neovim',
|
||||||
|
name = 'rose-pine',
|
||||||
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
require("rose-pine").setup()
|
||||||
|
vim.cmd('colorscheme rose-pine')
|
||||||
|
end
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
> With [packer.nvim](https://github.com/wbthomason/packer.nvim)
|
> With [packer.nvim](https://github.com/wbthomason/packer.nvim)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
|
@ -20,6 +35,7 @@ use({
|
||||||
'rose-pine/neovim',
|
'rose-pine/neovim',
|
||||||
as = 'rose-pine',
|
as = 'rose-pine',
|
||||||
config = function()
|
config = function()
|
||||||
|
require("rose-pine").setup()
|
||||||
vim.cmd('colorscheme rose-pine')
|
vim.cmd('colorscheme rose-pine')
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue