aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui
Commit message (Collapse)AuthorAge
* chore: fix typos (#17755)dundargoc2022-03-25
| | | | Co-authored-by: Jordan Haine <jhaine@securitycompass.com>
* Merge pull request #17821 from zeertzjq/vim-patch-cursorlinezeertzjq2022-03-24
|\ | | | | vim-patch:8.2.{4591,4614}: cursorline redrawing
| * vim-patch:8.2.4591: cursor line not updated when a callback moves the cursorzeertzjq2022-03-24
| | | | | | | | | | | | | | | | Problem: Cursor line not updated when a callback moves the cursor. Solution: Check if the cursor moved. (closes vim/vim#9970) https://github.com/vim/vim/commit/e7a74d53754765f22ef8ce71c915bb669d5f7f3f redraw_after_callback() is N/A. Nvim handles timers on the main loop.
* | feat(input): enable <tab>/<c-i>, <cr>/<c-m>, <esc>/<c-[> pairs unconditionallybfredl2022-03-24
|/
* fix(float): do not switch window before deleting last listed buffer (#17840)zeertzjq2022-03-24
| | | | Just allow close_windows() to close the current window instead. This fixes wrong working directory or autocommands not being triggered.
* fix(float): don't always switch window when deleting last listed buffer (#17836)zeertzjq2022-03-24
|
* test: add test for deleting last listed buffer when there are floats (#17833)zeertzjq2022-03-24
|
* fix(float): make laststatus=1 behave consistently with floating windowszeertzjq2022-03-23
|
* fix(float): handle buffer deletion with floating windowszeertzjq2022-03-23
|
* fix(win_close): count the window the be closed instead of curwinzeertzjq2022-03-23
|
* fix(screen): do not do syntax highlighting at filler or folded lines (#17818)zeertzjq2022-03-23
|
* Merge pull request #17266 from famiu/feat/ui/global-statuslinebfredl2022-03-17
|\ | | | | feat(statusline): add global statusline
| * feat: add support for global statuslineFamiu Haque2022-03-18
| | | | | | | | | | | | | | | | | | | | Ref: #9342 Adds the option to have a single global statusline for the current window at the bottom of the screen instead of a statusline at the bottom of every window. Enabled by setting `laststatus = 3`. Due to the fact that statuslines at the bottom of windows are removed when global statusline is enabled, horizontal separators are used instead to separate horizontal splits. The horizontal separator character is configurable through the`horiz` item in `'fillchars'`. Separator connector characters are also used to connect the horizontal and vertical separators together, which are also configurable through the `horizup`, `horizdown`, `vertleft`, `vertright` and `verthoriz` items in `fillchars`. The window separators are highlighted using the `WinSeparator` highlight group, which supersedes `VertSplit` and is linked to `VertSplit` by default in order to maintain backwards compatibility.
* | chore: fix typos (#17331)dundargoc2022-03-10
| | | | | | | | | | | | Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: notomo <notomo.motono@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | Merge pull request #17640 from lewis6991/virttextfixbfredl2022-03-09
|\ \ | | | | | | fix(extmarks): fix signs
| * | fix(extmarks): fix signsLewis Russell2022-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't add sign extmarks to state->active. Instead when drawing signs, perform a full line scan for sign marks. This allows decor_redraw_line to be moved back inside the `!number_only` block in screen.c, which prevents decor scans when redrawing the number column when 'relativenumber' is set. Fixes: #17638
* | | test: add a Lua screen test for CursorLineNr in diff modezeertzjq2022-03-08
|/ / | | | | | | Remove a useless test added in #14190
* | Merge pull request #16897 from lewis6991/signsbfredl2022-03-06
|\ \ | | | | | | feat(decorations): support signs
| * | feat(decorations): support signsLewis Russell2022-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following options to extmarks: - sign_text - sign_hl_group - number_hl_group - line_hl_group - cursorline_hl_group Note: ranges are unsupported and decorations are only applied to start_row
* | | feat(tui): add support for `CSI 4 : [2,4,5] m`Kirill Chibisov2022-03-03
|/ / | | | | | | | | | | | | | | This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
* | Merge pull request #17578 from zeertzjq/test-warning-pokezeertzjq2022-03-03
|\ \ | | | | | | test: mention poke_eventloop() instead of wait()
| * | test: mention poke_eventloop() instead of wait()zeertzjq2022-03-02
| | |
* | | fix(test): only use buffer completion in popupmenu timer testbfredl2022-03-02
|/ /
* | Merge pull request #17432 from zeertzjq/vim-8.1.2336zeertzjq2022-02-27
|\ \ | | | | | | vim-patch:8.1.2336,8.2.{4338,4401}: mapping cursor and redrawing patches
| * | test: add some tests for :*map <expr>Jay Sandhu2022-02-17
| |/ | | | | | | | | | | | | | | | | Add tests for: - Cursor position restored after :map expr - Cursor position restored after :imap expr - Error in :cmap expr handled correctly Cherry-picked from #12837
* | Merge pull request #17527 from zeertzjq/test-pending-win32zeertzjq2022-02-26
|\ \ | | | | | | test: use helpers.pending_win32(pending) instead of iswin()
| * | test: use helpers.pending_win32(pending) instead of iswin()zeertzjq2022-02-26
| | |
* | | Merge pull request #17472 from lewis6991/signcol_improvementsbfredl2022-02-26
|\ \ \ | |/ / |/| | signcol improvements
| * | fix(signcol): update cursor when signcol changesLewis Russell2022-02-24
| |/ | | | | | | Fixes #14195
* / ci: skip tests that fail on windowsDundar Göc2022-02-20
|/
* Merge pull request #16914 from godlygeek/fix_14587Christian Clason2022-02-13
|\ | | | | fix(screen): don't put empty sign text in line number column
| * fix(screen): don't put empty sign text in line number columnMatt Wozniski2022-01-04
| | | | | | | | | | | | When `signcolumn=number` but no sign on a given line has any text, display the line's line number instead of the (empty) sign text in the line number column.
* | test: convert some colorcolumn tests to Lua screen testszeertzjq2022-02-12
| |
* | fix: close floating windows when calling win_close()Rom Grk2022-02-10
| |
* | Merge pull request #17279 from zeertzjq/state-enter-vpeekcbfredl2022-02-06
|\ \ | | | | | | fix(event-loop): call vpeekc() directly first to check for character
| * | fix(event-loop): call vpeekc() directly first to check for characterzeertzjq2022-02-03
| | | | | | | | | | | | Expand mappings first by calling `vpeekc()` directly.
* | | Merge pull request #17194 from zeertzjq/inccommand-prev-subzeertzjq2022-02-06
|\ \ \ | | | | | | | | fix(inccommand): do not change reg_prev_sub when previewing
| * | | fix(inccommand): do not change reg_prev_sub when previewingzeertzjq2022-01-25
| | | |
* | | | vim-patch:8.2.1128: the write message mentions characters, but it's byteszeertzjq2022-02-04
| |/ / |/| | | | | | | | | | | | | | Problem: The write message mentions characters, but it's actually bytes. Solution: Change "C" to "B" and "characters" to "bytes". https://github.com/vim/vim/commit/3f40ce78f5c178d15871bd784ed878c78f0b8a44
* | | Merge pull request #17192 from zeertzjq/aucmd-redrawingdisabledbfredl2022-01-29
|\ \ \ | | | | | | | | fix: set RedrawingDisabled before entering aucmd_win
| * | | fix: set RedrawingDisabled before entering aucmd_winzeertzjq2022-01-25
| |/ /
* | | Merge pull request #17183 from notomo/expose-extmark-right-gravitybfredl2022-01-28
|\ \ \ | | | | | | | | feat(api): expose extmark right_gravity and end_right_gravity
| * | | feat(api): expose extmark right_gravity and end_right_gravitynotomo2022-01-24
| |/ /
* | | fix(completion): update submode message when selecting from API (#17022)zeertzjq2022-01-28
| | |
* | | Merge pull request #17102 from zeertzjq/vim-8.2.1762bfredl2022-01-27
|\ \ \ | |/ / |/| | vim-patch:8.2.1762: when a timer uses :stopinsert completion isn't stopped
| * | vim-patch:8.2.1762: when a timer uses :stopinsert completion isn't stoppedzeertzjq2022-01-15
| | | | | | | | | | | | | | | | | | | | | Problem: When a timer uses :stopinsert Insert mode completion isn't stopped. (Stanley Chan) Solution: Call ins_compl_prep(ESC). https://github.com/vim/vim/commit/d0e1b7103c14eb0d175c6b245b4b6ed93a204da9
* | | Merge pull request #16936 from zeertzjq/no-escape-csibfredl2022-01-21
|\ \ \ | | | | | | | | input: never escape CSI bytes and clean up related names and comments
| * | | fix(input): never escape CSI byteszeertzjq2022-01-21
| |/ /
* / / feat(api): expose extmark more detailsnotomo2022-01-20
|/ /
* / feat(completion): support selecting item via API from Lua mappingzeertzjq2022-01-11
|/