dev-environment-files/.config/nvim/lua/josean/plugins/lsp/lspsaga.lua

20 lines
403 B
Lua
Raw Permalink Normal View History

2022-10-17 20:40:36 +02:00
-- import lspsaga safely
local saga_status, saga = pcall(require, "lspsaga")
if not saga_status then
return
2022-10-17 20:40:36 +02:00
end
2023-01-15 14:28:40 +01:00
saga.setup({
-- keybinds for navigation in lspsaga window
2023-01-15 14:28:40 +01:00
scroll_preview = { scroll_down = "<C-f>", scroll_up = "<C-b>" },
-- use enter to open file with definition preview
2023-01-15 14:28:40 +01:00
definition = {
edit = "<CR>",
},
2023-01-15 16:15:53 +01:00
ui = {
colors = {
normal_bg = "#022746",
},
},
2022-10-17 20:40:36 +02:00
})