diff options
| author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2024-05-30 10:46:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-30 10:46:26 +0200 |
| commit | 5c33815448e11b514678f39cecc74e68131d4628 (patch) | |
| tree | 98375094ca5cf9e5d035db555f08e75dd7c1d822 /runtime/doc | |
| parent | b2bad0ac91ddb9b33c3547b6fd4f7278794818d9 (diff) | |
| download | rneovim-5c33815448e11b514678f39cecc74e68131d4628.tar.gz rneovim-5c33815448e11b514678f39cecc74e68131d4628.tar.bz2 rneovim-5c33815448e11b514678f39cecc74e68131d4628.zip | |
refactor(lsp): replace util.buf_versions with changedtick (#28943)
`lsp.util.buf_versions` was already derived from changedtick (`on_lines`
from `buf_attach` synced the version)
As far as I can tell there is no need to keep track of the state in a
separate table.
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/deprecated.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/deprecated.txt b/runtime/doc/deprecated.txt index 6c6585d76e..3b3e6afa9e 100644 --- a/runtime/doc/deprecated.txt +++ b/runtime/doc/deprecated.txt @@ -22,6 +22,9 @@ API LUA - vim.region() Use |getregionpos()| instead. +LSP +- *vim.lsp.util.buf_versions* Use |b:changedtick| instead. + DIAGNOSTICS - *vim.diagnostic.goto_next()* Use |vim.diagnostic.jump()| with `{count = 1}` instead. - *vim.diagnostic.goto_prev()* Use |vim.diagnostic.jump()| with `{count = -1}` instead. |