dev-environment-files/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua
2023-01-15 09:28:40 -04:00

14 lines
338 B
Lua

-- import lspsaga safely
local saga_status, saga = pcall(require, "lspsaga")
if not saga_status then
return
end
saga.setup({
-- keybinds for navigation in lspsaga window
scroll_preview = { scroll_down = "<C-f>", scroll_up = "<C-b>" },
-- use enter to open file with definition preview
definition = {
edit = "<CR>",
},
})