update
This commit is contained in:
parent
8687a1cf31
commit
efa84c2ee3
@ -31,9 +31,9 @@ vim.opt.textwidth = 100
|
||||
vim.opt.colorcolumn = '+0'
|
||||
|
||||
vim.opt.signcolumn = 'no'
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.number = false
|
||||
vim.opt.relativenumber = false
|
||||
vim.opt.cursorline = false
|
||||
vim.opt.ruler = false
|
||||
vim.opt.winborder = 'rounded'
|
||||
vim.opt.guicursor = 'n-v-i-c:block'
|
||||
|
||||
@ -1,18 +1,20 @@
|
||||
local function load_theme()
|
||||
local M = {}
|
||||
function M.load_theme()
|
||||
require('invero').setup({
|
||||
highlights = function(c, tool)
|
||||
c.bg_float = tool(152)
|
||||
return {
|
||||
ModeMsg = { fg = c.yellow, bg = c.none, bold = true },
|
||||
WinSeparator = { fg = c.outline, bg = c.base },
|
||||
StatusLine = { fg = c.outline, bg = c.base },
|
||||
StatusLineNC = { fg = c.text, bg = c.base, bold = true },
|
||||
TabLine = { fg = c.muted, bg = c.none },
|
||||
TabLineSel = { fg = c.text, bg = c.none, bold = true },
|
||||
TabLineFill = { fg = c.outline_light, bg = c.none },
|
||||
StatusLine = { fg = c.outline, bg = c.base, bold = false },
|
||||
StatusLineNC = { fg = c.text, bg = c.base, bold = false },
|
||||
TabLine = { fg = c.muted, bg = c.black },
|
||||
TabLineSel = { fg = c.base, bg = c.black, bold = true },
|
||||
TabLineFill = { bg = c.black },
|
||||
Pmenu = { fg = c.text, bg = c.surface },
|
||||
PmenuSel = { fg = c.text, bg = c.accent_light },
|
||||
QuickFixLine = { fg = c.accent, bg = c.none, bold = true },
|
||||
Special = { fg = c.syntax, bg = c.none, bold = false, italic = true },
|
||||
['@lsp'] = { fg = c.syntax, bg = c.none },
|
||||
['@variable'] = { fg = c.syntax, bg = c.none },
|
||||
}
|
||||
@ -24,10 +26,15 @@ local function load_theme()
|
||||
end
|
||||
|
||||
vim.api.nvim_create_user_command('ReloadInvero', function()
|
||||
package.loaded['invero'] = nil
|
||||
package.loaded['modules.theme'] = nil
|
||||
|
||||
require('invero').invalidate_cache()
|
||||
load_theme()
|
||||
require('modules.theme').load_theme()
|
||||
end, {})
|
||||
|
||||
load_theme()
|
||||
M.load_theme()
|
||||
|
||||
require('plugins.tabline').setup()
|
||||
|
||||
return M
|
||||
|
||||
Loading…
Reference in New Issue
Block a user