Justin M. Keyes
ddcfb49262
Merge #7755
2017-12-28 22:48:49 +01:00
Gabriel Holodak
eb44519b5d
Address PR comments
2017-12-27 23:28:04 -05:00
Gabriel Holodak
134c0f0bdb
Add functional tests for man highlighting
2017-12-27 23:27:14 -05:00
Gabriel Holodak
6740c94562
Add support for escape sequences
2017-12-27 23:27:14 -05:00
Gabriel Holodak
c28ce5f619
Switch to processing in Lua
2017-12-27 23:27:14 -05:00
Gabriel Holodak
0446d4d691
Highlight backspaced characters
2017-12-27 23:27:14 -05:00
Justin M. Keyes
061b942dc0
Merge #7771
...
health.vim: remove :CheckHealth command
2017-12-27 19:30:16 +01:00
Justin M. Keyes
2f3e001717
health.vim: minor refactor (group related logic)
2017-12-27 13:53:01 +01:00
Justin M. Keyes
341102fe9f
health.vim: remove :CheckHealth command
...
For back-compat, :CheckHealth runs :checkhealth. But don't define
:CheckHealth explicitly, it adds noise to wildmenu completion.
Completion of healthchecks doesn't yet work with :checkhealth, this is
a regression but it needs to be implemented for :checkhealth rather than
keeping :CheckHealth around.
2017-12-27 13:00:58 +01:00
Justin M. Keyes
102e0689d8
Merge #7735 'runtime fixes, doc updates'
2017-12-27 12:53:54 +01:00
Justin M. Keyes
ac2f90f2e1
version.c: update
2017-12-27 12:30:55 +01:00
Justin M. Keyes
7773bbd098
vimpatch.lua: automate version.c
...
Invoke it like this:
VIM_SOURCE_DIR=~/neovim/.vim-src/ nvim -i NONE -u NONE --headless +'luafile ./scripts/vimpatch.lua' +q
2017-12-27 12:30:55 +01:00
Justin M. Keyes
903ed09a61
vim-patch.sh: extract list_vimpatch_tokens()
...
Use streams instead of for-loop (20x speedup for list_vimpatch_tokens).
2017-12-26 04:00:18 +01:00
Justin M. Keyes
973bd10a12
vim-patch.sh: introduce -V
2017-12-26 04:00:18 +01:00
Justin M. Keyes
fe60fa9faa
doc
...
vim-patch:8.0.1206: no autocmd for entering or leaving the command line
(commit a4f6cec7a3
)
NA patches:
vim-patch:8.0.0320: warning for unused variable with small build
2017-12-26 03:58:28 +01:00
ZyX
b6ee90a243
eval: Refactor some potentially dangerous list appends
2017-12-25 01:44:44 +03:00
ZyX
6ab5eb347b
eval: Remove magic numbers from find_some_match() type argument
2017-12-25 01:08:58 +03:00
ZyX
bc52ec6110
*: Fix linter errors
2017-12-24 23:09:26 +03:00
ZyX
7997147245
eval: Replace some tv_list_item_remove() calls
...
There is nothing wrong with them, just it is generally better to remove
a range then to remove items individually.
2017-12-24 17:52:24 +03:00
ZyX
2923e8533d
unittests: Do gc after reporting error, not before
...
Reason: test may contain cleanup at the endwhich is needed for GC to work
properly, but is not done if test fails. With collectgarbage() in former
position it would crash when collecting garbage.
2017-12-24 17:42:23 +03:00
ZyX
32689aa5be
unittests: Remove start of trace, not end
2017-12-24 17:13:49 +03:00
ZyX
67fa9e5237
eval: Rename tv_list_remove_items() to tv_list_drop_items()
...
tv_list_remove_items() may cause confusion with tv_list_item_remove()
2017-12-24 16:38:30 +03:00
ZyX
ac55558c97
eval/typval: Make tv_list_item_remove return pointer to the next item
2017-12-24 14:09:36 +03:00
ZyX
608c3d7baf
eval/typval: Remove tv_list_item_free() as it is unused
2017-12-24 14:09:36 +03:00
ZyX
6bf3dc77c4
eval/typval: Make tv_list_item_alloc static
...
Better write this bit in lua then make reviewers or clint filter out
tv_list_item_alloc().
2017-12-24 14:09:36 +03:00
ZyX
0c533a488f
*: Remove most calls to tv_list_item_alloc
...
Still left calls in eval/typval.c and test/unit/eval/helpers.lua. Latter is the
only reason why function did not receive `static` modifier.
2017-12-24 14:09:35 +03:00
Justin M. Keyes
249bdb07dd
Merge #7761 from ZyX-I/fix-7169
2017-12-24 09:24:39 +01:00
ZyX
6b45dbca04
mark: Make sure that jumplist item will not have zero lnum
...
Fixes #7169
2017-12-24 00:32:43 +03:00
Justin M. Keyes
dee78a4095
Merge #7708 from ZyX-I/hide-container-impl
2017-12-23 18:17:01 +01:00
Justin M. Keyes
ec86f4215f
Merge #7646 from bfredl/chan_buffered
...
Document and defer error message when buffered stream would overwrite channels dict key
2017-12-23 15:49:13 +01:00
Björn Linse
61ba3c5e31
provider: delete vimL stderr collector, now that it exists builtin
2017-12-23 14:32:25 +01:00
Björn Linse
308dd53783
channel: check for existance before trying to set key
...
This avoids an error message in async context, where it is not safe.
2017-12-23 14:02:00 +01:00
ZyX
5cb7a709e7
clint: Make linter report line where it found opening brace
2017-12-23 15:47:23 +03:00
ZyX
d2c01d529f
regexp: Fix linter errors
2017-12-23 15:47:04 +03:00
ZyX
c9ab209f9e
Merge branch 'master' into hide-container-impl
2017-12-23 15:27:42 +03:00
ckelsel
eb95b88156
vim-patch:8.0.0315: :help :[range] does not work
...
Problem: ":help :[range]" does not work. (Tony Mechelynck)
Solution: Translate to insert a backslash.
a76f59d817
2017-12-21 18:55:56 +08:00
ckelsel
6c731d33f6
vim-patch:8.0.0314: getcmd*() functions are not tested
...
Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested.
Solution: Add tests. (Yegappan Lakshmanan)
65189a1294
2017-12-21 18:40:10 +08:00
James McCoy
aa951b1489
Merge pull request #7751 from jamessan/vim-8.0.0590
...
[RFC] vim-patch:8.0.0590,8.0.0595,8.0.0597,8.0.0606
2017-12-19 19:21:30 -05:00
James McCoy
190814bdae
vim-patch:8.0.0606: cannot set the context for a specified quickfix list
...
Problem: Cannot set the context for a specified quickfix list.
Solution: Use the list index instead of the current list. (Yegappan
Lakshmanan)
6e62da3e14
2017-12-19 14:07:24 -05:00
James McCoy
cdd86f42cf
vim-patch:8.0.0597: off-by-one error in size computation
...
Problem: Off-by-one error in buffer size computation.
Solution: Use ">=" instead of ">". (Lemonboy, closes vim/vim#1694 )
253f912877
2017-12-19 14:07:24 -05:00
James McCoy
6fcadab3ce
vim-patch:8.0.0595: Coverity warning for not checking return value
...
Problem: Coverity warning for not checking return value of dict_add().
Solution: Check the return value for FAIL.
beb9cb19c6
2017-12-19 14:07:24 -05:00
James McCoy
20708a07bf
vim-patch:8.0.0590: cannot add a context to locations
...
Problem: Cannot add a context to locations.
Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan,
closes vim/vim#1012 )
8f77c5a4ec
2017-12-19 14:07:24 -05:00
James McCoy
53a530b2f5
Merge pull request #7747 from jamessan/vim-8.0.0565
...
vim-patch:8.0.0565,8.0.0574,8.0.0579,8.0.0580
2017-12-18 23:52:06 -05:00
James McCoy
4d2d844c12
vim-patch:8.0.0580: cannot set the valid flag with setqflist()
...
Problem: Cannot set the valid flag with setqflist().
Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes vim/vim#1642 )
f1d21c8cc8
2017-12-18 21:44:42 -05:00
James McCoy
9fb7926a0d
vim-patch:8.0.0579: duplicate test case for quickfix
...
Problem: Duplicate test case for quickfix.
Solution: Remove the function. (Yegappan Lakshmanan)
9b77016545
2017-12-18 21:40:24 -05:00
James McCoy
dd27392861
vim-patch:8.0.0574: get only one quickfix list after :caddbuf
...
Problem: Get only one quickfix list after :caddbuf.
Solution: Reset qf_multiline. (Yegappan Lakshmanan)
99895eac1c
2017-12-18 21:39:51 -05:00
James McCoy
1b2d386a85
vim-patch:8.0.0565: using freed memory in :caddbuf
...
Problem: Using freed memory in :caddbuf after clearing quickfix list.
(Dominique Pelle)
Solution: Set qf_last to NULL.
31bdd13c33
2017-12-18 21:36:44 -05:00
James McCoy
88863bb6ae
Merge pull request #7744 from jamessan/vim-8.0.0517
...
[RFC] vim-patch:8.0.0517,8.0.0536,8.0.0584
2017-12-18 21:34:09 -05:00
Issam Maghni
c01a84e344
Updating to latest UNIBILIUM ( #7745 )
...
Update to unibilium 1.2.1
2017-12-18 18:53:53 -05:00
James McCoy
765ff94b5b
vim-patch:8.0.0584: memory leak when executing quickfix tests
...
Problem: Memory leak when executing quickfix tests.
Solution: Free the list reference. (Yegappan Lakshmanan)
d788f6fe89
2017-12-18 14:57:57 -05:00