mirror of
https://github.com/neovim/neovim.git
synced 2025-11-21 09:36:29 +00:00
doc: vim.fn, vim.call(), vim.api [ci skip]
This commit is contained in:
@@ -301,7 +301,7 @@ describe('lua stdlib', function()
|
||||
pcall_err(exec_lua, [[return vim.pesc(2)]]))
|
||||
end)
|
||||
|
||||
it('vim.call and vim.fn', function()
|
||||
it('vim.call, vim.fn', function()
|
||||
eq(true, exec_lua([[return vim.call('sin', 0.0) == 0.0 ]]))
|
||||
eq(true, exec_lua([[return vim.fn.sin(0.0) == 0.0 ]]))
|
||||
-- compat: nvim_call_function uses "special" value for vimL float
|
||||
|
||||
Reference in New Issue
Block a user