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
Daniel Hahler
c148427c89
provider/pythonx: return error from Detect
...
Ref: https://github.com/blueyed/neovim/commit/9b653ce0#commitcomment-11195449
2015-06-09 10:29:46 +03:00
Daniel Hahler
8d42db1eea
remote#host#RequirePythonHost: fix reference to log
...
I could not find a reference to NVIM_PYTHON_PYTHON_LOG anywhere, and
python-client looks for NVIM_PYTHON_LOG_FILE.
~/.nvimlog appears to be hardcoded and enabled by default. This would
need to be adjusted when this changes.
2015-06-09 10:29:46 +03:00
Daniel Hahler
2111f28fc5
provider/python: Call: fix usage of 'finish' in function
...
Do not call it again in case of an exception in `remote#host#Require`
(ref: https://github.com/neovim/neovim/pull/2549#issuecomment-102674350 ).
2015-06-09 10:29:46 +03:00
Daniel Hahler
866e587b88
provider/python: define Prog and Error functions always
...
`provider#pythonX#Error` and `provider#pythonX#Prog` are currently meant
for debugging only (the error message is not being used), and should
therefore be defined always, especially in case of errors.
Ref: https://github.com/neovim/neovim/pull/2549#issuecomment-98607580
2015-06-09 10:29:46 +03:00
Daniel Hahler
3b0ec6599c
provider/pythonx: Detect: only return valid versions
...
The `check` return value of `s:check_version` was not being used, and it
was returned always.
2015-06-09 10:29:45 +03:00
Daniel Hahler
12f7229e7e
provider/pythonx: test python3/2 first, do not test python3.2
...
python3/python2 will typically point at the default / most recent
interpreter.
2015-06-09 10:29:45 +03:00
Daniel Hahler
6fa10ab9cb
provider/pythonx: add reference to ":help nvim-python" for error
2015-06-09 10:29:45 +03:00
Daniel Hahler
905f34cf30
provider/pythonx: fix grammar with error
2015-06-09 10:29:45 +03:00
Daniel Hahler
75db0c37a7
provider/pythonx: only call system("python") once
...
`s:check_interpreter` will query/return the version also, so that
`s:check_version` can just use that, without calling "python" again.
2015-06-09 10:29:45 +03:00