theme
This commit is contained in:
parent
9f6ba885b5
commit
cc3a281298
@ -15,3 +15,11 @@ end
|
|||||||
vim.schedule(function()
|
vim.schedule(function()
|
||||||
vim.opt.clipboard = 'unnamedplus'
|
vim.opt.clipboard = 'unnamedplus'
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- TEMP: Check if it helps with edge cases
|
||||||
|
vim.api.nvim_create_user_command('FixClipboard', function()
|
||||||
|
vim.cmd('lua require("vim.ui.clipboard.osc52")')
|
||||||
|
vim.schedule(function()
|
||||||
|
vim.notify('Clipboard provider reloaded (OSC52)')
|
||||||
|
end)
|
||||||
|
end, {})
|
||||||
|
|||||||
@ -31,10 +31,22 @@ vim.opt.signcolumn = 'no'
|
|||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
vim.opt.guicursor = 'n-v-i-c:block'
|
|
||||||
vim.opt.statusline = '> %f %h%w%m%r %= [%l,%c-%L]'
|
|
||||||
vim.opt.winborder = 'rounded'
|
vim.opt.winborder = 'rounded'
|
||||||
vim.opt.fillchars:append({ vert = '┃' })
|
vim.opt.guicursor = 'n-v-i-c:block'
|
||||||
|
vim.opt.ruler = false
|
||||||
|
vim.opt.laststatus = 3
|
||||||
|
vim.opt.statusline = '── %f %h%w%m%r %= [%l,%c-%L] ──'
|
||||||
|
vim.opt.fillchars = {
|
||||||
|
stl = '─',
|
||||||
|
stlnc = '─',
|
||||||
|
horiz = '─',
|
||||||
|
horizdown = '─',
|
||||||
|
horizup = '─',
|
||||||
|
vert = '│',
|
||||||
|
vertleft = '│',
|
||||||
|
vertright = '│',
|
||||||
|
verthoriz = '│',
|
||||||
|
}
|
||||||
|
|
||||||
-- Wrap
|
-- Wrap
|
||||||
vim.opt.wrap = false
|
vim.opt.wrap = false
|
||||||
|
|||||||
@ -1,10 +1,3 @@
|
|||||||
-- return {
|
|
||||||
-- 'rose-pine/neovim',
|
|
||||||
-- name = 'rose-pine',
|
|
||||||
-- config = function()
|
|
||||||
-- vim.cmd('colorscheme rose-pine-dawn')
|
|
||||||
-- end,
|
|
||||||
-- }
|
|
||||||
return {
|
return {
|
||||||
'triimdev/invero.nvim',
|
'triimdev/invero.nvim',
|
||||||
lazy = false,
|
lazy = false,
|
||||||
@ -20,42 +13,9 @@ return {
|
|||||||
highlights = function(c, tool)
|
highlights = function(c, tool)
|
||||||
c.bg_float = tool(152)
|
c.bg_float = tool(152)
|
||||||
return {
|
return {
|
||||||
-- Normal = { fg = c.text, bg = c.base },
|
WinSeparator = { fg = c.outline, bg = c.base },
|
||||||
-- StatusLine = { fg = tool(231), bg = c.outline, bold = false }, -- Active statusline (where filename)
|
StatusLine = { fg = c.outline, bg = c.base },
|
||||||
-- StatusLineNC = { fg = c.surface, bg = c.outline, bold = false }, -- Active statusline (where filename)
|
StatusLineNC = { fg = c.text, bg = c.base, bold = true },
|
||||||
-- NormalFloat = { fg = c.text, bg = c.none },
|
|
||||||
|
|
||||||
-- FzfLuaFzfGutter = { bg = c.base },
|
|
||||||
-- FzfLuaBorder = { fg = c.outline, bg = c.bg_float },
|
|
||||||
-- FzfLuaCursor = 'IncSearch',
|
|
||||||
-- FzfLuaDirPart = { fg = c.muted },
|
|
||||||
-- FzfLuaFilePart = 'FzfLuaFzfNormal',
|
|
||||||
-- FzfLuaFzfCursorLine = 'Visual',
|
|
||||||
-- FzfLuaFzfNormal = { fg = c.text },
|
|
||||||
-- FzfLuaFzfPointer = { fg = c.magenta },
|
|
||||||
-- FzfLuaFzfSeparator = { fg = c.orange, bg = c.bg_float },
|
|
||||||
-- -- FzfLuaHeaderBind = '@punctuation.special',
|
|
||||||
-- FzfLuaHeaderBind = { fg = c.green, bg = c.base },
|
|
||||||
-- FzfLuaHeaderText = 'Title',
|
|
||||||
-- FzfLuaNormal = { fg = c.text, bg = c.bg_float },
|
|
||||||
-- FzfLuaPath = 'Directory',
|
|
||||||
-- FzfLuaPreviewTitle = { fg = c.surface, bg = c.bg_float },
|
|
||||||
-- FzfLuaTitle = { fg = c.orange, bg = c.bg_float },
|
|
||||||
|
|
||||||
-- FzfLuaBorder = { fg = c.border_highlight, bg = c.bg_float },
|
|
||||||
-- FzfLuaCursor = 'IncSearch',
|
|
||||||
-- FzfLuaDirPart = { fg = c.fg_dark },
|
|
||||||
-- FzfLuaFilePart = 'FzfLuaFzfNormal',
|
|
||||||
-- FzfLuaFzfCursorLine = 'Visual',
|
|
||||||
-- FzfLuaFzfNormal = { fg = c.fg },
|
|
||||||
-- FzfLuaFzfPointer = { fg = c.magenta2 },
|
|
||||||
-- FzfLuaFzfSeparator = { fg = c.orange, bg = c.bg_float },
|
|
||||||
-- FzfLuaHeaderBind = '@punctuation.special',
|
|
||||||
-- FzfLuaHeaderText = 'Title',
|
|
||||||
-- FzfLuaNormal = { fg = c.fg, bg = c.bg_float },
|
|
||||||
-- FzfLuaPath = 'Directory',
|
|
||||||
-- FzfLuaPreviewTitle = { fg = c.border_highlight, bg = c.bg_float },
|
|
||||||
-- FzfLuaTitle = { fg = c.orange, bg = c.bg_float },
|
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|||||||
@ -55,9 +55,10 @@ return {
|
|||||||
view = { signcolumn = 'no' },
|
view = { signcolumn = 'no' },
|
||||||
actions = { file_popup = { open_win_config = { border = 'rounded' } } },
|
actions = { file_popup = { open_win_config = { border = 'rounded' } } },
|
||||||
renderer = {
|
renderer = {
|
||||||
root_folder_label = function(path)
|
root_folder_label = false,
|
||||||
return '-- ' .. vim.fn.fnamemodify(path, ':t') .. ' --'
|
-- root_folder_label = function(path)
|
||||||
end,
|
-- return '-- ' .. vim.fn.fnamemodify(path, ':t') .. ' --'
|
||||||
|
-- end,
|
||||||
special_files = {},
|
special_files = {},
|
||||||
|
|
||||||
highlight_hidden = 'all',
|
highlight_hidden = 'all',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user