nvim-upgrade #4

Merged
tomas.mirchev merged 13 commits from nvim-upgrade into main 2025-10-20 13:57:14 +00:00
4 changed files with 30 additions and 49 deletions
Showing only changes of commit e191034b63 - Show all commits

View File

@ -15,3 +15,11 @@ end
vim.schedule(function()
vim.opt.clipboard = 'unnamedplus'
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, {})

View File

@ -31,10 +31,22 @@ vim.opt.signcolumn = 'no'
vim.opt.number = true
vim.opt.relativenumber = 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.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
vim.opt.wrap = false

View File

@ -1,10 +1,3 @@
-- return {
-- 'rose-pine/neovim',
-- name = 'rose-pine',
-- config = function()
-- vim.cmd('colorscheme rose-pine-dawn')
-- end,
-- }
return {
'triimdev/invero.nvim',
lazy = false,
@ -20,42 +13,9 @@ return {
highlights = function(c, tool)
c.bg_float = tool(152)
return {
-- Normal = { fg = c.text, bg = c.base },
-- StatusLine = { fg = tool(231), bg = c.outline, bold = false }, -- Active statusline (where filename)
-- StatusLineNC = { fg = c.surface, bg = c.outline, bold = false }, -- Active statusline (where filename)
-- 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 },
WinSeparator = { fg = c.outline, bg = c.base },
StatusLine = { fg = c.outline, bg = c.base },
StatusLineNC = { fg = c.text, bg = c.base, bold = true },
}
end,
})

View File

@ -55,9 +55,10 @@ return {
view = { signcolumn = 'no' },
actions = { file_popup = { open_win_config = { border = 'rounded' } } },
renderer = {
root_folder_label = function(path)
return '-- ' .. vim.fn.fnamemodify(path, ':t') .. ' --'
end,
root_folder_label = false,
-- root_folder_label = function(path)
-- return '-- ' .. vim.fn.fnamemodify(path, ':t') .. ' --'
-- end,
special_files = {},
highlight_hidden = 'all',