add g:zenbones_solid_vert_split

This commit is contained in:
Michael Chris Lopez
2021-08-31 10:22:14 +08:00
parent c359b22335
commit 6865eead2e
2 changed files with 8 additions and 1 deletions

View File

@@ -94,6 +94,11 @@ Change foreground colors lightness. Only available for `zenbones-lush`.
<img width="1080" alt="Dim lightness" src="https://user-images.githubusercontent.com/7200153/131272410-329636bb-fd8e-42fb-83aa-f436d211b5ed.png">
#### g:zenbones_solid_vert_split
Set to `v:true` to make vertical split more visible with a dimmer background
highlight.
## Other plugins support
Aside from LSP and basic Tree-sitter support, there are only a few plugins that

View File

@@ -18,6 +18,8 @@ elseif lightness ~= nil then
vim.api.nvim_echo({ { error_msg, "WarningMsg" } }, true, {})
end
local solid_vert_split = vim.g.zenbones_solid_vert_split
-- stylua: ignore start
return lush(function()
return {
@@ -96,7 +98,7 @@ return lush(function()
TabLine { StatusLine, gui = "italic" }, -- tab pages line, not active tab page label
TabLineFill { StatusLineNC }, -- tab pages line, where there are no labels
TabLineSel { gui = "bold" }, -- tab pages line, active tab page label
VertSplit { fg = PmenuThumb.bg }, -- the column separating vertically split windows
VertSplit (solid_vert_split and { bg = StatusLineNC.bg, fg = LineNr.fg } or { fg = PmenuThumb.bg }), -- the column separating vertically split windows
Visual { bg = c.stone.li(84) }, -- Visual mode selection
-- VisualNOS { }, -- Visual mode selection when vim is "Not Owning the Selection".