neovim/test/functional/fixtures
Sergey Slipchenko 345bd91db2
fix(lsp): handle absence of a trailing newline #25194
Fixes #24339

rust-analyzer sends "Invalid offset" error in such cases. Some other
servers handle it specially.

LSP spec mentions that "A range is comparable to a selection in an
editor". Most editors don't handle trailing newlines the same way
Neovim/Vim does, it's clearly visible if it's present or not. With that
in mind it's understandable why sending end position as simply the start
of the line after the last one is considered invalid in such cases.
2023-09-21 03:06:40 -07:00
..
autoload refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
bin eval: executable(), exepath() accept strings only 2020-12-11 21:20:20 -05:00
lua refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
middle fix(runtime): fix ordering of "after" packages 2021-09-30 22:03:18 +02:00
nvim refactor(runtime): handle pack/foo/start/bar/after dirs properly 2021-09-18 13:59:19 +02:00
pack/foo fix(eval): v:lua support for - in module names 2022-01-28 18:20:26 +01:00
start/nvim-leftpad feat(lua): rename vim.loop -> vim.uv (#22846) 2023-06-03 12:06:00 +02:00
wildpum vim-patch:8.2.4334: command line popup menu not positioned correctly 2022-08-22 09:08:47 +08:00
api_level_0.mpack
api_level_1.mpack
api_level_2.mpack NVIM v0.2.0 2017-05-01 22:13:23 +02:00
api_level_3.mpack NVIM v0.2.1 2017-11-07 23:54:31 +01:00
api_level_4.mpack NVIM v0.3.0 2018-06-11 00:46:49 +02:00
api_level_5.mpack NVIM v0.3.2 2018-12-31 01:06:17 +01:00
api_level_6.mpack fix api_level_6.mpack 2019-09-15 17:28:42 -07:00
api_level_7.mpack NVIM v0.5.0 2021-07-02 17:54:29 +02:00
api_level_8.mpack NVIM 0.6.0 2021-11-30 18:20:42 +01:00
api_level_9.mpack NVIM 0.7 2022-04-15 13:38:44 +02:00
api_level_10.mpack NVIM v0.8.0 2022-09-30 17:15:13 +02:00
api_level_11.mpack NVIM v0.9.0 2023-04-07 13:26:29 +02:00
bigfile_oneline.txt inccommand: improve performance #6949 2017-07-08 17:51:42 +02:00
bigfile.txt
CMakeLists.txt build: use modern cmake (#21589) 2023-01-10 18:49:57 +01:00
cmdscript.cmd win: jobstart(), system(): $PATHEXT-resolve exe 2019-07-21 20:51:37 +02:00
fake-lsp-server.lua fix(lsp): handle absence of a trailing newline #25194 2023-09-21 03:06:40 -07:00
filename_with_unicode_ααα fix: find multibyte file name in line (#20519) 2022-10-07 09:43:16 +08:00
non_executable.txt
printargs-test.c *: Add comment to all C files 2017-04-19 19:11:50 +03:00
printenv-test.c vim-patch:8.1.0941: macros for MS-Windows are inconsistent (#20215) 2022-09-18 09:17:15 +08:00
shell_data.txt shell: add test for binary and multibyte output 2018-02-06 10:23:26 +01:00
shell-test.c feat(terminal): TermClose: set exit code in v:event.status #15406 2021-08-20 10:45:28 -07:00
smile2.cat api: allow open non-current buffer as terminal (+ xmas bonus) 2021-03-12 14:44:47 +01:00
startup-fail.lua feat(lua): exit 1 on Lua "-l" script error 2023-01-05 17:10:02 +01:00
startup.lua feat(lua): send "--" literally to Lua "-l" script 2023-01-05 17:10:02 +01:00
streams-test.c fixup! tests: fix system_spec when run with clipboard manager (#10956) 2021-06-05 12:49:26 -04:00
tty-test.c vim-patch:8.1.0941: macros for MS-Windows are inconsistent (#20215) 2022-09-18 09:17:15 +08:00