dev-environment-files/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua
2023-01-15 11:15:53 -04:00

19 lines
403 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>",
},
ui = {
colors = {
normal_bg = "#022746",
},
},
})