diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-22 16:06:15 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-07-22 16:06:15 +0530 |
commit | ed9871ae0da11db8e1e8dfb8ff2966a9b98cea30 (patch) | |
tree | 88da4fe80c259d322a789f3ef14a5f84eda72ae4 /.config/nvim/lua/justsaumit/lspsaga-config.lua | |
parent | 0be61bf7b6167633079bb47264034a1f4e4ca5d5 (diff) |
nvim: lspsaga and whichkey update
Diffstat (limited to '.config/nvim/lua/justsaumit/lspsaga-config.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/lspsaga-config.lua | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.config/nvim/lua/justsaumit/lspsaga-config.lua b/.config/nvim/lua/justsaumit/lspsaga-config.lua new file mode 100644 index 0000000..70d3d79 --- /dev/null +++ b/.config/nvim/lua/justsaumit/lspsaga-config.lua @@ -0,0 +1,49 @@ +local lspsaga = require 'lspsaga' +lspsaga.setup { -- defaults ... + 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 = "➤ ", + rename_output_qflist = { + enable = false, + auto_open_qflist = false, + }, + server_filetype_map = {}, + diagnostic_prefix_format = "%d. ", + diagnostic_message_format = "%m %c", + highlight_prefix = false, +} |