New Setup 📦
This commit is contained in:
parent
d16174b447
commit
415dbd08a1
10194 changed files with 1368647 additions and 4 deletions
42
home/.config/nvim/lua/lsp-config/lspsaga.lua
Normal file
42
home/.config/nvim/lua/lsp-config/lspsaga.lua
Normal file
|
@ -0,0 +1,42 @@
|
|||
require'lspsaga'.setup {
|
||||
debug = false,
|
||||
use_saga_diagnostic_sign = true,
|
||||
-- diagnostic sign
|
||||
error_sign = "",
|
||||
warn_sign = "",
|
||||
hint_sign = "",
|
||||
infor_sign = "",
|
||||
diagnostic_header_icon = " ",
|
||||
-- code action title icon
|
||||
code_action_icon = " ",
|
||||
code_action_prompt = {
|
||||
enable = true,
|
||||
sign = true,
|
||||
sign_priority = 40,
|
||||
virtual_text = true,
|
||||
},
|
||||
finder_definition_icon = " ",
|
||||
finder_reference_icon = " ",
|
||||
max_preview_lines = 10,
|
||||
finder_action_keys = {
|
||||
open = "o",
|
||||
vsplit = "s",
|
||||
split = "i",
|
||||
quit = "q",
|
||||
scroll_down = "<C-f>",
|
||||
scroll_up = "<C-b>",
|
||||
},
|
||||
code_action_keys = {
|
||||
quit = "q",
|
||||
exec = "<CR>",
|
||||
},
|
||||
rename_action_keys = {
|
||||
quit = "<C-c>",
|
||||
exec = "<CR>",
|
||||
},
|
||||
definition_preview_icon = " ",
|
||||
border_style = "single",
|
||||
rename_prompt_prefix = "➤",
|
||||
server_filetype_map = {},
|
||||
diagnostic_prefix_format = "%d. ",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue