Sina Salahshour
b58e2bfda5
docs(input): fix typo
...
variable name changed from 'split' to 'input'
2024-09-15 11:05:28 +06:00
Munif Tanjim
61574ce6e6
fix(layout): handle if child.grow results in height <= 0
2024-06-26 10:14:14 +06:00
Munif Tanjim
a2bc1e9d03
feat(popup): use same zindex for border
2024-06-23 09:50:33 +06:00
Munif Tanjim
322978c734
fix(input): mounting multiple inputs together
2024-06-05 09:42:21 +06:00
Yi Ming
b1b3dcd6ed
refactor: avoid using the deprecated vim.tbl_islist
2024-05-18 14:08:34 +06:00
Marcin
a3597dc88b
fix(input): cursor position patch w/ relative=editor
2024-05-06 16:25:23 +06:00
Munif Tanjim
274fa89a9b
test: detect stack traceback in logs
2024-05-04 11:43:07 +06:00
Munif Tanjim
42e47565ec
fix(layout): immediate hide/unmount after mounting
2024-05-04 11:43:07 +06:00
Munif Tanjim
b18316d505
fix(input): cursor position patch w/ relative=cursor
2024-05-04 10:26:33 +06:00
Munif Tanjim
cbd2668414
fix(popup): mimic native 'solid' border
...
for previous behavior:
```lua
border = {
style = { "▛", "▀", "▜", "▐", "▟", "▄", "▙", "▌" },
},
```
2024-03-18 11:33:52 +06:00
takuto
3dc46d725f
fix(popup): always use current window for relative=cursor
2024-03-12 12:16:55 +06:00
takuto
fc59553b5a
fix(layout): enable nested flag for WinClosed autocmd
2024-03-12 10:43:49 +06:00
Dan Sully
756c59f460
docs: fix typos
2024-03-06 11:44:13 +06:00
Munif Tanjim
fbb139c6f1
fix(input): ignore 'keymap' for feeding default value
2024-03-04 11:36:06 +06:00
Munif Tanjim
b81333d12f
feat(table): expose NuiTable.Cell.range
2024-03-02 15:21:13 +06:00
Munif Tanjim
87942848c9
feat(table): accept param 'position' for method 'get_cell'
2024-03-02 15:21:13 +06:00
Munif Tanjim
1b24de4778
fix(layout): starting current position for nested boxes
2024-03-02 13:03:43 +06:00
Munif Tanjim
c3c7fd618d
docs(split): fix incorrect type annotations
2024-02-17 02:25:18 +06:00
github-actions[bot]
a0fd35fcbb
chore: release 0.3.0
2024-02-17 02:19:19 +06:00
Munif Tanjim
7da355e699
docs: fix incorrect type annotations
2024-02-17 02:11:43 +06:00
pysan3
af8ddf5db7
fix(split): for relative=editor always split from current window
2024-02-17 01:50:35 +06:00
takuto
af7dfee12f
fix(split): manual doautocmd BufWinEnter
...
ref: https://github.com/MunifTanjim/nui.nvim/pull/197
2024-02-15 11:01:17 +06:00
takuto
e561ac56c7
test: fix broken win config usage by upstream change
...
`vim.api.nvim_win_get_config` used to return a dict of numbers to
represent a vim float number for `row` and `col` fields.
This behavior was fixed in https://github.com/neovim/neovim/pull/27284
as a **breaking change** to the old API without any notice.
Now user can refer to the value of `config.row` without indexing
like `config.row[vim.val_idx]`.
2024-02-15 10:53:13 +06:00
Munif Tanjim
35da9ca1de
feat: support decimal number in (0,1) range as size
2024-01-05 05:32:13 +06:00
Collin Dutter
80445d015d
fix(input): skip cursor position patch for hidden input
2023-12-28 11:34:45 +06:00
Munif Tanjim
cbfb97c443
test(menu): usage with layout
2023-12-28 10:28:02 +06:00
Collin Dutter
49182fae69
fix(menu): defer execution of make_default_prepare_node
2023-12-28 10:28:02 +06:00
Munif Tanjim
c9b4de623d
fix(popup): support border:set_text before layout mount
2023-12-06 12:55:51 +06:00
Munif Tanjim
abb0662785
fix(menu): set default zindex higher than popup
2023-12-06 12:25:30 +06:00
Munif Tanjim
1d044afde8
test: tweak setup
2023-12-03 07:19:08 +06:00
Munif Tanjim
257dccc43b
fix(popup): use popup winblend for border
2023-11-26 22:43:50 +06:00
Munif Tanjim
c1627d07db
feat(layout): method 'show' mounts if not already mounted
2023-11-26 22:30:31 +06:00
Munif Tanjim
43f7605f86
feat(split): method 'show' mounts if not already mounted
2023-11-26 22:30:31 +06:00
Munif Tanjim
ecd77d8b5d
feat(popup): method 'show' mounts if not already mounted
2023-11-26 22:30:31 +06:00
Munif Tanjim
401a7c65bf
feat(utils): replace deprecated api to set option
2023-11-25 03:36:04 +06:00
Munif Tanjim
c0c8e347ce
fix(input): check mounted state in mount/unmount method
2023-10-09 10:11:01 +06:00
Munif Tanjim
c8de23342c
docs(layout): update example for box nesting
2023-09-06 14:28:28 +06:00
Munif Tanjim
6f94063553
docs(layout): add docs for split layout
2023-09-06 14:28:28 +06:00
Folke Lemaitre
aa1b4c1e05
fix(popup): make sure border buf is modifiable
2023-08-30 00:19:38 +06:00
Munif Tanjim
0f913a3ae1
feat(tree): allow node:expand with zero child
2023-08-27 16:25:25 +06:00
github-actions[bot]
9e3916e784
chore: release 0.2.0
2023-07-20 10:45:09 +06:00
Munif Tanjim
d146966a42
refactor(menu): do not use tree internals
2023-06-18 22:54:14 +06:00
Munif Tanjim
e319f2554d
fix(input): unmount race condition
2023-06-16 16:50:07 +06:00
Munif Tanjim
e916f67b6b
ci: replace deprecated set-output command
2023-06-14 22:42:56 +06:00
Munif Tanjim
01945bde2c
ci: update actions versions
2023-06-14 22:42:56 +06:00
Munif Tanjim
799be59b33
ci: update stylua to 0.17.1
2023-06-14 22:42:56 +06:00
Munif Tanjim
f080caae8f
refactor(table): cleanup and housekeeping
2023-06-14 22:18:44 +06:00
Munif Tanjim
72b24ab29c
refactor(input): store on_change in internal
2023-06-14 20:41:43 +06:00
Munif Tanjim
d8700a143a
refactor(input): add noop value for on_close and on_submit
2023-06-14 20:41:43 +06:00
Munif Tanjim
1f5c860165
refactor(input): move on_submit logic into :unmount
2023-06-14 20:41:43 +06:00