mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix: misspelled highlight group name (#223)
This commit is contained in:
parent
e62a61166e
commit
8514c638bc
6 changed files with 112 additions and 114 deletions
|
|
@ -202,8 +202,8 @@ local function set_highlights()
|
|||
Macro = { fg = palette.iris },
|
||||
Number = { fg = palette.gold },
|
||||
Operator = { fg = palette.subtle },
|
||||
PreConduit = { fg = palette.iris },
|
||||
PreProc = { link = "PreConduit" },
|
||||
PreCondit = { fg = palette.iris },
|
||||
PreProc = { link = "PreCondit" },
|
||||
Repeat = { fg = palette.pine },
|
||||
Special = { fg = palette.foam },
|
||||
SpecialChar = { link = "Special" },
|
||||
|
|
@ -547,7 +547,7 @@ local function set_highlights()
|
|||
-- tami5/lspsaga.nvim (fork of glepnir/lspsaga.nvim)
|
||||
DefinitionCount = { fg = palette.rose },
|
||||
DefinitionIcon = { fg = palette.rose },
|
||||
DefintionPreviewTitle = { fg = palette.rose, bold = styles.bold },
|
||||
DefinitionPreviewTitle = { fg = palette.rose, bold = styles.bold },
|
||||
LspFloatWinBorder = make_border(),
|
||||
LspFloatWinNormal = { bg = groups.panel },
|
||||
LspSagaAutoPreview = { fg = palette.subtle },
|
||||
|
|
@ -605,7 +605,7 @@ local function set_highlights()
|
|||
|
||||
-- ibhagwan/fzf-lua
|
||||
FzfLuaNormal = { link = "NormalFloat" },
|
||||
FwzfLuaTitle = { fg = palette.foam, bold = styles.bold },
|
||||
FzfLuaTitle = { fg = palette.foam, bold = styles.bold },
|
||||
FzfLuaBorder = make_border(),
|
||||
FzfLuaHeaderText = { fg = palette.love },
|
||||
FzfLuaHeaderBind = { fg = palette.rose },
|
||||
|
|
|
|||
|
|
@ -2,43 +2,43 @@
|
|||
--- https://github.com/akinsho/bufferline.nvim
|
||||
---
|
||||
--- @usage
|
||||
--- local highlights = require('rose-pine.plugins.bufferline')
|
||||
--- require('bufferline').setup({ highlights = highlights })
|
||||
--- local highlights = require("rose-pine.plugins.bufferline")
|
||||
--- require("bufferline").setup({ highlights = highlights })
|
||||
|
||||
local p = require("rose-pine.palette")
|
||||
|
||||
return {
|
||||
-- fill = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- background = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- tab = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
tab_selected = {
|
||||
fg = p.text,
|
||||
bg = p.overlay,
|
||||
},
|
||||
-- tab_close = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- close_button = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- close_button_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- close_button_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
buffer_visible = {
|
||||
fg = p.subtle,
|
||||
|
|
@ -51,172 +51,172 @@ return {
|
|||
italic = true,
|
||||
},
|
||||
-- diagnostic = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- diagnostic_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- diagnostic_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- },
|
||||
-- info = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- sp = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- sp = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- info_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- info_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- sp = '<color-value-here>',
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- info_diagnostic = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- sp = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- sp = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- info_diagnostic_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- info_diagnostic_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- sp = '<color-value-here>',
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- warning = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- sp = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- sp = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- warning_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- warning_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- sp = '<color-value-here>',
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- warning_diagnostic = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- sp = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- sp = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- warning_diagnostic_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- warning_diagnostic_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- sp = warning_diagnostic_fg,
|
||||
-- },
|
||||
-- error = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- sp = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- error_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- error_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- sp = '<color-value-here>',
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- error_diagnostic = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- sp = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- error_diagnostic_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- error_diagnostic_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- sp = '<color-value-here>',
|
||||
-- sp = "<color-value-here>",
|
||||
-- },
|
||||
-- modified = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- modified_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- modified_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- duplicate_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- italic = true,
|
||||
-- bg = '<color-value-here>',
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- duplicate_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- italic = true,
|
||||
-- bg = '<color-value-here>',
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- duplicate = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- italic = true,
|
||||
-- bg = '<color-value-here>',
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- separator_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- separator_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- separator = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- indicator_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- },
|
||||
-- pick_selected = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- italic = true,
|
||||
-- },
|
||||
-- pick_visible = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- },
|
||||
-- pick = {
|
||||
-- fg = '<color-value-here>',
|
||||
-- bg = '<color-value-here>',
|
||||
-- fg = "<color-value-here>",
|
||||
-- bg = "<color-value-here>",
|
||||
-- bold = true,
|
||||
-- italic = true,
|
||||
-- },
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
--- https://github.com/NTBBloodbath/galaxyline.nvim
|
||||
---
|
||||
--- @usage
|
||||
--- local highlights = require('rose-pine.plugins.galaxyline')
|
||||
--- local highlights = require("rose-pine.plugins.galaxyline")
|
||||
|
||||
local p = require("rose-pine.palette")
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
--- https://github.com/David-Kunz/markid
|
||||
---
|
||||
--- @usage
|
||||
--- local highlights = require('rose-pine.plugins.markid')
|
||||
--- local highlights = require("rose-pine.plugins.markid")
|
||||
--- require("nvim-treesitter.configs").setup({ markid = { enable = true, colors = highlights } })
|
||||
|
||||
local p = require("rose-pine.palette")
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
--- https://github.com/akinsho/toggleterm.nvim
|
||||
---
|
||||
--- @usage
|
||||
--- local highlights = require('rose-pine.plugins.toggleterm')
|
||||
--- require('toggleterm').setup({ highlights = highlights })
|
||||
--- local highlights = require("rose-pine.plugins.toggleterm")
|
||||
--- require("toggleterm").setup({ highlights = highlights })
|
||||
|
||||
return {
|
||||
Normal = { link = "Normal" },
|
||||
|
|
|
|||
20
readme.md
20
readme.md
|
|
@ -18,13 +18,13 @@ Install `rose-pine/neovim` using your favourite plugin manager:
|
|||
**paq-nvim**
|
||||
|
||||
```lua
|
||||
{ 'rose-pine/neovim', as = 'rose-pine' }
|
||||
{ "rose-pine/neovim", as = "rose-pine" }
|
||||
```
|
||||
|
||||
**lazy.nvim**
|
||||
|
||||
```lua
|
||||
{ 'rose-pine/neovim', name = 'rose-pine' }
|
||||
{ "rose-pine/neovim", name = "rose-pine" }
|
||||
```
|
||||
|
||||
## Gallery
|
||||
|
|
@ -51,7 +51,7 @@ Rosé Pine has three variants: main, moon, and dawn. By default, `vim.o.backgrou
|
|||
Colour values accept named colours from the [Rosé Pine palette](https://rosepinetheme.com/palette/ingredients/), e.g. "foam", or valid hex, e.g. "#fa8072".
|
||||
|
||||
```lua
|
||||
require('rose-pine').setup({
|
||||
require("rose-pine").setup({
|
||||
variant = "auto", -- auto, main, moon, or dawn
|
||||
dark_variant = "main", -- main, moon, or dawn
|
||||
dim_inactive_windows = false,
|
||||
|
|
@ -59,10 +59,8 @@ require('rose-pine').setup({
|
|||
|
||||
enable = {
|
||||
terminal = true,
|
||||
-- Improve compatibility for previous versions of Neovim
|
||||
legacy_highlights = true,
|
||||
-- Handle deprecated options automatically
|
||||
migrations = true,
|
||||
legacy_highlights = true, -- Improve compatibility for previous versions of Neovim
|
||||
migrations = true, -- Handle deprecated options automatically
|
||||
},
|
||||
|
||||
styles = {
|
||||
|
|
@ -120,10 +118,10 @@ require('rose-pine').setup({
|
|||
end,
|
||||
})
|
||||
|
||||
vim.cmd('colorscheme rose-pine')
|
||||
-- vim.cmd('colorscheme rose-pine-main')
|
||||
-- vim.cmd('colorscheme rose-pine-moon')
|
||||
-- vim.cmd('colorscheme rose-pine-dawn')
|
||||
vim.cmd("colorscheme rose-pine")
|
||||
-- vim.cmd("colorscheme rose-pine-main")
|
||||
-- vim.cmd("colorscheme rose-pine-moon")
|
||||
-- vim.cmd("colorscheme rose-pine-dawn")
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue