mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
BREAKING!: rewrite config api and update styles
- move config to lua - use rose for search match - fix background flicker when automatically switching to dawn - remove unneeded highlights (please report regressions) - remove deprecated `LspDiagnostics*` - remove `LspReference*` - improve overall consistency between elements - non-treesitter updates to match treesitter styles - update popup menu scrollbar and selection - update telescope selection - match cursorcolumn to cursorline
This commit is contained in:
parent
1a3d0c279e
commit
b77bd8e7ce
9 changed files with 595 additions and 599 deletions
|
|
@ -1,4 +1,6 @@
|
|||
local variants = {
|
||||
local palette = {}
|
||||
|
||||
palette = {
|
||||
main = {
|
||||
base = '#191724',
|
||||
surface = '#1f1d2e',
|
||||
|
|
@ -55,14 +57,6 @@ local variants = {
|
|||
},
|
||||
}
|
||||
|
||||
local palette = variants.main
|
||||
|
||||
if string.match(vim.g.rose_pine_variant or '', 'moon') then
|
||||
palette = variants.moon
|
||||
elseif string.match(vim.g.rose_pine_variant or '', 'dawn') then
|
||||
palette = variants.dawn
|
||||
end
|
||||
|
||||
vim.tbl_deep_extend('force', palette, { none = 'NONE' })
|
||||
|
||||
return palette
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue