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