From 7be90c7152a51a11cc58fe7ce3b1f8b42c19a8fc Mon Sep 17 00:00:00 2001 From: josean-dev Date: Sun, 15 Jan 2023 09:28:40 -0400 Subject: [PATCH] Migrated lspsaga config to new version --- .config/nvim/lua/josean/plugins/lsp/lspsaga.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua b/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua index eea169e..14c8ddf 100644 --- a/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua +++ b/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua @@ -4,15 +4,11 @@ if not saga_status then return end -saga.init_lsp_saga({ +saga.setup({ -- keybinds for navigation in lspsaga window - move_in_saga = { prev = "", next = "" }, - -- use enter to open file with finder - finder_action_keys = { - open = "", - }, + scroll_preview = { scroll_down = "", scroll_up = "" }, -- use enter to open file with definition preview - definition_action_keys = { + definition = { edit = "", }, })