diff --git a/lua/plugins.lua b/lua/plugins.lua index e2e4d42..be8dea3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -9,7 +9,39 @@ local function manage_plugins() require('hardline').setup() end }, + ["https://github.com/EdenEast/nightfox.nvim.git"] = { + packadd_hook = function() + require('nightfox').setup({ + options = { + modules = { + gitgutter = true, + } + }, + palettes = { + nightfox = { + bg0 = '#121212', + bg1 = '#161616', + bg2 = '#222222', + bg3 = '#282828', + bg4 = '#404040', + sel0 = "#2a2a2a", + sel1 = "#525253", + } + }, + specs = { + nightfox = { + syntax = { + func = "red", + } + } + }, + }) + vim.o.termguicolors = true + vim.cmd("colorscheme nightfox") + end + }, + -- COQ ["https://github.com/ms-jpq/coq_nvim.git"] = {}, ["https://github.com/ms-jpq/coq.artifacts.git"] = { @@ -41,7 +73,13 @@ local function manage_plugins() -- Git integration ["https://github.com/tpope/vim-fugitive.git"] = {}, - ["https://github.com/airblade/vim-gitgutter.git"] = {}, + ["https://github.com/airblade/vim-gitgutter.git"] = { + packadd_after = { ["https://github.com/EdenEast/nightfox.nvim.git"] = true }, + packadd_hook = function() + -- put sign in number column to avoid screen-shifting + vim.cmd('set signcolumn=number') + end + }, } local manager = require("plogins").manage(plugins)