Compare commits
2 Commits
adcfe5640f
...
ff04acb158
Author | SHA1 | Date | |
---|---|---|---|
ff04acb158 | |||
79499e898c |
@ -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 },
|
||||
|
@ -1,6 +1,6 @@
|
||||
local M = {}
|
||||
|
||||
local function _normal(cmd) vim.cmd.normal { cmd = 'normal', args = { cmd }, bang = true } end
|
||||
local function _normal(cmd) vim.cmd { cmd = 'normal', args = { cmd }, bang = true } end
|
||||
|
||||
M.native_repeat = function() _normal '.' end
|
||||
M.native_undo = function() _normal 'u' end
|
||||
|
Loading…
x
Reference in New Issue
Block a user