alecbrooks
e8c82372ff
doc: Revise for flow and consistency #2831
...
In general, attempt to make things more concise.
Reviewed-by: Michael Reed <m.reed@mykolab.com>
2015-06-24 09:15:58 -04:00
Justin M. Keyes
91fcd33787
doc: vim_diff: clarify key-chord support. #2886
2015-06-24 00:43:20 -04:00
Justin M. Keyes
20a57c497b
tests: 061_undo_tree_spec: minor edits
2015-06-22 22:56:16 -04:00
Justin M. Keyes
ae9eb747e0
Merge #2851 'tests: Migrate legacy test 61.'.
2015-06-22 22:18:10 -04:00
Lucas Hoffmann
c411fb6cda
tests: Repeat a flaky part of the migrated test 61.
...
This is the part of the test that relies on wall clock time and sometimes
fails if the system is under load. The test is repeated up to three times
before a failure is reported to the user.
2015-06-22 17:05:10 +02:00
Lucas Hoffmann
1c7372361f
tests: Split test 61 into several it() blocks.
2015-06-22 12:15:51 +02:00
Lucas Hoffmann
2ce3656754
tests: Fix an further simplify migrated test 61.
...
:undojoin can only be used inside scripts and command chains. So it has to be
tested inside an explicit `source()` call.
Also add a new test case for the different behavior when sourceing normal mode
commands from a script or inserting them interactively.
2015-06-22 12:08:24 +02:00
Lucas Hoffmann
981dd23f8d
tests: Don't set ul in migrated test 61.
...
The legacy test uses `set ul=100` to break the changes into blocks that can be
undone separately. This is needed because the legacy test is sourced from a
file and changes would be grouped into on undo block by default. The lua test
suite does not have this restriction.
Also add a new test case to test this effect of using `set ul=100` in a
sourced script.
2015-06-22 12:01:07 +02:00
Lucas Hoffmann
8c999a9d6c
tests: Migrate legacy test 61.
...
This test is real time based as it also tests the `:earlier` and `:later`
commands with time arguments (using `:sleep`). This can sometimes case the
test to fail on systems that are under heavy load or where the time interval
between creating the expected buffer state and the `:earlier` or `:later`
command that tries to jump to it changes.
To be system independent we use nvim's `:sleep` command and `wait()` for it in
the test suit.
The legacy vim test writes to test.out a lot with `:.w >>test.out`. This
does currently not work in the lua test suite so the test is modernized to use
busted's assertions instead of the output file.
This test was treated special in the legacy Makefile but after the conversion
the related code can be removed.
2015-06-22 11:58:43 +02:00
Nathan Wilson
a743297be2
spell.c: fix "[s" search. #2813
...
Closes #2791
2015-06-21 14:38:17 -04:00
Felipe Morales
6ed6d8d910
defaults: remove "options" in 'sessionoptions'. #2871
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-21 03:20:35 -04:00
Felipe Morales
721ffd6b65
defaults: prefix "!" to 'viminfo' by default #2870
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-21 02:06:23 -04:00
Felipe Morales
8963285530
defaults: set 'tabpagemax' to 50 by default. #2869
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-21 02:02:00 -04:00
Felipe Morales
2c40d117e6
defaults: set 'display' to "lastline" by default.
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-21 01:48:53 -04:00
Lucas Hoffmann
7e7d78b2a6
doc: Fix some typos and trailing whitespace. #2875
2015-06-21 00:34:51 -04:00
Justin M. Keyes
9ebb5c681b
defaults: enable 'hlsearch' by default. #2859
...
Also update the documentation regarding the option.
Re: https://github.com/neovim/neovim/issues/2676
2015-06-20 16:40:03 -04:00
Felipe Morales
ffeffcb6cd
defaults: enable 'incsearch' by default. #2858
...
This also updates the documentation about 'incsearch'.
Re: https://github.com/neovim/neovim/issues/2676
2015-06-20 16:19:16 -04:00
Felipe Morales
6cfe98c66e
defaults: remove "i" from the default 'complete' #2854
...
"i" could slow down the completion.
Re: https://github.com/neovim/neovim/issues/2676
2015-06-20 14:43:51 -04:00
Felipe Morales
e3568364df
default: enable 'langnoremap'. #2853
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-20 14:19:15 -04:00
Felipe Morales
ba84f7fc00
defaults: set 'mouse' to 'a' by default. #2860
...
Re: https://github.com/neovim/neovim/issues/2676
Also, some documentation changes.
2015-06-20 14:14:39 -04:00
Felipe Morales
8e3f67f2a0
defaults: enable 'autoindent' #2857
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-20 14:02:56 -04:00
Felipe Morales
81847da948
defaults: enable 'autoread' by default #2856
...
Re: https://github.com/neovim/neovim/issues/2676
2015-06-20 13:49:30 -04:00
Felipe Morales
41c76d9444
defaults: enable 'smarttab' by default. #2855
2015-06-20 13:45:47 -04:00
Shougo Matsushita
8b200f904f
completion: Initialize v:completed_item #2839
...
v:completed_item should always be a dict (not empty string), even before
the first completion.
2015-06-20 11:53:13 -04:00
Felipe Morales
7b87dc9299
vim-patch:7.4.575 #2835
...
```
updated for version 7.4.575
Problem: Unicode character properties are outdated.
Solution: Update the tables with the latest version.
```
https://code.google.com/p/vim/source/detail?r=v7-4-575
2015-06-17 07:58:44 -04:00
Justin M. Keyes
8fa77bbfaf
Merge #2820 'tests: migrate legacy test argument_count.'.
2015-06-16 01:36:17 -04:00
Lucas Hoffmann
c2065a183f
tests: Modernize migrated argument_count test.
2015-06-16 01:36:17 -04:00
Lucas Hoffmann
55806fbe39
tests: Migrate legacy test argument_count.
2015-06-16 01:36:17 -04:00
Justin M. Keyes
c83af3a88c
Merge #2819 'tests: Migrate legacy test argument_0count.'.
2015-06-16 01:23:23 -04:00
Lucas Hoffmann
88b76ec146
tests: Modernize migrated legacy test argument_0count.
2015-06-16 01:23:23 -04:00
Lucas Hoffmann
a15ba262e4
tests: Migrate legacy test argument_0count.
2015-06-16 01:23:23 -04:00
Felipe Morales
34fdb11e53
ex_docmd.c: :edit is a no-op in terminal buffers #2822
...
Closes #2779
2015-06-14 13:59:01 -04:00
Andrea Cedraro
8992f8b1c7
vim-patch:7.4.719 #2817
...
Problem: Overflow when adding MAXCOL to a pointer.
Solution: Subtract pointers instead. (James McCoy)
https://github.com/vim/vim/commit/v7-4-719
2015-06-14 02:23:09 -04:00
David Bürgin
f04bc91c2f
vim-patch:7.4.593 #2657
...
Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle)
Solution: Bail out from the NFA engine when the max limit is much higher
than the min limit.
https://github.com/vim/vim/commit/v7-4-593
See https://groups.google.com/d/msg/vim_dev/c7owwoseba8/ZETgSNZ6p10J
2015-06-13 21:38:39 -04:00
Björn Linse
80d61fb87b
tui: make termkey use utf-8 mode when &encoding=utf-8 #2469
2015-06-13 19:49:25 +02:00
Justin M. Keyes
de589e72e6
Merge #2832 'Mark NA patches; vim-patch:7.4.713'
2015-06-13 12:43:44 -04:00
Felipe Morales
dfdf045b18
vim-patch:7.4.713
...
patch 7.4.713
Problem: Wrong condition for #ifdef.
Solution: Change USR_EXRC_FILE2 to USR_VIMRC_FILE2. (Mikael Fourrier)
https://code.google.com/p/vim/source/detail?r=v7-4-713
2015-06-13 12:43:28 -04:00
Justin M. Keyes
3af79d552a
version.c: mark NA: 664, 703
2015-06-13 12:43:28 -04:00
Felipe Morales
1d4e483265
version.c: Update patches list
...
These patches are not applicable (NA):
.611 (if_python3.c)
.627 (term.c)
.666 (X on *nix)
.678 (--remote)
.683 (vimtutor)
.687 (terminal)
.691 (mzscheme)
.692 (Solaris)
.730 (crypto)
.731 (GUI)
.738 (compiling w/o syntax highlighting)
.644 applied in an unsupported platform (Stratus VOS)
2015-06-13 12:42:16 -04:00
Lucas Hoffmann
0685489ee5
Fix legacy tests makefile after 4873171f
. #2826
2015-06-12 12:50:50 -04:00
Justin M. Keyes
7a9377e720
Merge #2585 'Migrate legacy test 74.'
2015-06-12 03:33:50 -04:00
Justin M. Keyes
1f0830f700
tests: wviminfo_spec.lua: rework
...
074_global_var_in_viminfo_spec: remove some redundant sanity checks.
2015-06-12 03:32:18 -04:00
Lucas Hoffmann
fa4b5211c6
tests: Add tests for the :wv command.
2015-06-12 00:10:58 -04:00
Lucas Hoffmann
d080375813
tests: Migrate legacy test 74.
...
Helped-By: David Bürgin <676c7473@gmail.com>
Helped-By: Justin M. Keyes <justinkz@gmail.com>
2015-06-12 00:10:58 -04:00
oni-link
e53dda90bd
memline: Don't call memmove() with a NULL argument in ml_add_stack(). #2802
...
When ml_add_stack() needs to increase the size of the empty stack,
buf->b_ml.ml_stack is NULL and is used as argument in memmove().
This is undefined behaviour. Declaration of memmove() in string.h:
extern void *memmove (void *__dest, const void *__src, size_t __n)
__THROW __nonnull ((1, 2));
2015-06-12 00:04:36 -04:00
Shougo Matsushita
be66c0b357
Add complete() noinsert/noselect support #2792
2015-06-11 09:03:00 -04:00
Florian Walch
6270d431aa
Merge #2735 'provider: Only call system() once, don't use Python 3 interpreter for +python, improve messages'.
2015-06-09 13:31:02 +03:00
Florian Walch
e8c68aa7ee
provider/pythonx: Show absolute path to executable in error message.
2015-06-09 10:55:25 +03:00
Florian Walch
cfa278c72e
provider/pythonx: Merge s:check_version() and s:check_interpreter().
2015-06-09 10:29:46 +03:00
Florian Walch
4dc3c84c5a
provider/pythonx: Don't use Python 3 interpreter for +python.
...
The executable 'python' can refer to either Python 2 or Python 3. Add a
check to only accept Python 2 interpreters as providers for +python.
Also improve the error messages.
Resolves #2734 .
2015-06-09 10:29:46 +03:00