diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2021-11-25 20:06:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 20:06:42 +0100 |
commit | 72d62aa6aa274835aebee9e78dd9b05eef4e5039 (patch) | |
tree | 38a40d8b5af93a7beb1a0ef3337ebfdc8de674c5 /runtime | |
parent | 150a5922aae3ed02c9f4eee7e5f162454c42231c (diff) | |
download | rneovim-72d62aa6aa274835aebee9e78dd9b05eef4e5039.tar.gz rneovim-72d62aa6aa274835aebee9e78dd9b05eef4e5039.tar.bz2 rneovim-72d62aa6aa274835aebee9e78dd9b05eef4e5039.zip |
chore(docs): clarify vim.notify log_level parameter (#16436)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/lua.txt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 5e9189158a..2db1974966 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1200,20 +1200,16 @@ inspect({object}, {options}) *vim.inspect()* https://github.com/kikito/inspect.lua https://github.com/mpeterv/vinspect -make_dict_accessor({scope}, {handle}) *vim.make_dict_accessor()* - TODO: Documentation - -notify({msg}, {log_level}, {_opts}) *vim.notify()* +notify({msg}, {log_level}, {opts}) *vim.notify()* Notification provider Without a runtime, writes to :Messages Parameters: ~ - {msg} Content of the notification to show to the - user - {log_level} Optional log level - {opts} Dictionary with optional options (timeout, - etc) + {msg} string Content of the notification to show to + the user + {log_level} number|nil enum from vim.log.levels + {opts} table|nil additional options (timeout, etc) See also: ~ :help nvim_notify |