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
Florian Walch
232c40b40a
Travis: Disable Valgrind in GCC build. #2806
...
With Valgrind, the GCC build frequently passed the 50 min timeout on
Travis.
2015-06-09 10:29:07 +03:00
Thomas Anderson
9995f15a98
CMake: Fix helptags generation when prefix is not /usr. #2741
2015-06-09 01:12:08 -04:00
Florian Walch
6609a545ad
CMake: Workaround for hanging helptags generation. #2801
...
Piping input into nvim causes the helptags generation to hang. For
example, the following does not work:
yes | nvim -c "helptags ."
The helptags are generated during installation with a command similar
to the one above, using CMake's execute_process to call nvim.
As execute_process does not use an intermediate shell, the following
will cause the installation to hang:
yes | make install
pacaur, an Arch Linux package helper, uses a similar command to
install packages [1], and thus can currently not be used to install
Neovim.
This commit adds a workaround to GenerateHelptags.cmake to circumvent
this problem.
[1] 22c00a3d05/pacaur (L825)
2015-06-06 14:29:33 +03:00
Felipe Morales
98053f0f9f
plugin: enable the matchit plugin by default #2723
...
Reviewed-by: Scott Prager <splinterofchaos@gmail.com>
Reviewed-by: Michael Reed <m.reed@mykolab.com>
2015-06-04 22:45:19 -04:00
Shougo Matsushita
e6c62c80ef
Add noinsert and noselect features in completeopt #2564
...
Backported from vim_dev:
https://groups.google.com/forum/#!searchin/vim_dev/completeopt/vim_dev/tVsk0pdOGvs/fCzBbPkA4w0J
Use case:
https://github.com/Shougo/neocomplcache.vim/issues/426
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
Reviewed-by: Scott Prager <splinterofchaos@gmail.com>
Reviewed-by: Michael Reed <m.reed@mykolab.com>
2015-06-04 21:20:09 -04:00
Florian Walch
2271b746d7
CMake: Fix _FORTIFY_SOURCE detection when using hardening-wrapper. #2788
...
When checking code with check_c_source_compiles, the "check variable"
(for the _FORTIFY_SOURCE detection: previously _FORTIFY_SOURCE_ACCEPTABLE, now
HAS_ACCEPTABLE_FORTIFY) is passed to the compiler like
-D_FORTIFY_SOURCE_ACCEPTABLE. This throws off hardening-wrapper [1],
which then NOT sets _FORTIFY_SOURCE=2 for the check, assuming it had already
been set manually as it detected -D_FORTIFY_SOURCE*. Renaming the "check
variable" to not match this pattern works around this problem.
[1] https://github.com/thestinger/hardening-wrapper
2015-06-04 13:43:02 +03:00
Michael Reed
27dc315975
Merge pull request #2766 from Pyrohh/misc-cleanup
...
[RDY] doc: Various removals/cleanups
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
2015-06-01 16:17:49 -04:00
Michael Reed
e099b545be
doc: Misc. X11-related cleanups
...
These were all introduced by the previous commit, and spotted with with
`make html` in `runtime/doc`.
[ci skip]
2015-06-01 16:17:08 -04:00