Update theme.lua
authorshaunsingh <71196912+shaunsingh@users.noreply.github.com>
Fri, 14 May 2021 22:54:45 +0000 (18:54 -0400)
committerGitHub <noreply@github.com>
Fri, 14 May 2021 22:54:45 +0000 (18:54 -0400)
lua/nord/theme.lua

index 8207d0dee6b97f41bee43c3c47b1c38e915547ae..d585604e2a0de2eb636c274bc4ee1e2e1187010b 100644 (file)
@@ -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