From 001f8d7f472055ca30c03116267ae1441c79a653 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Sat, 25 Sep 2021 17:45:16 +0800 Subject: [PATCH] support nvim-tree --- README.md | 1 + lua/zenbones/init.lua | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index d3b66c1..40c350b 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ currently supported. - [Neogit](https://github.com/TimUntersberger/neogit) - [WhichKey](https://github.com/folke/which-key.nvim) - [Trouble](https://github.com/folke/trouble.nvim) +- [NvimTree](https://github.com/kyazdani42/nvim-tree.lua) ## Other implementations diff --git a/lua/zenbones/init.lua b/lua/zenbones/init.lua index 61951b1..c761732 100644 --- a/lua/zenbones/init.lua +++ b/lua/zenbones/init.lua @@ -352,6 +352,17 @@ local theme = lush(function() TroubleNormal { Function }, TroubleText { Function }, TroubleSource { Constant }, + + NvimTreeNormal { NormalFloat }, + NvimTreeVertSplit { fg = "bg" }, + NvimTreeCursorLine { bg = StatusLineNC.bg }, + NvimTreeCursorColumn { NvimTreeCursorLine }, + NvimTreeRootFolder { fg = p.water, gui = "bold" }, + NvimTreeSymlink { fg = p.water }, + NvimTreeGitDirty { diffChanged }, + NvimTreeGitNew { diffAdded }, + NvimTreeGitDeleted { diffRemoved }, + NvimTreeSpecialFile { fg = p.blossom, gui = "underline" }, } end) -- stylua: ignore end