From 99a9c0dcfef8d1a72223a55105931f5a55af614f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 9 Jul 2022 01:37:45 +0200 Subject: Add neogit wip --- colors/no-clown-fiesta.vim | 19 ++++--------------- lua/no-clown-fiesta/Neogit.lua | 5 +++++ lua/no-clown-fiesta/init.lua | 2 ++ 3 files changed, 11 insertions(+), 15 deletions(-) create mode 100644 lua/no-clown-fiesta/Neogit.lua 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 - 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 0af7b70..daf45bf 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, -- cgit v1.2.3-70-g09d2