From d186f25916961c17da52179f80e6514cc2121c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E9=85=94=E9=96=91=E5=90=9F?= <50296129+Jint-lzxy@users.noreply.github.com> Date: Fri, 11 Aug 2023 11:47:34 +0800 Subject: [PATCH] feat(lspsaga): make codeaction effective linewise (#943) IMO It's pretty counterintuitive to have cursor placed on the target identifier before toggling code action(s) Ref: https://github.com/nvimdev/lspsaga.nvim/commit/a11b436aea63e305f9a94432e89bb26609d7a56c --- lua/modules/configs/completion/lspsaga.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/modules/configs/completion/lspsaga.lua b/lua/modules/configs/completion/lspsaga.lua index caece7bca..3b977b003 100644 --- a/lua/modules/configs/completion/lspsaga.lua +++ b/lua/modules/configs/completion/lspsaga.lua @@ -53,6 +53,7 @@ return function() -- https://dev.neovim.pro/lspsaga/codeaction/ code_action = { num_shortcut = true, + only_in_cursor = false, show_server_name = true, extend_gitsigns = false, keys = {