From b062556d6a702e7552d99cdae51da1cb352da153 Mon Sep 17 00:00:00 2001 From: shaunsingh <71196912+shaunsingh@users.noreply.github.com> Date: Fri, 14 May 2021 18:54:45 -0400 Subject: [PATCH] Update theme.lua --- lua/nord/theme.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lua/nord/theme.lua b/lua/nord/theme.lua index 8207d0d..d585604 100644 --- a/lua/nord/theme.lua +++ b/lua/nord/theme.lua @@ -439,9 +439,17 @@ theme.loadPlugins = function() IndentBlanklineChar = { fg = nord.highlight }, IndentBlanklineContextChar = { fg = nord.disabled }, - --nvim-tree - plugins.NvimTreeNormal = { fg = nord.fg, bg = nord.bg_alt } + } + -- Options: + + -- Disable nvim-tree background + if vim.g.nord_disable_background == true then + plugins.NvimTreeNormal = { fg = nord.fg, bg = nord.none } + else + plugins.NvimTreeNormal = { fg = nord.fg, bg = nord.sidebar } + end + return plugins end -- 2.39.5