ZyX
9ccb3abbb5
functests: Uncomment {REDRAW}
part of “works” test
2017-06-28 14:39:52 +03:00
ZyX
5e4976559a
functests: Partially uncomment <C-c> test
2017-06-28 14:34:12 +03:00
ZyX
0ed95423de
ex_getln: Call highlight callback inside :try
2017-06-28 14:26:23 +03:00
ZyX
493d250446
functests: Make “stops executing callback” test work
...
Needed to be adjusted to use input() (previously relied on side-effects of
executing `:cmd`) and dismiss something (hidden “Press ENTER” message?).
2017-06-28 13:58:51 +03:00
ZyX
36a84d8f4a
functests: Fix typo
2017-06-28 13:54:04 +03:00
James McCoy
91749c06dc
Merge pull request #6927 from jamessan/vim-7.4.2259
...
vim-patch:7.4.2259,7.4.2268,7.4.2318,7.4.2320
2017-06-27 03:19:01 +00:00
James McCoy
54d5e90a2b
vim-patch:7.4.2320
...
Problem: Redraw problem when using 'incsearch'.
Solution: Save the current view when deleting characters. (Christian
Brabandt) Fix that the '" mark is set in the wrong position. Don't
change the search start when using BS.
dda933d06c
2017-06-26 22:08:13 -04:00
James McCoy
0dd6455659
vim-patch:7.4.2268
...
Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys.
Solution: Use CTRL-T and CTRL-G instead.
1195669f9e
2017-06-26 22:08:11 -04:00
James McCoy
518b42db91
functests/legacy: Add lua version of test_search.vim
2017-06-26 22:07:28 -04:00
Justin M. Keyes
f34befe74c
Merge #6789 from ZyX-I/lua-path
...
lua: Add paths from &runtimepath to package.path and package.cpath
2017-06-27 02:29:15 +02:00
ZyX
edc2a7ee46
functests: Make tests work with input()
...
There are still some issues: specifically, new “pending” test hangs busted.
2017-06-27 02:15:49 +03:00
ZyX
8e5134784c
functests: Comment out failing test
2017-06-27 01:55:21 +03:00
ZyX
71616fce0b
functests: Abstract away some ways to enter cmdline coloring mode
...
Reason: should actually switch to using input() coloring because other coloring
variants are eventually going away.
2017-06-27 01:54:08 +03:00
ZyX
95fe5614a0
functests: Add missing wait()
2017-06-27 01:34:54 +03:00
ZyX
407abb3a6c
eval,ex_getln: Add support for coloring input() prompts
2017-06-27 01:34:54 +03:00
ZyX
d82741f8c0
ex_getln: Add some more tests, fix some found errors
2017-06-27 01:34:54 +03:00
ZyX
3d25200127
functests: Start adding some tests
2017-06-27 01:34:54 +03:00
ZyX
476c28f433
functests: Fix screen.lua supplying dedent additional argument
2017-06-21 10:58:47 +03:00
ZyX
ae457ff64a
functests: Check that minimal distance between commands works
2017-06-21 10:58:47 +03:00
ZyX
607dc3e0f9
functests: Add tests
2017-06-21 10:58:47 +03:00
ZyX
d5839770ee
functests: Refactor redir_exec
2017-06-20 18:17:47 +03:00
ZyX
e57d4eef88
functests: Move function_spec to eval
2017-06-20 18:17:47 +03:00
Björn Linse
16ae369474
screen.c: make more highlights window specific
2017-06-14 20:31:14 +02:00
HiPhish
9f534f338a
mksession: Restore tab-local working directory #6859
...
The ':tcd' command is the first tab-specific command written to the file
and it is wrapped inside an 'if has('nvim')' block to keep the session
file compatible with Vim.
Closes #6678
2017-06-11 15:51:53 +02:00
Justin M. Keyes
16cce1ac17
Merge #6827 'Always enable logging'
2017-06-07 23:19:02 +02:00
James McCoy
bf4de3f6f7
functests/msgpack: Correct representation of literal INT64_MIN
...
In order to generate INT64_MIN from literal values, it's necessary to
use "-0x7fffffffffffffff - 1". Using "-0x8000000000000000" causes the
value to get clamped to INT64_MAX and then negated.
2017-06-06 21:38:31 -04:00
James McCoy
d69286c065
functests/msgpack: Use assert_equal() for more informative errors
2017-06-06 21:38:30 -04:00
Justin M. Keyes
b4b09afabd
test: iswin(): detect without nvim session
2017-06-07 00:27:26 +02:00
Justin M. Keyes
d07661b9a3
log: Fall back to CWD-relative .nvimlog
...
If if the resolved $NVIM_LOG_FILE *and* stdpath("data")/log cannot be
created (e.g. because the XDG data directory does not exist), fall back
to .nvimlog in the current direcrtory.
2017-06-07 00:27:26 +02:00
Justin M. Keyes
bb96b8219d
log: set $NVIM_LOG_FILE; fallback to $XDG_DATA_HOME/nvim/log
2017-06-07 00:26:56 +02:00
Justin M. Keyes
698ec9eb6e
loop_close: Avoid infinite loop, and log it.
...
Avoids a hang, and also helps diagnose issues like:
https://github.com/neovim/neovim/pull/6594#issuecomment-298321826
2017-06-07 00:26:21 +02:00
James McCoy
d707b2a171
vim-patch:8.0.0478
...
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
37175409d7
2017-06-06 06:15:16 -04:00
Jonathan de Boyne Pollard
86d796656c
tui: Correct commentary on tmux colour tests.
2017-06-03 18:53:29 +01:00
Jonathan de Boyne Pollard
1c1231bf13
tui: Add built-in terminfo entry for VTE.
...
Also slightly refactor the way in which GNOME/MATE Terminal pretending to be
xterm is detected.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
5377de33ac
tui: Add st to the always 256-colour capable list.
...
Also comment and augment some terminal colour tests.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
3f8dedd7ae
tui: Correct a copy and paste error in stterm tests.
...
The test decsription was correct; the test was not.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
8f60395dd1
tui: Update colour tests some more.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
e6cbb01b55
tui: Update colour tests.
2017-06-03 18:53:28 +01:00
Jonathan de Boyne Pollard
838277e28a
test: fix bashisms ( #6791 )
2017-06-01 00:46:00 +02:00
Justin M. Keyes
133f8bc628
Merge #4700 from AdnoC/keep-default-register
2017-05-31 23:43:40 +02:00
AdnoC
5908f562df
test: Fix and add cases for unnamed register
...
Also:
Add ru to shada tests with all keys
Add test for unset unnamed and register 0
2017-05-31 13:31:05 -04:00
AdnoC
beca4dc16c
eval/shada: Add testing for unnamed register with setreg and startup
2017-05-31 13:19:08 -04:00
Matthew Malcomson
033b1cb7d9
'pastetoggle': Revert support for multi-key value ( #6724 )
...
Reverts commit 337b6179df
Closes #6716 at the expense of not being able to use a
multi-key 'pastetoggle' manually.
Multi-key 'pastetoggle' can still be used when inserting the entire
option into the typebuffer at once (though the use here is
questionable).
Also remove those tests to do with waiting for the completion of
'pastetoggle' and mention in the documentation that 'pastetoggle'
doesn't wait for timeout.
2017-05-31 13:20:06 +02:00
Björn Linse
5a151555c8
sockets: don't deadlock when connecting to own pipe address
2017-05-29 19:02:49 +02:00
Björn Linse
6a75938758
channels: implement sockopen() to connect to socket
...
Helped-By: oni-link <knil.ino@gmail.com >
2017-05-29 19:02:49 +02:00
ZyX
a409fa2b3f
lua: Use automatic determining of suffixes only for package.cpath
2017-05-28 23:55:51 +03:00
James McCoy
9cc185dc6d
Merge pull request #6680 from mhinz/listen/localhost
...
Use uv_getaddrinfo() for servers
2017-05-28 13:26:06 +00:00
James McCoy
6c135b89ee
eval: serverstart: Return finalized address to user
...
In the process of setting up the socket watcher, the address may be
changed (e.g., adding the OS-selected port).
2017-05-28 07:14:49 -04:00
ZyX
97602371e6
lua: Add paths from &runtimepath to package.path and package.cpath
2017-05-25 16:27:40 +03:00
TJ DeVries
45626de63f
get_keymap API ( #6236 )
...
* Add api function get keymap
nvim_get_keymap(mode)
nvim_buf_get_keymap(buffer, mode)
2017-05-25 12:41:53 +02:00