This commit is contained in:
pwnalone 2026-06-04 17:42:48 +00:00 committed by GitHub
commit fc0fab83b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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