just gonna put the changes that I can remember making here: - replace blink with native completion (omnifunc) - remove some unneeded plugins - add a misc function for making sure complex bindings don't cause flickering - remove some stale snippets - remove folding (I don't find myself folding that often)
52 lines
1.9 KiB
Lua
52 lines
1.9 KiB
Lua
return { "mellow-theme/mellow.nvim",
|
|
reqs = "nvim-treesitter/nvim-treesitter",
|
|
load = function()
|
|
vim.g.mellow_variant = "dark"
|
|
local c = require("mellow.colors")[vim.g.mellow_variant]
|
|
|
|
if vim.g.mellow_variant == "dark" then
|
|
vim.g.mellow_highlight_overrides = {
|
|
-- stop inactive windows from having a darker bg
|
|
["NormalNC"] = { link = "Normal" },
|
|
|
|
-- revert change with statusline coloring
|
|
["StatusLine"] = { fg = c.white, bg = c.gray01 },
|
|
["StatusLineNC"] = { fg = c.bg_dark },
|
|
|
|
-- make splits look cleaner
|
|
["WinSeparator"] = { fg = c.gray01 },
|
|
|
|
-- make floats darker
|
|
["NormalFloat"] = { fg = c.fg, bg = "#111111" },
|
|
["FloatBorder"] = { link = "NormalFloat" },
|
|
|
|
-- Make pmenu look good
|
|
["Pmenu"] = { link = "NormalFloat" },
|
|
["PmenuSel"] = { link = "Normal" },
|
|
["PmenuKind"] = { link = "@constant" },
|
|
["PmenuKindSel"] = {
|
|
fg = core.color.copyhl("Comment").fg,
|
|
bold = true
|
|
},
|
|
|
|
-- make diagnostics have an undercurl
|
|
["DiagnosticUnderlineError"] = { fg = c.red, undercurl = true },
|
|
["DiagnosticUnderlineWarn"] = { fg = c.yellow, undercurl = true },
|
|
["DiagnosticUnderlineInfo"] = { fg = c.blue, undercurl = true },
|
|
["DiagnosticUnderlineHint"] = { fg = c.cyan, undercurl = true },
|
|
["DiagnosticHint"] = { fg = c.cyan }, -- revert
|
|
|
|
-- telescope styling so I can see when coding outside (real)
|
|
["TelescopeResultsNormal"] = { bg = c.bg_dark },
|
|
["TelescopeResultsBorder"] = { link = "TelescopeResultsNormal" },
|
|
["TelescopeResultsTitle"] = {
|
|
bg = core.color.copyhl("TelescopeResultsNormal").background,
|
|
fg = core.color.copyhl("TelescopeResultsNormal").background
|
|
},
|
|
["TelescopePreviewNormal"] = { link = "NormalFloat" },
|
|
["TelescopePreviewBorder"] = { link = "TelescopePreviewNormal" }
|
|
}
|
|
end
|
|
end
|
|
}
|