From 57b7930a3c23b62c6dbe2b8eb4e3d4bce1959359 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 18 Jan 2022 18:41:16 +0100 Subject: Add nvim-tree colors --- lua/no-clown-fiesta/NvimTree.lua | 26 ++++++++++++++++++++++++++ lua/no-clown-fiesta/init.lua | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 lua/no-clown-fiesta/NvimTree.lua (limited to 'lua/no-clown-fiesta') diff --git a/lua/no-clown-fiesta/NvimTree.lua b/lua/no-clown-fiesta/NvimTree.lua new file mode 100644 index 0000000..7f9712c --- /dev/null +++ b/lua/no-clown-fiesta/NvimTree.lua @@ -0,0 +1,26 @@ +local NvimTree = { + NvimTreeFolderIcon = {fg = C.folder_blue, }, + NvimTreeIndentMarker = {fg = "#c5c5c5", }, + NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, + NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, + NvimTreeFolderName = {fg = C.folder_blue, }, + NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, + NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, + NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, + NvimTreeImageFile = {fg = C.light_gray, }, + NvimTreeSpecialFile = {fg = C.orange, }, + NvimTreeEndOfBuffer = {fg = C.tree_gray, }, + NvimTreeCursorLine = {bg = "#2A2D2E", }, + NvimTreeGitignoreIcon = {fg = "#E64A19", }, + NvimTreeGitStaged = {fg = C.tree_sign_add, }, + NvimTreeGitNew = {fg = C.tree_sign_add, }, + NvimTreeGitRenamed = {fg = C.tree_sign_add, }, + NvimTreeGitDeleted = {fg = C.sign_delete, }, + NvimTreeGitMerge = {fg = C.tree_sign_change, }, + NvimTreeGitDirty = {fg = C.tree_sign_change, }, + NvimTreeSymlink = {fg = C.cyan, }, + NvimTreeRootFolder = {fg = C.fg, style = "bold", }, + NvimTreeExecFile = {fg = "#9FBA89", }, +} + +return NvimTree diff --git a/lua/no-clown-fiesta/init.lua b/lua/no-clown-fiesta/init.lua index b597b44..e40fe6a 100644 --- a/lua/no-clown-fiesta/init.lua +++ b/lua/no-clown-fiesta/init.lua @@ -15,6 +15,7 @@ local Hop = require("no-clown-fiesta.Hop") local highlights = require("no-clown-fiesta.highlights") local LSP = require("no-clown-fiesta.LSP") local markdown = require("no-clown-fiesta.markdown") +local NvimTree = require("no-clown-fiesta.NvimTree") local Treesitter = require("no-clown-fiesta.Treesitter") local Whichkey = require("no-clown-fiesta.Whichkey") @@ -23,6 +24,7 @@ local skeletons = { Hop, highlights, markdown, + NvimTree, LSP, Treesitter, Whichkey, -- cgit v1.2.3-70-g09d2