Skip to content

Commit a946e19

Browse files
committed
fix(keymap): prevent new builtins from interfering with our keymap in v0.11
1 parent b7a6037 commit a946e19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lua/keymap/completion.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ function M.lsp(buf)
5151
["n|gT"] = map_callback(function()
5252
vim.lsp.buf.type_definition()
5353
end):with_desc("lsp: Goto type_definition"),
54-
["n|gr"] = map_cr("Lspsaga rename"):with_silent():with_buffer(buf):with_desc("lsp: Rename in file range"),
54+
["n|gr"] = map_cr("Lspsaga rename")
55+
:with_silent()
56+
:with_nowait()
57+
:with_buffer(buf)
58+
:with_desc("lsp: Rename in file range"),
5559
["n|gR"] = map_cr("Lspsaga rename ++project")
5660
:with_silent()
5761
:with_buffer(buf)

0 commit comments

Comments
 (0)