mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: add bold vertical split line option (#26)
This commit is contained in:
parent
6489d7cc62
commit
5cf7750240
2 changed files with 9 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ local p = require('rose-pine.palette')
|
||||||
local theme = {}
|
local theme = {}
|
||||||
local maybe_base = p.base
|
local maybe_base = p.base
|
||||||
local maybe_italic = 'italic'
|
local maybe_italic = 'italic'
|
||||||
|
local maybe_bold_vert_split = { fg = p.overlay }
|
||||||
|
|
||||||
if vim.g.rose_pine_disable_background then
|
if vim.g.rose_pine_disable_background then
|
||||||
maybe_base = p.none
|
maybe_base = p.none
|
||||||
|
|
@ -12,6 +13,10 @@ if vim.g.rose_pine_disable_italics then
|
||||||
maybe_italic = nil
|
maybe_italic = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if vim.g.rose_pine_bold_vertical_split_line then
|
||||||
|
maybe_bold_vert_split = { fg = p.surface, bg = p.surface }
|
||||||
|
end
|
||||||
|
|
||||||
theme.base = {
|
theme.base = {
|
||||||
ColorColumn = { bg = p.highlight_overlay },
|
ColorColumn = { bg = p.highlight_overlay },
|
||||||
Conceal = { bg = p.none },
|
Conceal = { bg = p.none },
|
||||||
|
|
@ -61,7 +66,7 @@ theme.base = {
|
||||||
-- TabLineFill = {},
|
-- TabLineFill = {},
|
||||||
-- TabLineSel = {},
|
-- TabLineSel = {},
|
||||||
Title = { fg = p.rose },
|
Title = { fg = p.rose },
|
||||||
VertSplit = { fg = p.overlay },
|
VertSplit = maybe_bold_vert_split,
|
||||||
Visual = { bg = p.highlight },
|
Visual = { bg = p.highlight },
|
||||||
-- VisualNOS = {},
|
-- VisualNOS = {},
|
||||||
WarningMsg = { fg = p.gold },
|
WarningMsg = { fg = p.gold },
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,9 @@ vim.g.rose_pine_disable_italics = false
|
||||||
-- Use terminal background
|
-- Use terminal background
|
||||||
vim.g.rose_pine_disable_background = false
|
vim.g.rose_pine_disable_background = false
|
||||||
|
|
||||||
|
-- Use bold vertical split line
|
||||||
|
vim.g.rose_pine_bold_vertical_split_line = true
|
||||||
|
|
||||||
-- Set colorscheme after options
|
-- Set colorscheme after options
|
||||||
vim.cmd('colorscheme rose-pine')
|
vim.cmd('colorscheme rose-pine')
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue