fix border, obsidian completion and deprecated plugin leftovers

This commit is contained in:
xesc 2025-07-01 22:05:24 +02:00
parent 091a472949
commit 42d0945517
4 changed files with 159 additions and 165 deletions

View file

@ -76,4 +76,3 @@ vim.opt.shortmess = "aItTF"
-- hide buffers instead of closing -- hide buffers instead of closing
vim.opt.hidden = true vim.opt.hidden = true
vim.opt.winborder = 'rounded'

View file

@ -49,6 +49,7 @@ return {
enabled = true enabled = true
}, },
menu = { menu = {
border = 'rounded',
winhighlight = 'Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:CursorLine,Search:None', winhighlight = 'Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:CursorLine,Search:None',
min_width = 40, min_width = 40,
max_height = 25, max_height = 25,
@ -75,7 +76,7 @@ return {
auto_show = true, auto_show = true,
auto_show_delay_ms = 0, auto_show_delay_ms = 0,
window = { window = {
border = 'rounded',
winhighlight = 'Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:CursorLine', winhighlight = 'Normal:NormalFloat,FloatBorder:FloatBorder,CursorLine:CursorLine',
} }
}, },
@ -114,6 +115,7 @@ return {
signature = { signature = {
enabled = true, enabled = true,
window = { window = {
border = 'rounded',
winhighlight = 'Normal:NormalFloat,FloatBorder:FloatBorder', winhighlight = 'Normal:NormalFloat,FloatBorder:FloatBorder',
} }
}, },

View file

@ -10,16 +10,12 @@ return {
custom_gruvbox.visual.a.bg = '#a9b665' custom_gruvbox.visual.a.bg = '#a9b665'
custom_gruvbox.replace.a.bg = '#ea6962' custom_gruvbox.replace.a.bg = '#ea6962'
local function lspsaga()
return require('lspsaga.symbol.winbar').get_bar()
end
require('lualine').setup { require('lualine').setup {
options = { options = {
theme = custom_gruvbox, theme = custom_gruvbox,
globalstatus = true, globalstatus = true,
component_separators = { left = '', right = '' }, component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' }, section_separators = { left = '', right = '' },
disabled_filetypes = { 'netrw', 'Trouble' }, disabled_filetypes = { 'netrw', 'Trouble' },
}, },
sections = { sections = {
@ -36,6 +32,8 @@ return {
color = { fg = '#d8a657', bg = '#141617', gui = 'bold' }, color = { fg = '#d8a657', bg = '#141617', gui = 'bold' },
padding = 1, padding = 1,
}, },
},
lualine_c = {
{ {
'filename', 'filename',
color = { gui = 'italic', fg = '#d3869b', bg = '#1d2021' }, color = { gui = 'italic', fg = '#d3869b', bg = '#1d2021' },
@ -43,11 +41,6 @@ return {
path = 1, path = 1,
}, },
}, },
lualine_c = {
{
lspsaga
}
},
lualine_x = { lualine_x = {
{ {
'filetype', 'filetype',
@ -91,7 +84,6 @@ return {
} }
} }
}, },
inactive_sections = { inactive_sections = {
lualine_a = { lualine_a = {
{ {
@ -105,14 +97,14 @@ return {
icon = '', icon = '',
padding = 1, padding = 1,
}, },
},
lualine_c = {
{ {
'filename', 'filename',
padding = 1, padding = 1,
path = 1, path = 1,
} }
}, },
lualine_c = {
},
lualine_x = { lualine_x = {
{ {
'filetype', 'filetype',

View file

@ -22,12 +22,13 @@ return {
path = "~/notes", path = "~/notes",
}, },
}, },
-- completion = { completion = {
-- -- Set to false to disable completion. -- Set to false to disable completion.
-- nvim_cmp = true, nvim_cmp = false,
-- -- Trigger completion at 2 chars. blink = true,
-- min_chars = 1, -- Trigger completion at 2 chars.
-- }, min_chars = 1,
},
mappings = { mappings = {
-- Overrides the 'gf' mapping to work on markdown/wiki links within your vault. -- Overrides the 'gf' mapping to work on markdown/wiki links within your vault.