@@ -318,7 +318,7 @@ M.on_attach = function(bufnr)
318318 ' i' ,
319319 M .config .fast_wrap .map ,
320320 " <esc>l<cmd>lua require('nvim-autopairs.fastwrap').show()<cr>" ,
321- { noremap = true }
321+ { noremap = true , desc = " autopairs fastwrap " }
322322 )
323323 end
324324
@@ -328,7 +328,7 @@ M.on_attach = function(bufnr)
328328 ' i' ,
329329 ' <bs>' ,
330330 ' ' ,
331- { callback = M .autopairs_bs , expr = true , noremap = true }
331+ { callback = M .autopairs_bs , expr = true , noremap = true , desc = " autopairs delete " }
332332 )
333333 end
334334
@@ -338,7 +338,7 @@ M.on_attach = function(bufnr)
338338 " i" ,
339339 utils .key .c_h ,
340340 ' ' ,
341- { callback = M .autopairs_c_h , expr = true , noremap = true }
341+ { callback = M .autopairs_c_h , expr = true , noremap = true , desc = " autopairs delete " }
342342 )
343343 end
344344
@@ -348,7 +348,7 @@ M.on_attach = function(bufnr)
348348 ' i' ,
349349 ' <c-w>' ,
350350 ' ' ,
351- { callback = M .autopairs_c_w , expr = true , noremap = true }
351+ { callback = M .autopairs_c_w , expr = true , noremap = true , desc = " autopairs delete " }
352352 )
353353 end
354354 api .nvim_buf_set_var (bufnr , ' nvim-autopairs' , 1 )
@@ -672,7 +672,7 @@ M.map_cr = function()
672672 ' i' ,
673673 ' <CR>' ,
674674 " v:lua.require'nvim-autopairs'.completion_confirm()" ,
675- { expr = true , noremap = true }
675+ { expr = true , noremap = true , desc = " autopairs completion confirm " }
676676 )
677677end
678678
0 commit comments