Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions lua/nord/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,18 @@ theme.loadEditor = function()
editor.SignColumn = { fg = nord.nord4_gui, bg = nord.nord0_gui }
end

local splitColor

-- Remove window split borders
if vim.g.nord_borders then
editor.VertSplit = { fg = nord.nord2_gui }
splitColor = { fg = nord.nord2_gui }
else
editor.VertSplit = { fg = nord.nord0_gui }
splitColor = { fg = nord.nord0_gui }
end

editor.VertSplit = splitColor

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For compatibility, we set both

editor.WinSeparator = splitColor

if vim.g.nord_uniform_diff_background then
editor.DiffAdd = { fg = nord.nord14_gui, bg = nord.nord1_gui } -- diff mode: Added line
editor.DiffChange = { fg = nord.nord13_gui, bg = nord.nord1_gui } -- diff mode: Changed line
Expand Down