zeertzjq
bb7853a62d
test(mksession_spec): use %bwipeout! instead of qall! to close terminal ( #19465 )
...
Avoid expect_exit, session will be closed when a new one is spawned.
2022-07-22 12:59:34 +08:00
zeertzjq
8af3d641da
fix(grid): don't use utfc_ptr2char_len() when printing until NUL ( #19456 )
2022-07-22 06:41:51 +08:00
zeertzjq
c15e9d3746
fix(mark): give correct error message when mark is in another buffer ( #19454 )
2022-07-21 17:42:17 +08:00
bfredl
598cbcae4a
Merge pull request #19445 from famiu/fix/local_winbar_tabs
...
fix: local winbar with tabs
2022-07-20 16:57:38 +02:00
Famiu Haque
9879fd5d08
fix: local winbar with tabs
...
Closes #19396
2022-07-20 20:32:22 +06:00
Lewis Russell
559ef3e903
feat(lua): allow vim.cmd to be indexed ( #19238 )
2022-07-20 12:29:24 +01:00
zeertzjq
72dfd57e5f
test: deal with RPC call causing Nvim to exit later
2022-07-19 19:41:07 +08:00
zeertzjq
366e90cdc8
test: avoid timing-sensitive undo message
2022-07-19 19:41:07 +08:00
bfredl
101fd04ee2
Merge pull request #19409 from bfredl/uiunpack
...
perf(ui): some ui_client fixes/optimizations before externalized TUI
2022-07-19 13:08:11 +02:00
zeertzjq
7b835ba796
vim-patch:8.2.1147 ( #19425 )
...
vim-patch:8.2.1147: :confirm may happen in cooked mode
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
27321dbeed
Code is N/A, but this improves tests. Port the improved tests to Lua.
2022-07-19 13:00:22 +08:00
JP
1a655b71a8
fix(lua): make it possible to cancel vim.wait() with Ctrl-C ( #19217 )
2022-07-19 09:11:13 +08:00
Munif Tanjim
a80d447b47
fix(mouse): click on global statusline with splits ( #19390 )
2022-07-19 06:35:04 +08:00
Enan Ajmain
3340728c72
fix(powershell): filter ":!" commands with args #19268
...
Problem:
Since 0b9664f524
powershell filtered
:[range]! commands with args causes error:
"Start-Process: A positional parameter cannot be found that accepts argument ..."
Solution:
Pass args to Start-Process via `-ArgumentList`.
closes #19250
2022-07-18 13:26:09 -07:00
bfredl
be3d2f5125
perf(ui): avoid ui_flush() work in headless mode
2022-07-18 14:08:44 +02:00
bfredl
45bee1dafd
perf(ui): eliminate spurious memory allocations for hl_attr_define event
2022-07-18 14:08:44 +02:00
Enan Ajmain
1b462705d0
fix(windows):exepath, stdpath return wrong slashes #19111
...
exepath and stdpath should respect shellslash and return path with
proper file separator.
Closes #13787
2022-07-17 17:00:08 -07:00
ii14
13abe20b5f
refactor(lsp): use autocmd api ( #19407 )
...
* refactor(lsp): use autocmd api
* refactor(lsp): inline BufWritePost and VimLeavePre callbacks
2022-07-17 19:13:33 +02:00
matveyt
eb9b93b5e0
feat(defaults): mouse=nvi #19290
...
Problem:
Since right-click can now show a popup menu, we can provide messaging to
guide users who expect 'mouse' to be disabled by default. So 'mouse' can
now be enabled by default.
Solution:
Do it.
Closes #15521
2022-07-17 04:14:04 -07:00
zeertzjq
9f837a5dcf
fix(api): fix nvim_parse_cmd interfere with printing line in Ex mode ( #19400 )
2022-07-17 09:59:32 +08:00
James McCoy
08a50f6690
Merge pull request #19395 from jamessan/flaky-job-test
...
test(job_spec): accept alternate messages for "append environment" tests
2022-07-16 21:24:06 -04:00
James McCoy
bcb5b7b3f6
test(job_spec): accept alternate messages for "append environment" tests
...
These tests commonly fail in Debian with
[ ERROR ] test/functional/core/job_spec.lua @ 81: jobs append environment with pty #env
test/functional/helpers.lua:198:
==============================================================================
test/helpers.lua:73: Expected objects to be the same.
Passed in:
(table: 0x2aa4bcc1040) {
*[1] = {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'hello world abc' } } } }
Expected:
(table: 0x2aa4bcc0d70) {
*[1] = {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'hello world abc'
*[2] = '' } } } }
Since the test is validating the "hello world abc" message, not the
newlines, accept either set of message sequences.
2022-07-16 14:08:27 -04:00
zeertzjq
0cfd4fa8f3
vim-patch:8.2.2643: various code not covered by tests
...
Problem: Various code not covered by tests.
Solution: Add a few more test. (Yegappan Lakshmanan, closes vim/vim#7995 )
1f448d906b
Cherry-pick some test_edit.vim changes from patches 8.2.{1022,1432}.
Reorder test_undo.vim to match upstream.
2022-07-16 22:46:54 +08:00
zeertzjq
780edfc0eb
vim-patch:8.2.2608: character input not fully tested
...
Problem: Character input not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7963 )
f4fcedc59d
Cherry-pick related changes from patches 8.2.{0433,0866}.
2022-07-16 21:55:27 +08:00
zeertzjq
bc73795a58
vim-patch:8.2.0198: no tests for y/n prompt
...
Problem: No tests for y/n prompt.
Solution: Add tests. (Dominique Pelle, closes vim/vim#5564 )
43c60eda2a
2022-07-16 21:32:25 +08:00
zeertzjq
f7c6676199
vim-patch:8.2.0052: more-prompt not properly tested
...
Problem: More-prompt not properly tested.
Solution: Add a test case. (Dominique Pelle, closes vim/vim#5404 )
c6d539b671
2022-07-16 21:32:25 +08:00
zeertzjq
711a6a9157
fix(ex_cmds): correct flags for :const ( #19387 )
2022-07-16 14:54:31 +08:00
zeertzjq
73526abbbd
fix(api): do not switch win/buf if getting option in current win/buf ( #19383 )
2022-07-16 09:31:05 +08:00
zeertzjq
33da7d83e8
fix(pum): make right drag in anchor grid to select work in multigrid UI ( #19382 )
2022-07-16 08:26:40 +08:00
Natasha England-Elbro
86f0da922f
fix: remote UI may get invalid 'pumblend' value #19379
...
fixes: https://github.com/neovim/neovim/issues/19340
2022-07-15 10:42:01 -07:00
Famiu Haque
6645f59832
fix: right-click in clickable statusline #19252
...
Problem:
1. Right-click does not work in statusline unless you left-click first (to focus
the statusline).
2. Modifier (e.g. shift+rightclick) does not work in statusline.
Solution:
Make clickable statusline sections receive right-clicks regardless of whether
the statusline is focused.
Closes #18994
2022-07-15 09:15:02 -07:00
zeertzjq
827906136d
test: improve searchhl tests
2022-07-15 19:38:13 +08:00
zeertzjq
465b73c3a5
vim-patch:8.2.0482: channel and sandbox code not sufficiently tested
...
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5855 )
ca68ae1311
Cherry-pick test_clientserver.vim changes form patch 8.2.0448.
2022-07-15 10:50:21 +08:00
zeertzjq
8730643326
fix(winbar): make setting WinBar and WinBarNC in 'winhighlight' work
2022-07-15 09:22:57 +08:00
zeertzjq
b93cb481a2
feat(eval)!: input() support any type for "cancelreturn" in a dict ( #19357 )
2022-07-14 14:47:25 +08:00
zeertzjq
c01690b1ea
fix(exmode): flush messages before printing a line after pressing Enter ( #19341 )
2022-07-13 09:06:31 +08:00
zeertzjq
4aa4675fbf
vim-patch:8.2.0293: various Ex commands not sufficiently tested
...
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5673 )
818fc9ad14
Needs to assert E170 instead of E580 because patch 8.2.3486 has been
ported but patch 8.2.1183 hasn't.
2022-07-12 16:23:32 +08:00
zeertzjq
01afd43bc9
vim-patch:8.2.0275: some Ex code not covered by tests
...
Problem: Some Ex code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5659 )
406cd90f19
2022-07-12 16:23:32 +08:00
zeertzjq
1abdb3224b
vim-patch:8.2.2732: prompt for s///c in Ex mode can be wrong
...
Problem: Prompt for s///c in Ex mode can be wrong.
Solution: Position the cursor before showing the prompt. (closes vim/vim#8073 )
e5b0b98a90
2022-07-12 14:08:34 +08:00
zeertzjq
d079995fb8
vim-patch:8.2.0270: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649 )
bc2b71d44a
2022-07-12 14:08:34 +08:00
zeertzjq
53392f48b1
vim-patch:8.2.0203: :helptags and some other functionality not tested
...
Problem: :helptags and some other functionality not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5567 )
e20b9ececa
2022-07-12 11:52:47 +08:00
zeertzjq
27fd17a79c
vim-patch:8.2.0243: insufficient code coverage for ex_docmd.c functions
...
Problem: Insufficient code coverage for ex_docmd.c functions.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5618 )
9f6277bdde
Cherry-pick Test_window_only() from patch 8.2.0203.
Cherry-pick a memory leak fix from patch 8.2.0399.
2022-07-12 05:36:33 +08:00
zeertzjq
5105f713bd
test(float_spec): make indent more consistent
2022-07-10 17:24:29 +08:00
zeertzjq
63f6ecd419
fix(float): fix mouse drag position if float window turned to a split
2022-07-10 17:24:29 +08:00
zeertzjq
63f63dd2b7
fix(float): fix glitch when making float window with border a split
2022-07-10 17:24:29 +08:00
zeertzjq
99e8298711
fix(float): fix float window with winbar cannot have screen height
2022-07-10 17:24:29 +08:00
zeertzjq
f7d6f472f7
fix(float): fix float window border drawing with winbar
2022-07-10 17:24:29 +08:00
Justin M. Keyes
eb9155e557
Merge #19267 require() in --startuptime
2022-07-10 01:04:11 +02:00
Justin M. Keyes
797007997c
test: --startuptime
2022-07-09 15:45:02 -07:00
zeertzjq
a6803f3adf
test: add a test for what Vim patch 8.2.0151 fixes
2022-07-08 14:18:16 +08:00
zeertzjq
4cded8cec1
Merge pull request #19180 from zeertzjq/tui-kitty-keypad
...
feat(tui): recognize keypad keys when using kitty keyboard protocol
2022-07-07 07:42:22 +08:00