diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-07 17:18:32 -0800 |
---|---|---|
committer | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-03-09 20:14:08 -0800 |
commit | e4e51c69d740eb7dc4f3bf0479a92ac6442d979a (patch) | |
tree | 2c57ee29c483355ba631234a7fd7ea241c8d45dd /test/functional/fixtures | |
parent | c12ea02e0b5d465e2c4b7d8bba028d069bdf7008 (diff) | |
download | rneovim-e4e51c69d740eb7dc4f3bf0479a92ac6442d979a.tar.gz rneovim-e4e51c69d740eb7dc4f3bf0479a92ac6442d979a.tar.bz2 rneovim-e4e51c69d740eb7dc4f3bf0479a92ac6442d979a.zip |
lsp: add incremental text synchronization
* Implementation derived from and validated by vim-lsc authored by Nate
Bosch
Diffstat (limited to 'test/functional/fixtures')
-rw-r--r-- | test/functional/fixtures/fake-lsp-server.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/fixtures/fake-lsp-server.lua b/test/functional/fixtures/fake-lsp-server.lua index 3bbb4c4517..1b1fc2589f 100644 --- a/test/functional/fixtures/fake-lsp-server.lua +++ b/test/functional/fixtures/fake-lsp-server.lua @@ -402,11 +402,11 @@ function tests.basic_check_buffer_open_and_change_incremental() contentChanges = { { range = { - start = { line = 1; character = 0; }; - ["end"] = { line = 2; character = 0; }; + start = { line = 1; character = 3; }; + ["end"] = { line = 1; character = 3; }; }; - rangeLength = 4; - text = "boop\n"; + rangeLength = 0; + text = "boop"; }; } }) |