From d60920c6ac6a036e224fd090c9526df11db7960d Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 6 Aug 2023 23:28:31 +0200 Subject: [PATCH] nvim: remove deprecated dressing-setting --- .config/nvim/lua/my/tools.lua | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.config/nvim/lua/my/tools.lua b/.config/nvim/lua/my/tools.lua index 36dd174..8c39e4f 100644 --- a/.config/nvim/lua/my/tools.lua +++ b/.config/nvim/lua/my/tools.lua @@ -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', '', mind.open_main, 'Open main mind') -map('n', '', mind.open_main, 'Open main mind') -- = +map('n', '', mind.open_main, 'Open main mind') -- = map('n', '', mind_project, 'Open project mind') map('n', '', mind_project, 'Open project mind') -- = @@ -140,7 +149,6 @@ require('which-key').register({ ['T'] = { name = 'Table mode' } }) require('dressing').setup({ input = { relative = 'win', - anchor = 'SW', min_width = { 60, 0.4 }, } })