aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt6
-rw-r--r--runtime/doc/news.txt2
2 files changed, 8 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.
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 825496cff5..2db1e75bf7 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -192,6 +192,8 @@ The following new APIs or features were added.
disabled by default and can be enabled by setting the
`workspace.didChangeWatchedFiles.dynamicRegistration=true` capability.
+• Added an omnifunc implementation for lua, |vim.lua_omnifunc()|
+
==============================================================================
CHANGED FEATURES *news-changes*