diff --git a/lua/plugins.lua b/lua/plugins.lua index 0855fc2..1347495 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -107,23 +107,17 @@ require("snacks").setup({ enabled = true, doc = { inline = false }, }, - terminal = {}, - lazygit = {}, + -- gruvbox gives floats a lighter background than the editor (bg1 vs bg0 + -- in dark mode); draw lazygit with the editor's background instead. + lazygit = { + win = { wo = { winhighlight = "Normal:Normal,NormalNC:Normal" } }, + }, }) -- PDF reader (n/p page, z/q/e zoom, :PDFReader ...). Bookmark pickers need -- telescope, which isn't installed; everything else works without it. require("pdfreader").setup() --- Toggle a bottom terminal panel (reuses the same shell instance). -vim.keymap.set({ "n", "t" }, "t", - function() - Snacks.terminal(nil, { - win = { position = "bottom", height = 10 }, - }) - end, - { desc = "Toggle terminal" }) - vim.api.nvim_create_autocmd("FileType", { pattern = "markdown", callback = function(ev)