enable sidebar background
authorshaunsingh <shaunsingh0207@gmail.com>
Fri, 9 Jul 2021 15:13:33 +0000 (11:13 -0400)
committerGitHub <noreply@github.com>
Fri, 9 Jul 2021 15:13:33 +0000 (11:13 -0400)
lua/nord/theme.lua

index b0447cc51c376a17b47876e7f21603be2ff21cac..bb20277dbd34b3c619b0e82bcc6d2df5755ba5d9 100644 (file)
@@ -404,6 +404,12 @@ theme.loadPlugins = function()
         else
             plugins.NvimTreeNormal =                        { fg = nord.fg, bg = nord.sidebar }
         end
+       
+       if vim.g.nord_enable_sidebar_background == true then 
+           plugins.NvimTreeNormal =                        { fg = nord.fg, bg = nord.sidebar }
+        else
+            plugins.NvimTreeNormal =                        { fg = nord.fg, bg = nord.none }
+        end
 
     return plugins