make vim.cmd calls more fancy
This commit is contained in:
parent
fda8909c9c
commit
95fcc5e416
6 changed files with 7 additions and 7 deletions
|
|
@ -26,8 +26,8 @@ auto('BufRead', {
|
|||
group = bufcheck,
|
||||
desc = 'Return to the last place the buffer was closed in.',
|
||||
callback = function()
|
||||
vim.cmd([[call setpos(".", getpos("'\""))]])
|
||||
vim.api.nvim_input('zz')
|
||||
vim.cmd.call([[setpos(".", getpos("'\""))]])
|
||||
end
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue