From 3907b78f40b5c20882612ecc69284652d52c579c Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Fri, 22 Sep 2023 19:48:39 +0200 Subject: [PATCH] [neovim] Improve lsp_saga visuals --- .config/nvim/lua/plugins/lsp/handlers.lua | 2 +- .config/nvim/lua/plugins/lsp/lsp-saga.lua | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/plugins/lsp/handlers.lua b/.config/nvim/lua/plugins/lsp/handlers.lua index b5e4034..17e99b7 100644 --- a/.config/nvim/lua/plugins/lsp/handlers.lua +++ b/.config/nvim/lua/plugins/lsp/handlers.lua @@ -9,7 +9,7 @@ M.setup = function() local signs = { { name = "DiagnosticSignError", text = "" }, { name = "DiagnosticSignWarn", text = "" }, - { name = "DiagnosticSignHint", text = "" }, + { name = "DiagnosticSignHint", text = "" }, { name = "DiagnosticSignInfo", text = "" }, } diff --git a/.config/nvim/lua/plugins/lsp/lsp-saga.lua b/.config/nvim/lua/plugins/lsp/lsp-saga.lua index d097742..13a686a 100644 --- a/.config/nvim/lua/plugins/lsp/lsp-saga.lua +++ b/.config/nvim/lua/plugins/lsp/lsp-saga.lua @@ -3,6 +3,18 @@ require("lspsaga").setup({ border = "rounded", code_action_icon = "", }, + lightbulb = { + sign = false, + }, + code_action = { + show_server_name = true, + }, + rename = { + auto_save = true, + keys = { + quit = "", + }, + }, finder = { max_height = 0.5, min_width = 30, @@ -21,6 +33,6 @@ require("lspsaga").setup({ }, symbol_in_winbar = { enable = false, - -- folder_level = 3, + folder_level = 3, }, })