Skip to content

Commit 075adea

Browse files
committed
vendor: update deps
1 parent 9c0c42f commit 075adea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lua/_vendor/mini/surround.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2265,7 +2265,7 @@ H.map = function(mode, lhs, rhs, opts)
22652265
if lhs == '' then return end
22662266
opts = vim.tbl_deep_extend('force', { silent = true }, opts or {})
22672267
vim.keymap.set(mode, lhs, rhs, opts)
2268-
if lhs:sub(1, 1) == 's' then vim.keymap.set(mode, 's', '<Nop>') end
2268+
if vim.fn.maparg('s', mode) == '' and lhs:find('^s.') ~= nil then vim.keymap.set(mode, 's', '<Nop>') end
22692269
end
22702270

22712271
H.get_line_cols = function(line_num) return vim.fn.getline(line_num):len() end

peru.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ git module pairs:
4343

4444
git module surround:
4545
url: https://github.com/echasnovski/mini.surround
46-
rev: fc6fbc319b2d686c524d71c7feda20f71af15b8e
46+
rev: 444e155147e2b5159dd28a65f9736254c16cb817
4747

4848
rule mini:
4949
export: lua/mini/

0 commit comments

Comments
 (0)