Compare commits

..

1 Commits

Author SHA1 Message Date
adcfe5640f experimental: renderer
All checks were successful
NeoVim tests / plenary-tests (push) Successful in 10s
2025-03-04 21:51:08 -07:00
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 {
vim.cmd.normal {
cmd = 'normal',
bang = not opts.user_defined,
args = { '""y' .. text_obj },

View File

@ -1,6 +1,6 @@
local M = {}
local function _normal(cmd) vim.cmd { cmd = 'normal', args = { cmd }, bang = true } end
local function _normal(cmd) vim.cmd.normal { cmd = 'normal', args = { cmd }, bang = true } end
M.native_repeat = function() _normal '.' end
M.native_undo = function() _normal 'u' end