neovim/test/functional/lua
Gregory Anders 0dd933265f
feat(terminal)!: cursor shape and blink (#31562)
When a terminal application running inside the terminal emulator sets
the cursor shape or blink status of the cursor, update the cursor in the
parent terminal to match.

This removes the "virtual cursor" that has been in use by the terminal
emulator since the beginning. The original rationale for using the
virtual cursor was to avoid having to support additional UI methods to
change the cursor color for other (non-TUI) UIs, instead relying on the
TermCursor and TermCursorNC highlight groups.

The TermCursor highlight group is now used in the default 'guicursor'
value, which has a new entry for Terminal mode. However, the
TermCursorNC highlight group is no longer supported: since terminal
windows now use the real cursor, when the window is not focused there is
no cursor displayed in the window at all, so there is nothing to
highlight. Users can still use the StatusLineTermNC highlight group to
differentiate non-focused terminal windows.

BREAKING CHANGE: The TermCursorNC highlight group is no longer supported.
2024-12-17 07:11:41 -06:00
..
api_spec.lua refactor(api)!: rename Dictionary => Dict 2024-09-23 14:42:57 +02:00
base64_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
buffer_updates_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
command_line_completion_spec.lua feat(lua): completion for vim.fn, vim.v, vim.o #30472 2024-10-04 06:48:31 -07:00
commands_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
comment_spec.lua fix(comment): fall back to using trimmed comment markers (#28938) 2024-05-23 15:30:53 -05:00
deprecated_spec.lua fix(treesitter): suppress get_parser warnings via opts.error 2024-09-28 00:31:45 +02:00
diagnostic_spec.lua fix(diagnostic): vim.diagnostic.setqflist() opens loclist on first call #31585 2024-12-16 06:38:57 -08:00
ffi_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
filetype_spec.lua fix(filetype): make filetype detection work with :doautocmd (#31470) 2024-12-06 20:57:21 +08:00
fs_spec.lua test(main_spec): use CMakePresets.json instead of .git for root marker 2024-12-03 06:31:09 -05:00
glob_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
hl_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
inspector_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
iter_spec.lua fix(vim.iter): enable optimizations for arrays (lists with holes) (#28781) 2024-05-17 14:17:25 -05:00
json_spec.lua feat(stdlib): vim.json.encode(...,{escape_slash:boolean}) #30561 2024-12-06 12:43:41 -08:00
loader_spec.lua fix(lua): remove vim.loader.disable() #31344 2024-11-26 06:15:50 -08:00
loop_spec.lua fix(messages)!: vim.ui_attach message callbacks are unsafe 2024-11-14 13:23:11 +01:00
luaeval_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
mpack_spec.lua test: support upvalues in exec_lua 2024-09-21 16:04:09 +01:00
overrides_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
runtime_spec.lua feat(options)!: disallow setting hidden options #28400 2024-11-04 05:00:12 -08:00
secure_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
snippet_spec.lua fix(snippet): modify base indentation when there's actually whitespace (#29670) 2024-07-16 19:30:22 +02:00
spell_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
system_spec.lua test(system_spec): check for .git dir before using git (#31458) 2024-12-05 09:13:22 +00:00
text_spec.lua perf(vim.text): use lookup table implementation for hex encoding (#30080) 2024-11-26 13:56:01 -06:00
thread_spec.lua fix(tests): needing two calls to setup a screen is cringe 2024-11-14 12:40:57 +01:00
ui_event_spec.lua feat(terminal)!: cursor shape and blink (#31562) 2024-12-17 07:11:41 -06:00
ui_spec.lua feat(vim.ui.open): support lemonade #30845 2024-10-18 02:22:15 -07:00
uri_spec.lua fix(uri): uri_encode encodes brackets incorrectly for RFC2732 #31284 2024-12-11 05:48:17 -08:00
version_spec.lua fix(version): return nil with empty string 2024-07-27 14:06:31 +01:00
vim_spec.lua fix(api): generic error messages, not using TRY_WRAP #31596 2024-12-16 08:34:16 -08:00
watch_spec.lua ci: bump macos runner version to macos-15 2024-10-06 16:06:28 +02:00
with_spec.lua fix(lua): avoid vim._with() double-free with cmdmod (#31505) 2024-12-08 09:25:43 +08:00
xdiff_spec.lua test: refactor exec_lua in xdiff_spec 2024-09-30 11:51:33 +01:00