1
0
Fork 0

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
1 changed files with 17 additions and 9 deletions

View File

@ -89,19 +89,28 @@ require('lualine').setup({
sections = {
lualine_a = { { 'mode' } },
lualine_b = {
{ 'branch', icons_enabled = true },
{ 'branch', icons_enabled = true },
{ 'diff' },
{ require('my.functions').lsp_status, padding = 0 },
{ 'diagnostics' }
},
lualine_c = {
{ 'filename', path = 1, newfile_status = true,
cond = not_firenvim },
{ require('my.functions').current_function, padding = 0,
color = 'StatusLineNC' }
{
'filename',
path = 1,
newfile_status = true,
cond = not_firenvim
},
{
require('my.functions').current_function,
padding = 0,
color = 'StatusLineNC'
}
},
lualine_x = { { require('my.functions').lsp_sig_status,
color = 'StatusLineNC' }, { 'filetype' } },
lualine_x = { {
require('my.functions').lsp_sig_status,
color = 'StatusLineNC'
}, { 'filetype' } },
lualine_y = { { 'progress' } },
lualine_z = { { 'location' }, { '"🍄"', padding = 0 }
}
@ -130,7 +139,7 @@ local function mind_project()
end
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', '<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({
input = {
relative = 'win',
anchor = 'SW',
min_width = { 60, 0.4 },
}
})