ZviRackover
627cc1b3d8
test: build_stl_str_hl ( #8703 )
...
Improve coverage of `build_stl_str_hl`.
Minor removal of dead code in the tested function.
2018-07-10 20:46:40 +02:00
Jan Edmund Lazo
2574f299e5
vim-patch:8.0.1464: add slash when completing directory #8684
...
Problem: Completing directory after :find does not add slash.
Solution: Adjust the flags for globpath(). (Genki Sky)
8a37b03289
2018-07-10 19:33:18 +02:00
James McCoy
d241f278d3
Merge pull request #8708 from blueyed/fix-standout
...
Fix standout mode
2018-07-10 11:32:27 -04:00
James McCoy
13bdc21faf
Merge pull request #8712 from jamessan/unicode-11
...
Update unicode files
2018-07-10 06:53:48 -04:00
James McCoy
7b2f6a7e5f
Update unicode files
2018-07-10 06:53:11 -04:00
James McCoy
44a284d71c
vim-patch.sh: review_commit: Fix regex for vim version
...
067bb1e9f
changed the commit format to include a brief description in
the summary line of the commit.
2018-07-09 13:55:21 -04:00
James McCoy
56af2f8c5f
vim-patch.sh: Use single quotes to avoid doubling backslashes
2018-07-09 13:51:13 -04:00
Brayden Banks
9afed40ea6
man.vim: fix for mandoc ( #8698 )
...
When giving a section, the first candidate selection was not performed.
followup/fixup #8341
2018-07-08 17:31:10 +02:00
Daniel Hahler
07f82ad1be
TUI: urxvt: also send xterm focus-reporting seqs #8699
...
urxvt supports the xterm sequence for focus reporting in master / CVS
since 2016 [1].
This has not been released yet, but is expected to be in 9.23.
In 3d0ee17
a special case for rxvt was added, which requires a custom
urxvt extension, see #7578 .
Since urxvt 9.23 is not released still, and extensions for handling this
manually appear to be in use, this sends both escape sequences for rxvt.
Fixes https://github.com/neovim/neovim/issues/8695 .
1: 75264fa544 (diff-2c8f5590ce4fa7495edcf7572c89c77b)
2018-07-08 17:27:09 +02:00
Daniel Hahler
813563365c
[WIP/RFC] Fix standout mode
...
It was not working for me in different terminals.
This patch makes it work in the same way like reverse.
Test:
:hi jediUsage cterm=standout | hi jediUsage
2018-07-08 17:26:17 +02:00
Justin M. Keyes
57fafcea23
Merge #8702 from janlazo/nvim-8.0.0654
2018-07-08 00:08:21 +02:00
Daniel Hahler
378d5f0fa3
clint: use stdout for normal/expected output ( #8700 )
2018-07-08 00:02:27 +02:00
Jan Edmund Lazo
a5ed460241
tests: endfunc allows uncommented bar
2018-07-07 13:31:55 -04:00
Jan Edmund Lazo
0ac67853b9
vim-patch: finish port of 8.0.0{654,663,667}
...
Fix ex_function so that :endfunction passes the test.
Remove variables, added in 60c0252672
.
2018-07-07 10:17:13 -04:00
Jan Edmund Lazo
b5c0031d4e
oldtests: fix func Test_echo_and_string()
2018-07-07 07:14:06 -04:00
Jan Edmund Lazo
336ce02a6e
vim-patch:8.0.0663: unexpected error with 'verbose' ( #8692 )
...
Problem: Giving an error message only when 'verbose' set is unexpected.
Solution: Give a warning message instead.
f8be461d02
2018-07-06 20:50:08 +02:00
Justin M. Keyes
2bfabd5bf8
Merge #8680 from janlazo/vim-8.0.0640
2018-07-04 19:23:56 +02:00
Takuya Matsuyama
e889640048
provider/node: npm --loglevel silent ( #8682 )
...
closes #8674
npm log level may cause unexpected output.
2018-07-04 12:13:36 +02:00
Jan Edmund Lazo
297dc3f997
vim-patch:8.0.0686: extra redraw when using CTRL-L in second window
...
Problem: When typing CTRL-L in a window that's not the first one, another
redraw will happen later. (Christian Brabandt)
Solution: Reset must_redraw after calling screenclear().
9f5f7bf4d5
2018-07-03 21:14:00 -04:00
Jan Edmund Lazo
a8071354e1
vim-patch:8.0.0640: mismatch between help and actual message
...
Problem: Mismatch between help and actual message for ":syn conceal".
Solution: Change the message to match the help. (Ken Takata)
83064068ea
2018-07-03 20:59:12 -04:00
Justin M. Keyes
bd51a0cd04
Merge #8672 'test: nvim_buf_attach after delay'
2018-07-02 23:32:28 +02:00
Justin M. Keyes
4a83b64777
coverity/166184: Null pointer dereference (FP)
...
False positive: should never happen, because unibi_from_env() would return
NULL if $TERM is undefined.
2018-07-02 20:56:37 +02:00
Justin M. Keyes
f65a751d82
test: nvim_buf_attach: reduce delay
...
This test is mostly a demo/reference for:
https://github.com/neovim/neovim/issues/8634#issuecomment-400940467
so let's not pay a 1s penalty.
2018-07-02 20:47:28 +02:00
Justin M. Keyes
b4fcf02316
test: nvim_buf_attach response after initial delay
...
ref #8634
2018-07-01 17:31:58 +02:00
Justin M. Keyes
60ef7889a2
test: buffer_updates: 10s timeout
2018-07-01 17:31:00 +02:00
Justin M. Keyes
ef9ef75a7b
Merge #8635 from janlazo/vim-8.0.0252
2018-07-01 15:29:20 +02:00
Justin M. Keyes
22d95e462e
coverity/108274: tty-test.c: Insecure data handling ( #8666 )
2018-07-01 14:48:30 +02:00
Jan Edmund Lazo
3e4a058b01
test: port kword_test to Lua for utf_char2bytes()
...
Use LuaJIT FFI to create char pointer.
Validate output with utf_ptr2char(), vim_iswordc() and vim_iswordp().
Use const for LuaJIT string-to-char conversion.
2018-07-01 08:45:19 -04:00
Jan Edmund Lazo
6ff892165a
vim-patch:8.0.0252: not properly recognizing word characters between 128 and 255
...
Problem: Characters below 256 that are not one byte are not always
recognized as word characters.
Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test
for this. (Ozaki Kiichi)
4019cf90b8
2018-07-01 08:45:13 -04:00
KillTheMule
40911e435e
API: emit nvim_buf_lines_event from :terminal #8616
...
closes #8575
2018-07-01 14:42:56 +02:00
Jan Edmund Lazo
70626e6a1e
vim-patch:8.0.0593: DRY: setting list/dict return value ( #8639 )
...
Problem: Duplication of code for adding a list or dict return value.
Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
45cf6e910c
2018-06-30 14:16:10 +02:00
James McCoy
d088331ea3
Merge pull request #8661 from jamessan/gen_api_vimdoc
...
gen_api_vimdoc: Make executable and change #! to python3
2018-06-29 21:08:16 -04:00
James McCoy
85d5bf81b9
gen_api_vimdoc: Make executable and change #! to python3
2018-06-29 18:46:05 -04:00
Björn Linse
a98a1d10e3
Merge pull request #8656 from bfredl/wd_ls
...
ui: don't crash when 'writedelay' is set and redrawing inside an event handler
2018-06-29 15:27:25 +02:00
Björn Linse
5efab06198
ui: don't crash when 'writedelay' is set and redrawing inside an event handler
2018-06-28 23:38:06 +02:00
Yichao Zhou
12481781a0
highlight: high-priority CursorLine if fg is set. #8578
...
closes #7383
closes #7715
This implements the compromise described in #7383 :
* low-priority CursorLine if foreground is not set
* high-priority ("same as Vim" priority) CursorLine if foreground is set
ref d1874ab282
ref 56eda2aa17
2018-06-28 01:49:40 +02:00
Justin M. Keyes
166aaf178c
doc ( #8652 )
2018-06-28 00:48:17 +02:00
James McCoy
b40f87cdf5
Merge pull request #8650 from jamessan/skip-pydo-tests
...
oldtest: Disable tests that :py(3)do stop executing when buffer changes
2018-06-27 12:51:36 -04:00
Justin M. Keyes
363a232cb4
Merge #8645 from janlazo/vim-8.0.0677
2018-06-27 18:28:32 +02:00
James McCoy
9946a5ebd9
oldtest: Disable tests that :py(3)do stop executing when buffer changes
...
The current nvim <-> client handling of do_range needs to be adapted to
handle these sorts of checks.
See https://github.com/neovim/neovim/issues/8554
2018-06-27 08:03:46 -04:00
Jan Edmund Lazo
33eb5833b2
vim-patch:8.0.0688: cannot resize the window in a FileType autocommand
...
Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat)
Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat,
closes vim/vim#1804 )
9c4fefffb6
2018-06-26 10:21:39 -04:00
Jan Edmund Lazo
bfe029a11d
vim-patch:8.0.0677: setting 'filetype' may switch buffers
...
Problem: Setting 'filetype' internally may cause the current buffer and
window to change unexpectedly.
Solution: Set curbuf_lock. (closes vim/vim#1734 )
1814183b86
2018-06-26 10:21:39 -04:00
Justin M. Keyes
da6874a7b2
API: nvim_win_set_cursor: set w_set_curswant #8640
...
This one behaves correctly eg in the presence of unicode.
ref #8613
2018-06-26 08:54:14 +02:00
Justin M. Keyes
cafb92487b
Merge #8642 from janlazo/vim-8.0.0704
2018-06-26 08:14:09 +02:00
Jan Edmund Lazo
b79523681d
vim-patch:8.0.0707: freeing wrong memory with certain autocommands
...
Problem: Freeing wrong memory when manipulating buffers in autocommands.
(James McCoy)
Solution: Also set the w_s pointer if w_buffer was NULL.
f1d13478e3
2018-06-25 11:41:45 -04:00
Jan Edmund Lazo
fee4e39ca3
vim-patch:8.0.0706: crash when cancelling the cmdline window in Ex mode
...
Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy)
Solution: Do not set cmdbuff to NULL, make it empty.
5a15b6aa0a
2018-06-25 11:39:40 -04:00
Jan Edmund Lazo
b00211a551
vim-patch:8.0.0704: problems with autocommands when opening help
...
Problem: Problems with autocommands when opening help.
Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer
is locked. (closes vim/vim#1806 , closes vim/vim#1804 )
163095f088
2018-06-25 11:34:10 -04:00
David Hotham
cc0d50a2c2
Improved version of #8613
...
This one behaves correctly eg in the presence of unicode
2018-06-25 13:44:02 +01:00
David Hotham
1cbc830189
API: nvim_win_set_cursor: set curswant #8613
...
Fixes #8591
2018-06-25 02:14:55 +02:00
Justin M. Keyes
e475476d10
Merge #8621 from janlazo/vim-8.0.0642
2018-06-25 02:08:21 +02:00