Reduce use of VimL (#168)
* perf(context): reduce use of `cmd` and `fn` * perf(float): reduce use of `cmd` and `fn` * perf(init): reduce use of `cmd` and `fn` * perf(menu): reduce use of `cmd` and `fn` * perf(plugin): reduce use of `cmd` and `fn` * docs(README): reduce use of `cmd` and `fn`
This commit is contained in:
@@ -125,7 +125,7 @@ float.scroll = function(self, delta)
|
||||
|
||||
vim.defer_fn(function()
|
||||
vim.api.nvim_buf_call(buf, function()
|
||||
vim.cmd('normal! ' .. top .. 'zt')
|
||||
vim.api.nvim_command('normal! ' .. top .. 'zt')
|
||||
end)
|
||||
end, 0)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user