mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
fix(mini.surround): manually define 'gsn' keymap to update n_lines configuration
This commit is contained in:
parent
c64a61734f
commit
71148bc268
1 changed files with 5 additions and 1 deletions
|
|
@ -14,7 +14,11 @@ return {
|
|||
{ opts.mappings.find_left, desc = "Find Left Surrounding" },
|
||||
{ opts.mappings.highlight, desc = "Highlight Surrounding" },
|
||||
{ opts.mappings.replace, desc = "Replace Surrounding" },
|
||||
{ opts.mappings.update_n_lines, desc = "Update `MiniSurround.config.n_lines`" },
|
||||
{
|
||||
opts.mappings.update_n_lines,
|
||||
"<Cmd>lua MiniSurround.update_n_lines()<CR>",
|
||||
desc = "Update `MiniSurround.config.n_lines`",
|
||||
},
|
||||
}
|
||||
mappings = vim.tbl_filter(function(m)
|
||||
return m[1] and #m[1] > 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue