neovim/test/functional/lua
github-actions[bot] cdb8c46253
[Backport release-0.9] fix: invoke changed_bytes when rewriting tabs (#25174)
fix: invoke changed_bytes when rewriting tabs

When tabstop and shiftwidth are not equal, tabs are inserted as individual
spaces and then rewritten as tab characters in a second pass. That second pass
did not call changed_bytes which resulted in events being omitted.

Fixes #25092

(cherry picked from commit 7476715765)

Co-authored-by: Ilia Choly <ilia.choly@gmail.com>
2023-09-15 04:12:21 -07:00
..
api_spec.lua refactor(api): VALIDATE macros #22256 2023-02-14 05:07:38 -08:00
buffer_updates_spec.lua [Backport release-0.9] fix: invoke changed_bytes when rewriting tabs (#25174) 2023-09-15 04:12:21 -07:00
command_line_completion_spec.lua feat(lua): omnifunc for builting lua interpreter 2023-03-06 23:12:21 +01:00
commands_spec.lua feat(lua): allow :=expr as a shorter version of :lua =expr 2023-03-22 09:10:04 +01:00
diagnostic_spec.lua test(lua/diagnostic_spec): remove unnecessary after_each() 2023-04-07 09:38:52 +08:00
ffi_spec.lua refactor: remove char_u (#22829) 2023-04-02 16:11:42 +08:00
filetype_spec.lua feat: add vim.filetype.get_option() 2023-03-20 10:06:32 +00:00
fs_spec.lua fix(fs.lua): normalize slash truncation 2023-07-18 06:36:24 +00:00
help_spec.lua test(help): drop treesitter parse error to 0 2023-02-23 10:24:15 +01:00
highlight_spec.lua fix(lua): highlight.on_yank can close timer in twice #18976 2022-06-15 19:39:55 -07:00
inspector_spec.lua fix(lua): inspect_pos respect bufnr when get syntax info 2023-04-16 09:50:49 +00:00
json_spec.lua test: add tests for vim.json 2021-09-26 11:52:17 -07:00
loader_spec.lua [Backport release-0.9] fix(loader): reset hashes when running the loader (#23181) 2023-04-18 17:08:45 +02:00
loop_spec.lua feat(lua): enable stack traces in error output (#16228) 2021-11-06 08:26:10 -06:00
luaeval_spec.lua fix(eval): check for v:lua when calling callback (#19855) 2022-08-20 15:52:35 +08:00
mpack_spec.lua fix(vim.mpack): rename pack/unpack => encode/decode #16175 2021-10-30 06:59:59 -07:00
overrides_spec.lua fix(api, lua): make blank lines in a message work properly 2023-07-03 23:19:26 +00:00
runtime_spec.lua fix(completion): don't add backslash in runtime completion 2023-07-08 15:29:44 +00:00
secure_spec.lua test: make {MATCH:} behave less unexpectedly in screen:expect() 2023-02-18 10:44:35 +08:00
spell_spec.lua feat(test): add Lua forms for API methods (#20152) 2022-11-14 10:01:35 +00:00
thread_spec.lua feat(test): add Lua forms for API methods (#20152) 2022-11-14 10:01:35 +00:00
ui_event_spec.lua test: make expect_unchanged() less confusing (#22255) 2023-02-15 07:26:55 +08:00
ui_spec.lua test(lua/ui_spec): fix Ctrl-C test flakiness (#21039) 2022-11-13 08:16:06 +08:00
uri_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
version_spec.lua fix(vim.version): prerelease compare 2023-03-22 17:46:01 +01:00
vim_spec.lua fix(lua): vim.split may trim inner empty items 2023-04-21 12:05:39 +00:00
watch_spec.lua [Backport release-0.9] fix(watchfiles): skip Created events when poll starts (#23197) 2023-04-19 16:55:06 +02:00
xdiff_spec.lua feat(test): add Lua forms for API methods (#20152) 2022-11-14 10:01:35 +00:00