aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-04-29 17:26:57 +0100
committerLewis Russell <lewis6991@gmail.com>2022-05-17 10:29:33 +0100
commit5c41165c8e89356bdb7d1b5835d1f79725b62d2c (patch)
tree1417c52d442a0091f3b29833d0d75210ad9e87ae /runtime
parent6613f58cebde7db4e69709b84d511c32a7c4ce32 (diff)
downloadrneovim-5c41165c8e89356bdb7d1b5835d1f79725b62d2c.tar.gz
rneovim-5c41165c8e89356bdb7d1b5835d1f79725b62d2c.tar.bz2
rneovim-5c41165c8e89356bdb7d1b5835d1f79725b62d2c.zip
feat(lua): allow some viml functions to run in fast
This change adds the necessary plumbing to annotate functions in funcs.c as being allowed in run in luv fast events.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/lua.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index b551552c03..dd1843ade3 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1038,6 +1038,8 @@ vim.fn.{func}({...}) *vim.fn*
Note: vim.fn keys are generated lazily, thus `pairs(vim.fn)` only
enumerates functions that were called at least once.
+ Note: The majority of functions cannot run in |api-fast| callbacks with some
+ undocumented exceptions which are allowed.
*lua-vim-variables*
The Vim editor global dictionaries |g:| |w:| |b:| |t:| |v:| can be accessed