fix(nvim-tree): handle white separator on transparent sidebar (#224)

- change `NvimTreeVertSplit` to `NvimTreeWinSeparator` since the former
  is deprecated.
  https://github.com/kyazdani42/nvim-tree.lua/pull/1225
- set `NvimTreeWinSeparator` to `border` if sidebar style is `transparent`

Signed-off-by: Sabu Siyad <hello@ssiyad.com>

Signed-off-by: Sabu Siyad <hello@ssiyad.com>
This commit is contained in:
Sabu Siyad
2022-09-23 20:33:39 +05:30
committed by GitHub
parent e0bdba580d
commit 3c8b7740f6

View File

@@ -316,7 +316,7 @@ function M.setup()
-- NvimTree -- NvimTree
NvimTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar }, NvimTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NvimTreeVertSplit = { fg = c.bg_sidebar, bg = c.bg_sidebar }, NvimTreeWinSeparator = { fg = options.styles.sidebars == "transparent" and c.border or c.bg_sidebar, bg = c.bg_sidebar },
NvimTreeNormalNC = { fg = c.fg_sidebar, bg = c.bg_sidebar }, NvimTreeNormalNC = { fg = c.fg_sidebar, bg = c.bg_sidebar },
NvimTreeRootFolder = { fg = c.blue, bold = true }, NvimTreeRootFolder = { fg = c.blue, bold = true },
NvimTreeGitDirty = { fg = c.git.change }, NvimTreeGitDirty = { fg = c.git.change },