aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_defaults.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/_defaults.lua')
-rw-r--r--runtime/lua/vim/_defaults.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/lua/vim/_defaults.lua b/runtime/lua/vim/_defaults.lua
index 09670f4c32..6dd1c938de 100644
--- a/runtime/lua/vim/_defaults.lua
+++ b/runtime/lua/vim/_defaults.lua
@@ -225,13 +225,13 @@ do
})
vim.keymap.set('n', '[Q', function()
- vim.cmd.crewind({ args = vim.v.count ~= 0 and { vim.v.count } or nil })
+ vim.cmd.crewind({ count = vim.v.count ~= 0 and vim.v.count or nil })
end, {
desc = ':crewind',
})
vim.keymap.set('n', ']Q', function()
- vim.cmd.clast({ args = vim.v.count ~= 0 and { vim.v.count } or nil })
+ vim.cmd.clast({ count = vim.v.count ~= 0 and vim.v.count or nil })
end, {
desc = ':clast',
})
@@ -262,13 +262,13 @@ do
})
vim.keymap.set('n', '[L', function()
- vim.cmd.lrewind({ args = vim.v.count ~= 0 and { vim.v.count } or nil })
+ vim.cmd.lrewind({ count = vim.v.count ~= 0 and vim.v.count or nil })
end, {
desc = ':lrewind',
})
vim.keymap.set('n', ']L', function()
- vim.cmd.llast({ args = vim.v.count ~= 0 and { vim.v.count } or nil })
+ vim.cmd.llast({ count = vim.v.count ~= 0 and vim.v.count or nil })
end, {
desc = ':llast',
})