neovim/lua/plugins/lspsaga.lua

27 lines
642 B
Lua
Raw Permalink Normal View History

2023-02-26 12:50:20 +00:00
require("lspsaga").setup({
2023-02-26 13:29:03 +00:00
ui = {
colors = require("catppuccin.groups.integrations.lsp_saga").custom_colors(),
kind = require("catppuccin.groups.integrations.lsp_saga").custom_kind(),
},
diagnostic = {
show_code_action = true,
},
code_action = {
num_shortcut = true,
show_server_name = false,
extend_gitsigns = true,
keys = {
-- string | table type
quit = "q",
exec = "<CR>",
},
},
2023-02-26 12:50:20 +00:00
})
require("lsp-colors").setup({
2023-02-26 13:29:03 +00:00
Error = "#db4b4b",
Warning = "#e0af68",
Information = "#0db9d7",
Hint = "#10B981",
2023-02-26 12:50:20 +00:00
})