Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | docs: fix typos (#20394) | dundargoc | 2022-09-30 |
| | | | | | Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com> | ||
* | fix(window): close floats first when closing buffer in other tab (#20284) | zeertzjq | 2022-09-22 |
| | |||
* | fix(redraw): avoid unnecessary redraws and glitches with floats+messages | bfredl | 2022-09-22 |
| | | | | | fixes #20106 fixes #20229 | ||
* | fix(options): properly free string options (#19510) | zeertzjq | 2022-07-27 |
| | |||
* | test(float_spec): make indent more consistent | zeertzjq | 2022-07-10 |
| | |||
* | fix(float): fix mouse drag position if float window turned to a split | zeertzjq | 2022-07-10 |
| | |||
* | fix(float): fix glitch when making float window with border a split | zeertzjq | 2022-07-10 |
| | |||
* | fix(float): fix float window with winbar cannot have screen height | zeertzjq | 2022-07-10 |
| | |||
* | fix(float): fix float window border drawing with winbar | zeertzjq | 2022-07-10 |
| | |||
* | feat: add preview functionality to user commands | Famiu Haque | 2022-05-31 |
| | | | | Adds a Lua-only `preview` flag to user commands which allows the command to be incrementally previewed like `:substitute` when 'inccommand' is set. | ||
* | fix(mouse): fix mouse drag position with winbar or border in multigrid | zeertzjq | 2022-05-19 |
| | |||
* | fix(ui): make winbar work with floats and multigrid | bfredl | 2022-05-18 |
| | |||
* | refactor(ui)!: link `VertSplit` to `Normal` by default | Famiu Haque | 2022-05-15 |
| | | | | | Avoids using `gui=reverse` on `VertSplit` and makes window separators look much nicer by default. | ||
* | test: correct order of arguments to eq() and neq() | zeertzjq | 2022-04-26 |
| | |||
* | fix(float): do not switch window before deleting last listed buffer (#17840) | zeertzjq | 2022-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) | zeertzjq | 2022-03-24 |
| | |||
* | test: add test for deleting last listed buffer when there are floats (#17833) | zeertzjq | 2022-03-24 |
| | |||
* | fix(float): make laststatus=1 behave consistently with floating windows | zeertzjq | 2022-03-23 |
| | |||
* | fix(float): handle buffer deletion with floating windows | zeertzjq | 2022-03-23 |
| | |||
* | fix(win_close): count the window the be closed instead of curwin | zeertzjq | 2022-03-23 |
| | |||
* | fix: close floating windows when calling win_close() | Rom Grk | 2022-02-10 |
| | |||
* | fix(float): skip non-focusable windows for :windo (#15378) | Daniel Steinberg | 2021-11-11 |
| | |||
* | fix(float): redraw if w_border_adj changed | zeertzjq | 2021-10-28 |
| | |||
* | fix(float): fix potential heap corruption in win_redr_border | zeertzjq | 2021-10-28 |
| | |||
* | fix(mouse): correct dragged position in composed layout | Björn Linse | 2021-10-04 |
| | |||
* | Merge pull request #15516 from bfredl/keyset | Björn Linse | 2021-10-03 |
|\ | | | | | refactor(api): Represent option dicts as a structs in C and reduce conversion overhead from lua | ||
| * | refactor(api): handle option dicts properly | Björn Linse | 2021-10-03 |
| | | | | | | | | | | | | | | Do not copy a lot of lua strings (dict keys) to just strequal() them Just compare them directly to a dedicated hash function. feat(generators): HASHY McHASHFACE | ||
* | | fix(nvim_open_win): crash if autocmds delete buffer/window #15549 | Sean Dewar | 2021-10-02 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | win_set_buf can trigger autocmds if noautocmd=false. If they close the window, code afterwards will dereference the freed win_T* wp pointer. This interaction became possible after commit 1def3d1542d6a65f057e743faea39a760b50db87. The reason deleting curbuf crashes, and not the buf passed to `nvim_open_win`, is because the float initially edits curbuf (`win_init`) until it's later set to edit buf (windows from `:new` and `:split <buf>` behave similiarly: approx. `:split`, then `:buffer <buf>`). `do_buffer` closes windows when their edited buffer is deleted (unless it's the only window; N/A for floats), so the float closes when curbuf is deleted, so we need to check `win_valid` after `win_set_buf` too. Closes #15548 | ||
* | | fix(float)!: always anchor to corner of window including border #15832 | zeertzjq | 2021-10-02 |
|/ | | | | | | | | | | N, W, S, E are all inclusive, i.e., always anchor to the exact corner of the window (including border). This line may also need change in this case (change 0 to -1): This is most consistent and easiest to reason about, especially with GUIs whose border do not need to have width/height of 1/1 in cell units. Fix #15789 | ||
* | Merge pull request #14770 from andrew-pa/fix13403 | Björn Linse | 2021-09-12 |
|\ | | | | | Fix relative float positioning | ||
| * | fix(windowing): positioning of relative floats | andrew-pa | 2021-09-08 |
| | | | | | | | | | | | | Fix relative floating windows so that they open in the correct position relative to each other. Also make sure that their positions are correct immediately after creation without a redraw. | ||
* | | feat(api): win_viewport also sends line_count #15613 | Yatao Li | 2021-09-10 |
| | | |||
* | | refactor(tests): use assert_alive() #15546 | Justin M. Keyes | 2021-09-01 |
| | | |||
* | | test: update tests to work with 'hidden' | Gregory Anders | 2021-08-18 |
| | | |||
* | | fix(sign): reset auto sign column with minimum in float win minimal style | Sirisak Lueangsaksri | 2021-08-09 |
| | | |||
* | | fix(api/win_get_config): include z-index | Sean Dewar | 2021-06-19 |
| | | |||
* | | feat(float): add rounded borders preset | Christian Clason | 2021-06-14 |
| | | | | | | | | | | | | | | | | Add `borders = "rounded"` preset for `nvim_open_win`, equivalent to border = {"╭", "─", "╮", "│", "╯", "─", "╰", "│"} Also add undocumented "solid" preset to docs. | ||
* | | fix(ui): Fix pum incorrect position in multigrid mode | Serg Tereshchenko | 2021-06-12 |
|/ | | | | Refs #12985 | ||
* | Merge pull request #14468 from bfredl/zindex | Björn Linse | 2021-05-15 |
|\ | | | | | [WIP] z-index! | ||
| * | floats: z-index | Björn Linse | 2021-05-15 |
| | | |||
* | | vim-patch:8.1.1967: line() only works for the current window | Jan Edmund Lazo | 2021-05-12 |
|/ | | | | | | Problem: Line() only works for the current window. Solution: Add an optional argument for the window to use. https://github.com/vim/vim/commit/8e0a8e7eb7c177807f44db6b76d8e52314248ab5 | ||
* | Merge pull request #13664 from ivechan/win_exectute | Jan Edmund Lazo | 2021-05-07 |
|\ | | | | | vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340} | ||
| * | vim-patch:8.1.1418: win_execute() is not implemented yet | jing | 2021-05-06 |
| | | | | | | | | | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it. https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d | ||
* | | Merge pull request #14483 from mjlbach/floating_window_border_fix | Björn Linse | 2021-05-05 |
|\ \ | | | | | | | window.c: fix floating window border width calculation | ||
| * | | tests: floating windows terminate border on edge of viewport when window ↵ | Michael Lingelbach | 2021-05-04 |
| |/ | | | | | | | extends past viewport | ||
* / | ui_compositior: handle multiple displayed floats in the same tick | Björn Linse | 2021-04-26 |
|/ | | | | | problem: the order of non-focuesed float opened before focused float is wrong (sunjon) solution: check curwin and correct the order (bfredl) | ||
* | float: add "solid" border style (#14310) | Marco Hinz | 2021-04-12 |
| | | | | | | It looks solid with the default `FloatBorder` group. If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you effectively get an "1-cell padding". | ||
* | Border: allow to enable/disable specific border edges | Björn Linse | 2021-04-04 |
| | |||
* | floats: handle interaction with popupmenu and border correctly | Björn Linse | 2021-03-25 |
| | |||
* | floats: add borders (MS-DOS MODE) | Björn Linse | 2021-03-22 |
| |