Skip to content

Commit 4b32a83

Browse files
authored
Merge pull request #90 from papricasix/nvim-0.10-vertsplit
fix: add color definition for missing highlight group `WinSeperator` (nvim-0.10)
2 parents 8964cd9 + 2ca2f18 commit 4b32a83

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

fnl/oxocarbon/init.fnl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@
289289
;; window
290290

291291
(custom-set-face! :Title [] {:fg oxocarbon.base04 :bg oxocarbon.none})
292+
;; VertSplit has been replaced by `WinSpeperator` in nvim 0.10
292293
(custom-set-face! :VertSplit [] {:fg oxocarbon.base01 :bg oxocarbon.base00})
294+
(custom-set-face! :WinSeparator [] {:fg oxocarbon.base01 :bg oxocarbon.base00})
293295

294296
;; regular syntax
295297

lua/oxocarbon/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ vim.api.nvim_set_hl(0, "TabLineFill", {link = "TabLine"})
155155
vim.api.nvim_set_hl(0, "TabLineSel", {link = "StatusLine"})
156156
vim.api.nvim_set_hl(0, "Title", {fg = oxocarbon.base04, bg = oxocarbon.none})
157157
vim.api.nvim_set_hl(0, "VertSplit", {fg = oxocarbon.base01, bg = oxocarbon.base00})
158+
vim.api.nvim_set_hl(0, "WinSeparator", {fg = oxocarbon.base01, bg = oxocarbon.base00})
158159
vim.api.nvim_set_hl(0, "Boolean", {fg = oxocarbon.base09, bg = oxocarbon.none})
159160
vim.api.nvim_set_hl(0, "Character", {fg = oxocarbon.base14, bg = oxocarbon.none})
160161
vim.api.nvim_set_hl(0, "Comment", {fg = oxocarbon.base03, bg = oxocarbon.none, italic = true})
@@ -372,4 +373,4 @@ vim.api.nvim_set_hl(0, "VimwikiHeaderChar", {link = "markdownH1"})
372373
vim.api.nvim_set_hl(0, "VimwikiList", {link = "markdownListMarker"})
373374
vim.api.nvim_set_hl(0, "VimwikiLink", {link = "markdownUrl"})
374375
vim.api.nvim_set_hl(0, "VimwikiCode", {link = "markdownCode"})
375-
return {oxocarbon = oxocarbon}
376+
return {oxocarbon = oxocarbon}

0 commit comments

Comments
 (0)