cleanup some vim.cmd calls
All checks were successful
NeoVim tests / plenary-tests (push) Successful in 9s

This commit is contained in:
2025-03-12 23:12:28 -06:00
parent de01a95cdc
commit 79499e898c
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ function Range.from_text_object(text_obj, opts)
local prev_on_yank_enabled = on_yank_enabled
on_yank_enabled = false
vim.cmd.normal {
vim.cmd {
cmd = 'normal',
bang = not opts.user_defined,
args = { '""y' .. text_obj },