aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-07 00:28:53 +0100
committerGitHub <noreply@github.com>2023-03-07 00:28:53 +0100
commit39096f48f0a632870f0792955b37dc32e77458fb (patch)
treed3771db3f27af30dfcfd67599614b610ceee688d /runtime/doc/lua.txt
parent6aa5346b04d6ffbac1ba8fc5626182c16b5ad947 (diff)
parent79571b92ced968ad27bee2a7515a4a04e84dbad2 (diff)
downloadrneovim-39096f48f0a632870f0792955b37dc32e77458fb.tar.gz
rneovim-39096f48f0a632870f0792955b37dc32e77458fb.tar.bz2
rneovim-39096f48f0a632870f0792955b37dc32e77458fb.zip
Merge pull request #13834 from bfredl/omnilua
omnifunc for builtin lua
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 697cd86e8a..bcd68b7608 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1404,6 +1404,12 @@ inspect({object}, {options}) *vim.inspect()*
https://github.com/kikito/inspect.lua
https://github.com/mpeterv/vinspect
+lua_omnifunc({find_start}, {_}) *vim.lua_omnifunc()*
+ Omnifunc for completing lua values from from the runtime lua interpreter,
+ similar to the builtin completion for the `:lua` command.
+
+ Activate using `set omnifunc=v:lua.vim.lua_omnifunc` in a lua buffer.
+
notify({msg}, {level}, {opts}) *vim.notify()*
Display a notification to the user.