Jan Edmund Lazo
795da343bb
test: win: emulate yes with for loop
2018-02-19 07:10:46 -05:00
Jan Edmund Lazo
07dfe0f5ea
test: win: enable ui/wildmode_spec.lua
2018-02-19 07:10:46 -05:00
Jan Edmund Lazo
8dcfd58e2c
test: win: enable termclose_spec.lua
2018-02-19 07:10:46 -05:00
Jan Edmund Lazo
d80bf3c656
test: enable ex_cmds/cd_spec.lua on Windows
2018-02-19 07:10:46 -05:00
Jan Edmund Lazo
df99ab461e
test: enable legacy/fixeol_spec in Windows
...
Try nvim's delete() for cross-platform file remove in Windows
2018-02-19 07:10:45 -05:00
Jan Edmund Lazo
55ce6bfffb
test: enable ex_cmds/write_spec.lua in Windows
2018-02-19 07:10:45 -05:00
Jan Edmund Lazo
6beb7ee77a
win: enable legacy test 051
2018-02-19 07:10:44 -05:00
Jan Edmund Lazo
f1e6828b7b
win: enable legacy test 059
2018-02-19 07:10:44 -05:00
Jan Edmund Lazo
2943056f75
win: enable legacy test 107
2018-02-19 07:10:44 -05:00
Jan Edmund Lazo
44dc8b4753
win: enable legacy test 093
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
10fbae086a
win: enable legacy/arglist_spec.lua
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
18a53b6502
win: enable legacy test 30
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
c5a7f451ce
win: enable legacy/getcwd_spec.lua
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
3c0cc9c2fb
win: enable legacy/wordcount_spec.lua
2018-02-19 07:10:43 -05:00
Jan Edmund Lazo
e55de56a99
win: enable legacy/packadd_spec.lua
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
f4d82c1438
win: enable legacy test 011
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
4f65cd7c0a
win: enable legacy/delete_spec.lua
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
bde32edefe
win: enable legacy test 097
2018-02-19 07:10:42 -05:00
Jan Edmund Lazo
0fd899aa07
win: enable legacy test 025
2018-02-19 07:10:41 -05:00
Jan Edmund Lazo
3e19e18f4c
win: enable job tests that use jobstart only
...
- echo "" does not hang in powershell
- cmd.exe's echo command does not hang.
- job tests default to powershell (WHY?)
- wait 5 seconds for powershell to create an empty file
- powershell is slow
- cannot reliably validate the id returned by jobstart via jobpid, jobstop
- if using cmd.exe, waiting for a second should be enough
- remaining job tests are unreliable in Windows because any build can pass/fail
for same conditions without changes, especially if the error is in stderr
2018-02-19 07:10:41 -05:00
Shougo
00665d3c70
vim-patch:8.0.1493: completion items cannot be annotated ( #8003 )
...
Problem: Completion items cannot be annotated.
Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
coses vim/vim#2608 , closes vim/vim#2508 )
9b56a57cda
2018-02-18 23:56:59 +01:00
Justin M. Keyes
7973847d02
test/util: remove eq_any()
...
It was added in the parent commit, but ended up not being used. And
I can't think of a case where it will be used: instead we would probably
want to generalize expect_msg_seq() if necessary.
2018-02-18 19:22:44 +01:00
Justin M. Keyes
e72ecdb7ca
test/util: expect_msg_seq()
...
job_spec.lua on AppVeyor (Windows) often fails like this:
FAILED ] C:/projects/neovim/test/functional\core\job_spec.lua @ 72: jobs changes to given `cwd` directory
C:/projects/neovim/test/functional\core\job_spec.lua:81: Expected objects to be the same.
Passed in:
(table) {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0' } } }
Expected:
(table) {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0'
*[2] = '' } } }
stack traceback:
Message chunking is non-deterministic, so we need to try different
variants.
2018-02-18 19:19:03 +01:00
Nimit Bhardwaj
e9134421ab
vim-patch-8.0.0649 and vim-patch-8.0.0650: autocmd open help 2 times
2018-02-17 00:02:16 +05:30
Björn Linse
77286915a8
Merge pull request #8008 from bfredl/arrayfree
...
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:23:11 +01:00
Björn Linse
d9497053e8
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:20:28 +01:00
Björn Linse
6e5cb0debd
ui: refactor ui options
2018-02-13 20:48:51 +01:00
Justin M. Keyes
0f1bc5ddce
test/python: less-noisy Python skip-message
...
Developer can use :checkhealth to get more details, don't need to blast
the details in the skip-message every time.
2018-02-12 13:24:48 +01:00
Justin M. Keyes
9bf9cc69c1
test/arglist_spec: update to Vim 8.0.0721 behavior
2018-02-11 19:03:28 +01:00
Justin M. Keyes
4b7f7be301
test: port Test_edit_08() to Lua test
...
Test_edit_08() depends on special-case handling in has_compl_option()
and redrawing() which are in Vim but are not wanted in Nvim. Using a Lua
test instead of depending on workarounds in the core to make the VimL
test work.
2018-02-11 19:03:27 +01:00
Justin M. Keyes
7d12597d29
vim-patch:8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction
...
Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
(Ramel Eshed)
Solution: Adjust search_start. (Christian Brabandt)
da5116da45
2018-02-11 15:27:56 +01:00
Justin M. Keyes
2cfc1b055b
Merge #7939 "fix crash: 'spell' and long lines"
2018-02-11 13:04:39 +01:00
Justin M. Keyes
ed0d135247
Merge #7939 "fix crash: 'spell' and long lines"
...
closes #7937
2018-02-11 13:03:24 +01:00
Björn Linse
5d8da126d0
ui/tui: highlighting refactor
...
Make HlAttr contain highlighting state for both color modes (cterm and rgb).
This allows us to implement termguicolors completely in the TUI.
Simplify some logic duplicated between ui.c and screen.c. Also avoid
some superfluous highlighting reset events.
2018-02-11 10:29:32 +01:00
Jan Edmund Lazo
c03a847884
win: enable backtick_expansion and shell output tests
2018-02-10 22:28:12 +01:00
Björn Linse
f75c4b39ec
shell: handle split-up UTF-8 sequences
2018-02-10 22:28:12 +01:00
Björn Linse
01cdeff626
tests: integrate ex_cmds/bang_filter_spec into ui/output_spec
...
they test the same thing. Filtering is tested elsewhere.
2018-02-10 22:28:12 +01:00
Björn Linse
60ce7d9e0a
shell: support bell
2018-02-10 22:28:12 +01:00
Justin M. Keyes
a265334406
defaults: sidescroll=1
...
ref #6289
2018-02-09 02:15:25 +01:00
Michael Brailsford
a6136e8b0b
screen.c: resolve neovim issue #7937
2018-02-07 13:46:37 -06:00
Justin M. Keyes
352a51e831
test: :! print binary data, control chars
...
closes #5442
closes #4142
ref #6618
ref #4376
ref #7844
ref #2958
ref #4338
2018-02-07 09:25:51 +01:00
Justin M. Keyes
d73dd1588c
:terminal Enter/Leave should not increment jumplist
...
The old behavior is probably not justified, for the usual reason:
terminal buffers may have interactive processes, so cursor placement is
arbitrary, therefore tracking it in the jumplist is useless (or worse).
N.B.: per the docstring for `checkpcmark()` it looks like we were
calling `checkpcmark()` and `setpcmark()` in the wrong order.
closes #3723
2018-02-07 00:01:58 +01:00
Björn Linse
6744f48d88
tests: cleanup bufhl test
2018-02-06 20:16:38 +01:00
Björn Linse
4e7d85e635
shell: update execute('!cmd')
test to new behavior
...
And similarly nvim_command_output test
2018-02-06 20:16:38 +01:00
Björn Linse
9af14506e5
shell: add test for binary and multibyte output
...
Also update existing tests for new (vim-compatible) newline behavior
2018-02-06 10:23:26 +01:00
James McCoy
de10ea55f3
lint
2018-02-03 22:19:08 -05:00
ZyX
2316a38dd1
tests: Make format_string('%q', ...) output more stable
...
It appears to be different on lua and luajit.
2018-02-02 07:28:56 -05:00
ZyX
a2dfeb8a16
functests: Improve error reporting in _check_parsing function
...
May be needed for unit tests as well though.
2018-02-02 07:28:56 -05:00
James McCoy
e243dbdc32
test: man_spec: Fix use of nested [[ quoting
...
Lua (not LuaJIT) complains about the "^[[" strings inside the expect,
since it sees them as nested quotes. Change the quoting to [=[ ]=] to
avoid the issue.
2018-02-02 07:28:56 -05:00
Justin M. Keyes
709a87d194
Merge #7463 'incsearch + hlsearch highlight all'
2018-02-01 23:25:55 +01:00