neovim/test/functional/terminal
Edwin Pujols f2ec058602
tests: Take into account magic hyphen. (#13518)
In Lua patterns the hyphen works like a non-greedy version of Vim's `*`.
- Use `%-` when you need a literal hyphen.
- If you don't need a regular expression at all, use something like
  ```
  string.find(text, pattern, 1, true)
  ```
  so that the pattern is regarded as a plain, non-magical string.
  See [1] and [2] in the Lua manual.

[1]: https://www.lua.org/manual/5.1/manual.html#pdf-Patterns
[2]: https://www.lua.org/manual/5.1/manual.html#pdf-string.find
2020-12-11 18:54:39 -05:00
..
altscreen_spec.lua :terminal : set topline based on window height #8325 2019-01-29 03:00:48 +01:00
api_spec.lua defaults: 'showcmd', 'belloff', 'ruler' 2017-03-16 18:44:10 +01:00
buffer_spec.lua vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal window 2020-12-01 08:52:33 -05:00
cursor_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
edit_spec.lua terminal: absolute CWD in term:// URI #11289 2020-01-26 00:24:42 -08:00
ex_terminal_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
helpers.lua tests/ui: make screen.lua use "linegrid" representation internally 2019-10-13 22:10:42 +02:00
highlight_spec.lua terminal: add tests for palette color forwarding 2019-11-03 10:14:58 +01:00
mouse_spec.lua terminal: Fix mouse coordinates issue (#12158) 2020-04-21 15:44:39 +02:00
scrollback_spec.lua test/wildmode_spec: override $PS1 2020-12-01 08:52:34 -05:00
tui_spec.lua tests: Take into account magic hyphen. (#13518) 2020-12-11 18:54:39 -05:00
window_spec.lua A Mudholland Dr. Recast 2020-10-19 21:48:06 +02:00
window_split_tab_spec.lua terminal: preserve mode when using <Cmd>wincmd in terminal mode (#12254) 2020-06-22 23:22:58 +02:00