mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
docs: remove empty setup function (#137)
This commit is contained in:
parent
2a7381e9ab
commit
36feaf500f
1 changed files with 10 additions and 20 deletions
30
readme.md
30
readme.md
|
|
@ -16,29 +16,19 @@
|
||||||
> With [lazy.nvim](https://github.com/folke/lazy.nvim)
|
> With [lazy.nvim](https://github.com/folke/lazy.nvim)
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
{
|
require("lazy").setup({
|
||||||
'rose-pine/neovim',
|
{ 'rose-pine/neovim', name = 'rose-pine' }
|
||||||
name = 'rose-pine',
|
})
|
||||||
lazy = false,
|
|
||||||
priority = 1000,
|
vim.cmd('colorscheme rose-pine')
|
||||||
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
|
||||||
use({
|
use({ 'rose-pine/neovim', as = 'rose-pine' })
|
||||||
'rose-pine/neovim',
|
|
||||||
as = 'rose-pine',
|
vim.cmd('colorscheme rose-pine')
|
||||||
config = function()
|
|
||||||
require("rose-pine").setup()
|
|
||||||
vim.cmd('colorscheme rose-pine')
|
|
||||||
end
|
|
||||||
})
|
|
||||||
```
|
```
|
||||||
|
|
||||||
_Supported plugins are listed in the [wiki](https://github.com/rose-pine/neovim/wiki#supported-plugins)_
|
_Supported plugins are listed in the [wiki](https://github.com/rose-pine/neovim/wiki#supported-plugins)_
|
||||||
|
|
@ -114,7 +104,7 @@ require('rose-pine').setup({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- set colorscheme after options
|
-- Set colorscheme after options
|
||||||
vim.cmd('colorscheme rose-pine')
|
vim.cmd('colorscheme rose-pine')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -122,6 +112,6 @@ vim.cmd('colorscheme rose-pine')
|
||||||
|
|
||||||
We welcome and appreciate any help in creating a lovely experience for all.
|
We welcome and appreciate any help in creating a lovely experience for all.
|
||||||
|
|
||||||
- [Get highlight groups under cursor](https://github.com/nvim-treesitter/playground#show-treesitter-and-syntax-highlight-groups-under-the-cursor)
|
- Get highlight groups under cursor via `:Inspect` in Neovim 0.9 or [nvim-treesitter/playground](https://github.com/nvim-treesitter/playground#show-treesitter-and-syntax-highlight-groups-under-the-cursor)
|
||||||
- [Adding new highlight groups](https://github.com/rose-pine/neovim/issues/6#issuecomment-962466323)
|
- [Adding new highlight groups](https://github.com/rose-pine/neovim/issues/6#issuecomment-962466323)
|
||||||
- [Palette reference by name](https://rosepinetheme.com/palette)
|
- [Palette reference by name](https://rosepinetheme.com/palette)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue