Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove empty setup function #151

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 10 additions & 20 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,19 @@
> 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
}
require("lazy").setup({
{ 'rose-pine/neovim', name = 'rose-pine' }
})

vim.cmd('colorscheme rose-pine')
```

> With [packer.nvim](https://github.com/wbthomason/packer.nvim)

```lua
use({
'rose-pine/neovim',
as = 'rose-pine',
config = function()
require("rose-pine").setup()
vim.cmd('colorscheme rose-pine')
end
})
use({ 'rose-pine/neovim', as = 'rose-pine' })

vim.cmd('colorscheme rose-pine')
```

_Supported plugins are listed in the [wiki](https://github.com/rose-pine/neovim/wiki#supported-plugins)_
Expand Down Expand Up @@ -114,14 +104,14 @@ require('rose-pine').setup({
}
})

-- set colorscheme after options
-- Set colorscheme after options
vim.cmd('colorscheme rose-pine')
```

## Contributing

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)
- [Palette reference by name](https://rosepinetheme.com/palette)