Skip to content

Update dependency nvim-mini/mini.surround to v0.18.0#77

Merged
github-actions[bot] merged 1 commit into
mainfrom
renovate/nvim-mini-mini.surround-0.x
Jun 29, 2026
Merged

Update dependency nvim-mini/mini.surround to v0.18.0#77
github-actions[bot] merged 1 commit into
mainfrom
renovate/nvim-mini-mini.surround-0.x

Conversation

@renovate

@renovate renovate Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
nvim-mini/mini.surround minor v0.17.0v0.18.0

Release Notes

nvim-mini/mini.surround (nvim-mini/mini.surround)

v0.18.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions

Copy link
Copy Markdown

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

mini.surround-specific changes (v0.17.0 → v0.18.0):

  • New feature: Visual and Operator-pending mode mappings for find and find_left actions. Previously these only worked in Normal mode; now they also work in x and o modes.
  • Treesitter improvement: treesitter() input spec now searches children languages after parents, improving support for injected languages (e.g., JS inside HTML). Also fixes finding strictly nested inner ranges.
  • User input improvement: Prefers MiniInput.get() if mini.input module is available, enabling async user input.
  • Bug fix: <C-c> is now consistently treated as "cancel" across all user input prompts.
  • Bug fix: Improved vim.str_utfindex and vim.str_byteindex usage for Neovim 0.11+ compatibility.
  • Soft deprecation: Neovim < 0.10 is soft deprecated (warning shown, module still works). This repo targets Neovim 0.11+, so no impact.
  • Internal refactoring: Mapping creation code refactored (same behavior, cleaner implementation). H.make_action now returns <Cmd> expressions instead of directly calling functions, improving Visual/Operator-pending mode support. Variable rename sur_typesurr_type (internal only).
  • Documentation: Numerous quote style changes ('x'`x`), no functional impact.

No breaking changes to the public API. The setup() function signature, config.mappings structure, and all existing mapping behaviors remain identical.

🎯 Impact Scope Investigation

Current usage (lua/plugins/coding.lua:60-81):

require("mini.surround").setup({
  mappings = {
    add = "ys",
    delete = "ds",
    replace = "cs",
    find = "",
    find_left = "",
    highlight = "",
    update_n_lines = "",
  },
})
vim.keymap.del("x", "ys")
vim.keymap.set("x", "S", [[:<C-u>lua MiniSurround.add('visual')<CR>]], { desc = "Add surrounding" })

Analysis:

  • find and find_left are set to "" (disabled) — the new Visual/Operator-pending mappings for these actions will not be created since the plugin correctly skips mappings with empty string LHS.
  • highlight and update_n_lines are also "" (disabled) — no impact.
  • The core mappings ys, ds, cs are unchanged in behavior.
  • The visual mode remap (vim.keymap.del("x", "ys") + remap to S) continues to work correctly. The plugin still creates the x mode mapping for add the same way.
  • No mini.input module is used in this config, so the async input preference is a no-op.
  • The config targets Neovim 0.11+, well above the soft-deprecated 0.9 threshold.
  • No other plugins depend on mini.surround's internal APIs.

💡 Recommended Actions

  • No migration steps required. The update is fully backward-compatible with the current configuration.
  • Merge as-is. No code or configuration changes needed.

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@github-actions
github-actions Bot merged commit 4e9032d into main Jun 29, 2026
3 checks passed
@github-actions
github-actions Bot deleted the renovate/nvim-mini-mini.surround-0.x branch June 29, 2026 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants