neovim/test/functional
Andreas Johansson 44fe8828f0
lsp: Fix text edits with the same start position (#12434)
According to the LSP spec[1], multiple edits can have the same starting
position, and if that is the case, they should be applied in the order
as they come in the array.

The implementation uses a reverse sort to not interfere with non applied
edits, but failed to take into account the spec.

[1] https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#textedit
2020-06-14 15:23:16 -04:00
..
api Merge pull request #12376 from erw7/fix-stack-overflow-on-input-enqueue 2020-06-08 16:52:56 +02:00
autocmd Add v:event.visual during TextYankPost (#12382) 2020-06-03 10:51:25 -04:00
cmdline doc: fix typos 2019-11-27 22:47:25 -08:00
core vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117) 2020-05-24 20:45:25 +02:00
eval vim-patch:8.2.0111: VAR_SPECIAL is also used for booleans 2020-06-06 23:24:58 +08:00
ex_cmds test: add more profile tests 2020-05-10 03:16:30 +09:00
fixtures test/LSP: assert contents of log file 2020-02-16 22:09:28 -08:00
insert edit.c: Ensure undo sync when emulating <Esc>x #11706 2020-01-12 17:09:39 -08:00
legacy vim-patch:8.2.0491: cannot recognize a <script> mapping using maparg() 2020-06-04 20:52:53 -04:00
lua Merge pull request #12321 from vigoux/treesitter-runtime 2020-06-06 15:37:51 +02:00
normal lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
options vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local (#11854) 2020-03-17 20:05:34 +01:00
plugin lsp: Fix text edits with the same start position (#12434) 2020-06-14 15:23:16 -04:00
provider test: rewrite to multiple arguments 2020-06-01 00:10:17 +09:00
shada shada: initialize jumplist before search pattern (#10964) 2019-09-07 18:02:29 -07:00
terminal terminal: disable 'scrolloff' (fixes flicker) 2020-05-04 21:21:33 -07:00
ui api/ui: simplify popup menu position get/set logic; fix test 2020-04-28 01:54:16 +08:00
viml tests: adjust to latest Vim patches 2019-05-05 14:05:25 +02:00
example_spec.lua screen.lua: remove screen:_on_event #11488 2019-12-01 01:06:10 -08:00
helpers.lua lua: move test helper function, map and filter, to vim.shared module 2020-02-18 17:43:10 +09:00
preload.lua test/functional/preload.lua: _set_fmode for Windows 2019-09-25 05:47:15 +02:00