aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
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
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')
-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*