aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
Commit message (Collapse)AuthorAge
...
* make vim.loop == require'luv'Björn Linse2019-06-30
| | | | | This avoids initializing libluv a second time if a plugin invokes require'luv'. It is probably not an issue, but better to be safe.
* libluv: use luv_set_callback to control callback executionBjörn Linse2019-06-30
| | | | | Disable the use of deferred API functions in a fast lua callback Correctly display error messages from a fast lua callback
* api/lua: add on_detach to nvim_buf_attachBjörn Linse2019-06-15
|
* lua: introduce vim.loop (expose libuv event-loop) #10123George Zhao2019-06-10
| | | | | | Co-authored-by: Andrey Popp <8mayday@gmail.com> closes #9546 closes #10084
* lua: docs and tests for vim.scheduleBjörn Linse2019-06-05
|
* lua: add vim.schedule(cb)Andrey Popp2019-06-05
| | | | | This executes Lua callback on main loop's event queue so that nvim API is safe to call.
* api: allow nvim_buf_attach from lua using callbacksBjörn Linse2019-06-04
|
* messages: use proper multiline error message for rpcrequest and API wrappersBjörn Linse2019-05-26
|
* Merge #9686 'win/Lua: monkey-patch os.getenv()'Justin M. Keyes2019-03-16
|\ | | | | | | fixes #9681
| * Fix os.getenv of lua on Windowserw72019-03-07
|/ | | | | Change to use os_getenv instead of getenv because environment variable set by uv_os_setenv can not be get with getenv.
* cleanup: reduce some duplicate code, avoid function pointers for a conditionBjörn Linse2019-01-23
| | | | | | | Add 'multiline' flag to history for correct :messages output Use larger buffer size for multiline messages. if this turns out to not be enough, we could do size calculation like api_set_error
* message.c: add msg_echo_attr functions, use it for lua error messagesAlexandre Dubray2019-01-22
| | | | | The added function behaves like the non-echo function but display message in a echo-style way (i.e. tab and newline are preserved)
* add func_attr_printf in :MichaHoffmann2018-09-24
| | | | | | | | | | | | | | | | | | | | | | log.c message.c strings.c fixed some printf warnings in: src/nvim/undo.c src/nvim/eval.c src/nvim/eval/encode.c src/nvim/eval/typval.c src/nvim/ex_getln.c src/nvim/fileio.c src/nvim/lua/executor.c src/nvim/main.c src/nvim/regexp_nfa.c src/nvim/shada.c src/nvim/spellfile.c src/nvim/tui/terminfo.c src/nvim/garray.h
* lua/executor: Remove all places where lightuserdata is usedZyX2018-01-21
| | | | | | Should fix problems with luajit+arm64. Fixes #7879 Ref LuaJIT/LuaJIT#230
* docJustin M. Keyes2017-11-06
|
* 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
| |
| * lua/executor: Make stricmp function work with strings with NULsZyX2017-08-15
|/
* lua/executor: Fix crash when printing empty string (#7157)Nikolai Aleksandrovich Pavlov2017-08-13
|
* Merge #6789 from ZyX-I/lua-pathJustin M. Keyes2017-06-27
|\ | | | | lua: Add paths from &runtimepath to package.path and package.cpath
| * lua: Add paths from &runtimepath to package.path and package.cpathZyX2017-05-25
| |
* | lint: fix indentation of FUNC_ATTR linesBjörn Linse2017-06-03
|/
* lua: Add PVS comment to lua/*.cZyX2017-05-20
|
* api: execute lua directly from the remote apiBjörn Linse2017-05-13
|
* lua: Move files from src/nvim/viml/executor to src/nvim/luaZyX2017-04-11