aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
Commit message (Collapse)AuthorAge
* tree-sitter: use "module" pattern in lua sourceBjörn Linse2019-09-28
|
* tree-sitter: simplify editing using the new old_byte_size parameterBjörn Linse2019-09-28
|
* tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests)Björn Linse2019-09-28
|
* tree-sitter: improve parser API (shared parser between plugins)Björn Linse2019-09-28
|
* tree-sitter: inspect languageBjörn Linse2019-09-28
|
* tree-sitter: rename tree_sitter => treesitter for consistencyBjörn Linse2019-09-28
|
* tree-sitter: add basic testing on ciBjörn Linse2019-09-28
| | | | build tree-sitter c parser on ci for testing purposes
* tree-sitter: support pre-registration of languagesBjörn Linse2019-09-28
|
* tree-sitter: objectify APIBjörn Linse2019-09-28
|
* tree-sitter: split tree-sitter lua interface from demo codeBjörn Linse2019-09-28
|
* tree-sitter: load parsers as .so filesBjörn Linse2019-09-28
|
* tree-sitter: initial tree-sitter supportBjörn Linse2019-09-28
|
* 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.
* man.vim: Handle ANSI escape sequences with ":" #10267Kovas Palunas2019-06-30
| | | | closes #10267
* doc #10017Justin M. Keyes2019-05-25
| | | | | - gen_vimdoc.py: fancy "bullet" - rework `:help channel-callback` - rename `:help buffered` to `:help channel-buffered`
* lua/shared: share trim() implJustin M. Keyes2019-05-20
|
* lintJustin M. Keyes2019-05-19
|
* lua/shared: share more stuffJustin M. Keyes2019-05-19
| | | | | Leave trim() in vim.lua, because gen_vimdoc.py needs at least one function in there, else it gets confused...
* lua/shared: share deepcopy() with test/*Justin M. Keyes2019-05-19
| | | | deepcopy() was duplicated in test/helpers.lua
* gen_vimdoc.py: support lua/shared.lua module [ci skip]Justin M. Keyes2019-05-19
|
* lua/shared: move table util funcs to vim.sharedJustin M. Keyes2019-05-18
| | | | | Use `tbl_` prefix for all table-util functions. Specify in the function docstring if it expects a list-like or map-like table.
* lua/stdlib: Introduce vim.sharedJustin M. Keyes2019-05-18
| | | | | | | | | | This is where "pure functions" can live, which can be shared by Nvim and test logic which may not have a running Nvim instance available. If in the future we use Nvim itself as the Lua engine for tests, then these functions could be moved directly onto the `vim` Lua module. closes #6580
* lua/stdlib: vim.inspect, string functionsKillTheMule2019-01-14
| | | | | ref #6580 ref #8677
* lintJustin M. Keyes2018-12-20
|
* runtime/lua/vim/compat.luaJustin M. Keyes2018-12-20
| | | | | | | | | | | | | | | | | | | | | ref #9280 Introduce the `vim.compat` module, to help environments with system Lua 5.2+ run the build/tests. Include the module implicitly in all tests. ref #8677 legacy `vim` module: beep buffer command dict eval firstline lastline line list open type window
* test: Lua 5.2/5.3 compat #9280Matěj Cepl2018-12-20
| | | | | Make the code run both on Lua 5.1 (which is the default for Neovim, and is what LuaJIT provides) and Lua 5.2+.
* man.lua: avoid float conversion on lua 5.3 (#7851)Filip Szymański2018-01-15
| | | | | Error detected while processing function man#open_page[58]..<SNR>54_put_page: line 8: E5105: Error while calling lua chunk: /usr/share/nvim/runtime/lua/man.lua:165: Vim(let):E805: Using a Float as a Number
* Address PR commentsGabriel Holodak2017-12-27
|
* Add support for escape sequencesGabriel Holodak2017-12-27
|
* Switch to processing in LuaGabriel Holodak2017-12-27