mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-10 02:01:22 +01:00
19 lines
403 B
Lua
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",
|
|
},
|
|
},
|
|
})
|