emmanueltouzery
3c38ac861e
fix: stuck input control if callback fails ( #158 )
2024-05-22 13:48:25 -07:00
Steven Arcangeli
9de702fa7d
fix: queue successive calls to input and select ( #139 )
2024-01-21 14:24:20 -08:00
Steven Arcangeli
154f22393b
fix: stop using vim.wo to set window options
...
vim.wo also affects the global status of the option. We only want to set
the window-local option.
2023-06-15 21:52:50 -07:00
Steven Arcangeli
f16d7586fc
fix: close input window when entering cmdline window ( #99 )
2023-06-02 12:09:51 -07:00
Steven Arcangeli
80dadc9c46
refactor: use modern option setter/getter methods
2023-05-21 20:29:43 -07:00
Steven Arcangeli
55fd604006
fix: sanitize newlines in entries and prompts ( #88 )
2023-02-23 22:03:55 -08:00
Steven Arcangeli
232b6b3021
fix: only schedule_wrap when necessary ( #58 )
2022-08-28 10:18:01 -07:00
Steven Arcangeli
be2ef16ddb
fix: change default cursor-relative row/col to 0/0
...
Since the default anchor is SW, the previous default of 1/1 lead to the
text under the cursor being occluded.
2022-08-28 10:04:57 -07:00
Steven Arcangeli
1e529b8cdb
feat!: more layout options for input and builtin select ( #19 )
...
Removed the row & col options for input and select.builtin. If you want
to tweak the values sent to nvim_open_win, use the `override` function.
Changes:
* min_width/height and max_width/height can be a list of values. Useful
for mixing raw integers (e.g. for cols) and floats (e.g. for % of
total)
* can specify an exact width or height for the windows
* when using relative = 'win' or 'editor', the row & col will by default
be calculated to center the floating win
2022-03-02 09:24:06 -08:00
Steven Arcangeli
8e8f7e5259
fix: replace defer_fn hack with redraw hack ( #18 )
2022-02-02 15:56:47 -08:00
Steven Arcangeli
264874eb7b
feat: add FloatTitle highlight group ( #8 )
2021-12-18 12:18:54 -08:00
Steven Arcangeli
26ce743306
refactor: extract common logic for adding window title
2021-12-18 12:18:10 -08:00
Steven Arcangeli
7f6cf7fb80
Initial commit
2021-12-02 19:30:27 -08:00