aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/utility_functions_spec.lua
Commit message (Collapse)AuthorAge
* Lua: vim.validate()Hirokazu Hata2019-11-10
| | | | | | | We often want to do type checking of public function arguments. - test: Rename utility_function_spec.lua to vim_spec.lua - .luacov: Map lua module names
* tests: vim.rpcnotify test is flakyBjörn Linse2019-11-10
|
* lua: vim.rpcrequest, vim.rpcnotify, vim.NILBjörn Linse2019-11-10
|
* doc: vim.fn, vim.call(), vim.api [ci skip]Justin M. Keyes2019-11-06
|
* lua: add vim.fn.{func} for direct access to vimL functionBjörn Linse2019-10-27
| | | | | | | | compared to vim.api.|nvim_call_function|, this fixes some typing issues due to the indirect conversion via the API. float values are preserved as such (fixes #9389) as well as empty dicts/arrays. Ref https://github.com/norcalli/nvim.lua for the call syntax
* test/pcall_err(): truncate full paths, omit linenrJustin M. Keyes2019-10-26
| | | | ref #11271
* lua/stdlib: adjust some validation messages #11271Hirokazu Hata2019-10-26
| | | | close #11271
* test: Rename meth_pcall to pcall_errJustin M. Keyes2019-09-06
| | | | | | | - Rename `meth_pcall`. - Make `pcall_err` raise an error if the function does not fail. - Add `vim.pesc()` to treat a string as literal where a Lua pattern is expected.
* api: make try_end clean-up after an exception properly. Fixes #10809Björn Linse2019-09-02
| | | | | | Otherwise `force_abort` will cause an emsg() higher on the stack to be converted to an exception, even though it is outside any try/catch.
* lua: minimal UTF-16 support needed for LSPBjörn Linse2019-08-08
|
* lua: docs and tests for vim.scheduleBjörn Linse2019-06-05
|
* lua: expose full interface of vim.inspect and add testBjörn Linse2019-01-14
| | | | | | Implement lazy loading for vim.submodule, this would be over-engineering for inspect only, but we expect to use this solution also for more and larger modules.
* Merge #9463 'Lua stdlib'Justin M. Keyes2019-01-14
|\
| * lua/stdlib: Load runtime modules on-demandJustin M. Keyes2019-01-14
| | | | | | | | | | | | | | | | | | | | Instead of eager-loading during plugin/* sourcing, define runtime modules such as `vim.inspect` as lazy builtins. Otherwise non-builtin Lua modules such as `vim.inspect` would not be available during startup (init.vim, `-c`, `--cmd`, …). ref #6580 ref #8677
| * lua/stdlib: vim.inspect, string functionsKillTheMule2019-01-14
|/ | | | | ref #6580 ref #8677
* Merge #7165 'lua: Move stricmp to vim module'Justin M. Keyes2017-10-22
|
* lua/executor: Fix crash when first string contains NUL and second notZyX2017-08-15
|
* lua/executor: Move stricmp to vim “module” and document itZyX2017-08-15
|
* functests: Add test for stricmpZyX2017-08-15