nvim: remove deprecated dressing-setting

This commit is contained in:
tastytea 2023-08-06 23:28:31 +02:00
parent 7e1bdf93fa
commit d60920c6ac
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -89,19 +89,28 @@ require('lualine').setup({
sections = { sections = {
lualine_a = { { 'mode' } }, lualine_a = { { 'mode' } },
lualine_b = { lualine_b = {
{ 'branch', icons_enabled = true }, { 'branch', icons_enabled = true },
{ 'diff' }, { 'diff' },
{ require('my.functions').lsp_status, padding = 0 }, { require('my.functions').lsp_status, padding = 0 },
{ 'diagnostics' } { 'diagnostics' }
}, },
lualine_c = { lualine_c = {
{ 'filename', path = 1, newfile_status = true, {
cond = not_firenvim }, 'filename',
{ require('my.functions').current_function, padding = 0, path = 1,
color = 'StatusLineNC' } newfile_status = true,
cond = not_firenvim
},
{
require('my.functions').current_function,
padding = 0,
color = 'StatusLineNC'
}
}, },
lualine_x = { { require('my.functions').lsp_sig_status, lualine_x = { {
color = 'StatusLineNC' }, { 'filetype' } }, require('my.functions').lsp_sig_status,
color = 'StatusLineNC'
}, { 'filetype' } },
lualine_y = { { 'progress' } }, lualine_y = { { 'progress' } },
lualine_z = { { 'location' }, { '"🍄"', padding = 0 } lualine_z = { { 'location' }, { '"🍄"', padding = 0 }
} }
@ -130,7 +139,7 @@ local function mind_project()
end end
map('n', '<C-F9>', mind.open_main, 'Open main mind') map('n', '<C-F9>', mind.open_main, 'Open main mind')
map('n', '<F33>', mind.open_main, 'Open main mind') -- <C-F9> = <F33> map('n', '<F33>', mind.open_main, 'Open main mind') -- <C-F9> = <F33>
map('n', '<S-F9>', mind_project, 'Open project mind') map('n', '<S-F9>', mind_project, 'Open project mind')
map('n', '<F21>', mind_project, 'Open project mind') -- <S-F9> = <F21> map('n', '<F21>', mind_project, 'Open project mind') -- <S-F9> = <F21>
@ -140,7 +149,6 @@ require('which-key').register({ ['<Leader>T'] = { name = 'Table mode' } })
require('dressing').setup({ require('dressing').setup({
input = { input = {
relative = 'win', relative = 'win',
anchor = 'SW',
min_width = { 60, 0.4 }, min_width = { 60, 0.4 },
} }
}) })