aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2024-05-30 10:46:26 +0200
committerGitHub <noreply@github.com>2024-05-30 10:46:26 +0200
commit5c33815448e11b514678f39cecc74e68131d4628 (patch)
tree98375094ca5cf9e5d035db555f08e75dd7c1d822 /runtime/doc
parentb2bad0ac91ddb9b33c3547b6fd4f7278794818d9 (diff)
downloadrneovim-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.txt3
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.