From 04606f2ee913e6fe6051ba6aed77b81bb525a4d6 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Tue, 1 Mar 2022 01:42:54 -0600 Subject: [PATCH] Disable code action prompt autocommand --- lua/configs/lsp-installer.lua | 1 + lua/configs/lspsaga.lua | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lua/configs/lsp-installer.lua b/lua/configs/lsp-installer.lua index 7347b58..58b32ba 100644 --- a/lua/configs/lsp-installer.lua +++ b/lua/configs/lsp-installer.lua @@ -6,6 +6,7 @@ function M.config() return end + -- Highlight under current selection local function lsp_highlight_document(client) if client.resolved_capabilities.document_highlight then vim.api.nvim_exec( diff --git a/lua/configs/lspsaga.lua b/lua/configs/lspsaga.lua index 4d8ec3b..635dabf 100644 --- a/lua/configs/lspsaga.lua +++ b/lua/configs/lspsaga.lua @@ -18,14 +18,14 @@ function M.config() -- Code actions code_action_icon = " ", code_action_prompt = { - enable = true, - sign = false, -- this thing is ultra annoying - sign_priority = 40, - virtual_text = false, + enable = false, + --sign = false, -- this thing is ultra annoying + --sign_priority = 40, + --virtual_text = false, }, finder_definition_icon = " ", finder_reference_icon = " ", - max_preview_lines = 10, + max_preview_lines = 40, finder_action_keys = { open = "o", vsplit = "s",