diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-11-14 11:53:20 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-11-20 08:51:45 +0000 |
commit | 454ae672aad172a299dcff7c33c5e61a3b631c90 (patch) | |
tree | 0a7116ed6967563ca724cc3169e4ec72f40b70c0 /runtime/doc/lua.txt | |
parent | f55c842ec7eabd2e12749411babdcadba47438bc (diff) | |
download | rneovim-454ae672aad172a299dcff7c33c5e61a3b631c90.tar.gz rneovim-454ae672aad172a299dcff7c33c5e61a3b631c90.tar.bz2 rneovim-454ae672aad172a299dcff7c33c5e61a3b631c90.zip |
feat(lsp): deprecate non-method client functions
Deprecated:
- `client.request()` -> `client:request()`
- `client.request_sync()` -> `client:request_sync()`
- `client.notify()` -> `client:notify()`
- `client.cancel_request()` -> `client:cancel_request()`
- `client.stop()` -> `client:stop()`
- `client.is_stopped()` `client:is_stopped()`
- `client.supports_method()` -> `client:supports_method()`
- `client.on_attach()` -> `client:on_attach()`
Fixed docgen to link class fields to the full function doc.
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 243c907180..4d4a51872a 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1937,12 +1937,10 @@ vim.show_pos({bufnr}, {row}, {col}, {filter}) *vim.show_pos()* *vim.Ringbuf* Fields: ~ - • {clear} (`fun()`) Clear all items - • {push} (`fun(item: T)`) Adds an item, overriding the oldest item if - the buffer is full. - • {pop} (`fun(): T?`) Removes and returns the first unread item - • {peek} (`fun(): T?`) Returns the first unread item without removing - it + • {clear} (`fun()`) See |Ringbuf:clear()|. + • {push} (`fun(item: T)`) See |Ringbuf:push()|. + • {pop} (`fun(): T?`) See |Ringbuf:pop()|. + • {peek} (`fun(): T?`) See |Ringbuf:peek()|. Ringbuf:clear() *Ringbuf:clear()* |