diff options
-rw-r--r-- | colors/no-clown-fiesta.vim | 19 | ||||
-rw-r--r-- | lua/no-clown-fiesta/Neogit.lua | 5 | ||||
-rw-r--r-- | lua/no-clown-fiesta/init.lua | 2 |
3 files changed, 11 insertions, 15 deletions
diff --git a/colors/no-clown-fiesta.vim b/colors/no-clown-fiesta.vim index e375c97..1843191 100644 --- a/colors/no-clown-fiesta.vim +++ b/colors/no-clown-fiesta.vim @@ -1,18 +1,7 @@ -" Author: Gustaf Rydholm <gustaf@gustafrydholm.xyz> - lua << EOF -package.loaded['no-clown-fiesta'] = nil -package.loaded['no-clown-fiesta.Alpha'] = nil -package.loaded['no-clown-fiesta.Git'] = nil -package.loaded['no-clown-fiesta.Hop'] = nil -package.loaded['no-clown-fiesta.highlights'] = nil -package.loaded['no-clown-fiesta.LSP'] = nil -package.loaded['no-clown-fiesta.markdown'] = nil -package.loaded['no-clown-fiesta.NvimTree'] = nil -package.loaded['no-clown-fiesta.StatusLine'] = nil -package.loaded['no-clown-fiesta.Telescope'] = nil -package.loaded['no-clown-fiesta.Treesitter'] = nil -package.loaded['no-clown-fiesta.Whichkey'] = nil +for k in pairs(package.loaded) do + if k:match(".*no-clown-fiesta.*") then package.loaded[k] = nil end +end -require("no-clown-fiesta") +require('no-clown-fiesta').setup() EOF diff --git a/lua/no-clown-fiesta/Neogit.lua b/lua/no-clown-fiesta/Neogit.lua new file mode 100644 index 0000000..e0dbcad --- /dev/null +++ b/lua/no-clown-fiesta/Neogit.lua @@ -0,0 +1,5 @@ +local Neogit = { + NeogitDiffAddHighlight = { fg = C.green, bg = C.alt_bg }, +} + +return Neogit diff --git a/lua/no-clown-fiesta/init.lua b/lua/no-clown-fiesta/init.lua index 8780f2f..ab54b02 100644 --- a/lua/no-clown-fiesta/init.lua +++ b/lua/no-clown-fiesta/init.lua @@ -16,6 +16,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 Neogit = require "no-clown-fiesta.Neogit" local NvimTree = require "no-clown-fiesta.NvimTree" local NvimCmp = require "no-clown-fiesta.NvimCmp" local StatusLine = require "no-clown-fiesta.StatusLine" @@ -29,6 +30,7 @@ local skeletons = { Hop, highlights, markdown, + Neogit, NvimTree, NvimCmp, LSP, |