summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2022-10-29 18:19:38 +0200
committerGitHub <noreply@github.com>2022-10-29 18:19:38 +0200
commit2951af7bbd839ebef25e33f8bd01bd5c501f76c8 (patch)
treef1829cc7af1fc0c5900b23055d12bb0446962cfb /lua/no-clown-fiesta/highlight-group/nvim-tree.lua
parent3234b296d7f70cc78ac37a51fc3cff28e7871812 (diff)
Update how options and colorscheme is set (#12)
* Update loading of colorscheme * Fix typo * Fix setting of style * Fix highlighting * Unpack style * Add empty table if props are nil * Fix concat of tables * Fix typo * Update settings * Add call set in settings * Add deep extend * Remove style field * Update README BREAKING CHANGE: updates how the colorscheme is set and the structure of the options table
Diffstat (limited to 'lua/no-clown-fiesta/highlight-group/nvim-tree.lua')
-rw-r--r--lua/no-clown-fiesta/highlight-group/nvim-tree.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
index ffe7897..21cdc25 100644
--- a/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
+++ b/lua/no-clown-fiesta/highlight-group/nvim-tree.lua
@@ -7,7 +7,7 @@ function M.highlight(palette)
NvimTreeNormal = { fg = palette.light_gray, bg = palette.alt_bg },
NvimTreeVertSplit = { fg = palette.alt_bg, bg = palette.alt_bg },
NvimTreeFolderName = { fg = palette.white },
- NvimTreeOpenedFolderName = { fg = palette.white, style = "bold" },
+ NvimTreeOpenedFolderName = { fg = palette.white, bold = true },
NvimTreeEmptyFolderName = { fg = palette.medium_gray },
NvimTreeGitIgnored = { fg = palette.medium_gray },
NvimTreeImageFile = { fg = palette.light_gray },
@@ -22,7 +22,7 @@ function M.highlight(palette)
NvimTreeGitMerge = { fg = palette.info_yellow },
NvimTreeGitDirty = { fg = palette.info_yellow },
NvimTreeSymlink = { fg = palette.cyan },
- NvimTreeRootFolder = { fg = palette.fg, style = "bold" },
+ NvimTreeRootFolder = { fg = palette.fg, bold = true },
NvimTreeExecFile = { fg = palette.green },
NvimTreeStatusLine = { fg = palette.alt_bg, bg = palette.alt_bg },
NvimTreeStatusLineNC = { fg = palette.alt_bg, bg = palette.alt_bg },