aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui
Commit message (Collapse)AuthorAge
...
* foldcolumn: support "auto" (#13571)Jan Edmund Lazo2020-12-20
| | | | | | "set foldcolumn=auto" is documented but not supported. Support it by making it behave as "auto:1", similar to "signcolumn". Close https://github.com/neovim/neovim/pull/13561
* ui: Fix win_hide distination gridshirasaka2020-12-05
| | | | | | When create tab, win_hide sent to new tab and new tab's previous tab. So, if created tab that not next tab (eg. $tabnew cmd), send win_hide to not current tab, and fixed this.
* Merge pull request #13428 from janlazo/nvim-8.0.1525Jan Edmund Lazo2020-12-01
|\ | | | | vim-patch:8.0.{858,953,1525}
| * test/wildmode_spec: override $PS1Jan Edmund Lazo2020-12-01
| | | | | | | | | | User config may set $PS1 for a colored prompt. It breaks the screen tests.
* | ex_getln: add secret charmBjörn Linse2020-12-01
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Opt in to this secret world using set wildchar=0 " already the default, but remove if non-zero existing config: set wildcharm=0 now you can map 'wildmode' just like any mode: cnoremap <tab> <c-z> function! Spacey() return getcmdline()[-1:] == "/" ? "\<bs>" : "" endfunc cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/" Possibly asked questions: What about backwards compatibility? ==== Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working. Doesn't `<c-z>` mean suspend? ==== Not in cmdline mode. If it would then the recommended wildcharm would not have been `<c-z>` to start with. My config relies on `:<c-z>` being a synonym to `:<nop>`! ==== just no.
* folds: use Folded highlight even with spell on (#13393)Matthieu Coudron2020-11-29
| | | | the highlight was not used with spell enabled on folded lines. Thanks to lervag for the nice report.
* screen.c: Allow showbreak to override cursorline. (#13372)shade-of-noon2020-11-25
| | | | | I also added relevant tests. Close #13369
* Merge pull request #13357 from vigoux/luahl-priorityBjörn Linse2020-11-25
|\ | | | | feat(luahl): add priority mechanism
| * feat(luahl): add priority mechanismThomas Vigouroux2020-11-25
| | | | | | | | | | Base priority is 0x1000, in order to stay kinda backward compatible. Also set tree-sitter default highlight to 100 (middle-ish value)
* | fix(fold): use Folded highlight even with spell onMatthieu Coudron2020-11-23
|/ | | | | Partially addresses https://github.com/neovim/neovim/issues/12982. It's more a quickfix while reworking folds.
* Merge pull request #13307 from janlazo/vim-8.1.0777Jan Edmund Lazo2020-11-21
|\ | | | | vim-patch:8.1.{323,777,933,938},8.2.{178,248,547,581,592,646,658,793,1608,1975,1991,1992,1993,1994,1998,1999,2003,2007,2008,2009}
| * test: rewrite powershell tests to remove timeoutJan Edmund Lazo2020-11-20
| | | | | | | | TSAN kept failing and Appveyor sometimes fails on the same test.
* | Merge pull request #13250 from bfredl/missinglinkBjörn Linse2020-11-21
|\ \ | |/ |/| allow nvim_set_hl to break existing links
| * decorations: allow nvim_set_hl to break existing linksBjörn Linse2020-11-21
| | | | | | | | also add `default` flag to NOT break existing links/defs
* | keymap: Preserve S- modifier when C- is presentJames McCoy2020-11-16
|/ | | | Closes #12037
* fix(floatwin): don't always use winheightThomas Vigouroux2020-11-16
|
* Merge pull request #12698 from erw7/fix-popupmenu-with-rlJan Edmund Lazo2020-11-13
|\ | | | | ui: fix problem with the popupmenu when rightleft is set
| * ui: fix problem with the popupmenu when rightleft is seterw72020-07-31
| | | | | | | | fixes #12032
* | Add test case for fold on multigridshirasaka2020-11-09
| |
* | Merge pull request #12870 from bfredl/themeparkBjörn Linse2020-11-01
|\ \ | | | | | | Color themes (per window/line) and lua theme providers
| * | api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* | | vim-patch:8.2.0131: command line is not cleared when switching tabsJan Edmund Lazo2020-10-29
|/ / | | | | | | | | | | | | | | Problem: Command line is not cleared when switching tabs and the command line height differs. Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino, closes vim/vim#5495) https://github.com/vim/vim/commit/479950f6c9aee4806f28a2b2fe5471e18a034cff
* | Fix popupmenu position issueerw72020-10-23
| |
* | Merge pull request #13118 from bfredl/mudhollandBjörn Linse2020-10-19
|\ \ | | | | | | A Mudholland Dr. Recast
| * | A Mudholland Dr. RecastBjörn Linse2020-10-19
| | | | | | | | | | | | | | | The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense.
* | | Merge pull request #12053 from tjdevries/tjdevries/nicer_validateTJ DeVries2020-10-17
|\ \ \ | |/ / |/| | vim.validate(): include stacktrace in message
| * | test/vim.validate(): assert normalized stacktraceJustin M. Keyes2020-10-05
| | | | | | | | | | | | | | | | | | | | | - The previous commit lost information in the tests. Instead, add some more "normalization" substitutions in pcall_err(), so that the general shape of the stacktrace is included in the asserted text. - Eliminate contains(), it is redundant with matches()
* | | api: multiple decoration providers at onceBjörn Linse2020-10-10
|/ /
* | vim-patch:8.2.0841: 'verbose' value 16 causes duplicate outputJan Edmund Lazo2020-10-03
| | | | | | | | | | | | | | Problem: 'verbose' value 16 causes duplicate output. Solution: Combine levels 15 and 16 into one message. (Christian Brabandt, closes vim/vim#6153) https://github.com/vim/vim/commit/823654bc06c847af20967d41db32d592aba416cb
* | Merge pull request #12968 from erw7/fix-substitute2Thomas Vigouroux2020-10-02
|\ \ | | | | | | fix substitute problem with inccommand
| * | extmark: fix decoration ploblems with extmarkerw72020-10-02
| | | | | | | | | | | | | | | | | | 54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
* | | screen.c: fix buffer overflow due to foldingerw72020-10-01
| | | | | | | | | | | | fixes #12988.
* | | vim-patch:8.1.1992: the search stat moves when wrapping at the end of the bufferJan Edmund Lazo2020-09-29
| | | | | | | | | | | | | | | | | | Problem: The search stat moves when wrapping at the end of the buffer. Solution: Put the "W" in front instead of at the end. https://github.com/vim/vim/commit/16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4
* | | screen: more work on fold_line replacementBjörn Linse2020-09-24
| | |
* | | screen.c: remove fold_lineMatthieu Coudron2020-09-24
|/ / | | | | | | | | | | | | | | | | as well as copy_text_attr, text_to_screenline. Display of folded line is now done via win_line, which reduces code deduplication. As fold_line was a trimmed down version of win_line, this change brings new features such CursorLineNr highighting even on folded line, as well as CursorLine highlighting.
* | UI: fix cursor not displayed after hiding and un-hiding #12811erw72020-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - TUI: Fix a case where the cursor was not displayed after hiding the cursor and then setting it to be displayed again. - Change to reset everything before setting guicursor. fixes #12800 close #12811 Steps to reproduce: nvim -u NORC :set termguicolors :hi nCursor guifg=red guibg=red :hi iCursor guifg=green guibg=green :hi cCursor guifg=blue guibg=blue :set guicursor=n:block-nCursor,i:hor25-iCursor,c:ver25-cCursor :set guicursor-=c:ver25-cCursor Actual behaviour: Cursor is a blue vertical. Expected behaviour: Cursor should be the default color block.
* | Merge pull request #12721 from aufarg/vim-8.1.0265Jan Edmund Lazo2020-09-12
|\ \ | | | | | | [RDY] vim-patch:8.1.{265,271,273,274,275,277,278,279,280,281,282,284,286,291,295,296,320,321,339,351,392,399,552}
| * | vim-patch:8.1.0271: 'incsearch' doesn't work for :s, :g or :vAufar Gilbran2020-09-11
| | | | | | | | | | | | | | | | | | Problem: 'incsearch' doesn't work for :s, :g or :v. Solution: Also use 'incsearch' for other commands that use a pattern. https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0
* | | UI: forward 'mousefocus' option #12863Justin M. Keyes2020-09-06
| | | | | | | | | | | | close #12849 ref eb4aab7173fa1733f77bb6d7117351b47ada6134
* | | API: be less breaking in the christmas tree decorationsBjörn Linse2020-09-04
| | |
* | | decor: sketch new decorations APIBjörn Linse2020-09-03
| | | | | | | | | | | | | | | | | | | | | | | | return decorations back lol no nvim_buf_get_virtual_text share decorations that are hl only to avoid alloc avalanche
* | | docs, remove 'guifontset' #11708Justin M. Keyes2020-08-31
|/ / | | | | | | | | | | | | | | | | | | | | | | | | - remove redundant autocmd list This "grouped" list is useless, it only gets in the way when searching for event names. - intro.txt: cleanup - starting.txt: update, revisit - doc: `:help bisect` - mbyte.txt: update aliases 1656367b90bd. closes #11960 - options: remove 'guifontset'. Why: - It is complicated and is used by almost no one. - It is unlikely to be implemented by Nvim GUIs (complicated to parse, specific to Xorg...).
* | vim-patch:8.2.1004: line numbers below filler lines not always updatedJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | Problem: Line numbers below filler lines not always updated. Solution: Don't break out of the win_line() loop too early. (Christian Brabandt, closes vim/vim#6294, closes vim/vim#6138) https://github.com/vim/vim/commit/511feec6f0a9e954f1d7353425fa51232b1a8e88
* | vim-patch:8.1.2172: spell highlight is wrong at start of the lineJan Edmund Lazo2020-08-02
|/ | | | | | | | | | | | | | Problem: Spell highlight is wrong at start of the line. Solution: Fix setting the "v" variable. (closes vim/vim#5078) https://github.com/vim/vim/commit/7751d1d1a3d447d0d48f57f34e0da9f7c6ac433d Skip spell tests in OpenBSD. Nvim or screen likely crashed. Revist once issue #12104 is fixed. Skip the test for the following reasons: - unknown regression caused by https://github.com/neovim/neovim/issues/12104 - cannot revert failing test from https://github.com/neovim/neovim/commit/ed0d135247790f67ead7f1a8c21a020790e80a74
* Reuse inccommand preview window (fix #11529) (#12612)Ville Hakulinen2020-07-15
| | | | | | | | | | | | | | | | | | | | | | | * Reuse inccommand preview window Currently, show_sub (inside ex_substitute) creates a new split on each run for its existing buffer, and ex_substitute calls close_windows for it. This functionality seems to relay in delayed operations on window structures where the close event on the newest window is "cancelled" by win_grid_alloc. But for multigrid, there is optimization in place in win_grid_alloc which causes any (unnecessary?) allocations to be skipped, and thus inccommand preview window is not preserved but closed immediately. Alternative fix would be to remove said optimization, but the whole "lets create a new split each time and trash the earlier window" seems too wasteful. Fix #11529 * Update failing test The failing test sets inccommand=split and does `:%s/.`, but isn't expecting to get any contents for the preview window, other than the windows status line. Update the test to include the preview window contents too.
* api/ui: simplify popup menu position get/set logic; fix testYatao Li2020-04-28
|
* api/ui: allow set bounds row and col to be less than 0; ui_pum_get_pos: ↵Yatao Li2020-04-28
| | | | return first extui bounds information instead of reducing
* gen_api_dispatch.lua: allow msgpack int for Float args; test: add ↵Yatao Li2020-04-28
| | | | ui_pum_set_bounds and tv_dict_add_float tests
* api/ui: win_viewport event for visible range and cursor position in windowBjörn Linse2020-04-01
|
* Merge pull request #11746 from Billy4195/add_wildmenu_keyMatthieu Coudron2020-03-28
|\ | | | | [RFC] Wildmenu support C-E and C-Y as popupmenu