| Commit message (Collapse) | Author | Age |
|\
| |
| | |
job: Consume content from rbuffer before invoking the callback again
|
|/
|
|
|
|
|
|
|
|
| |
While a job callback is active, it may be invoked again. Since the
data handled by the first invocation of the callback hasn't been marked
as consumed, the subsequent invocation will see the same data.
Reported-by: Daniel Hahler
Patch-by: oni-link
Closes #5889
|
|\
| |
| | |
vim-patch:8.0.0121
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
Solution: Add the P_RWINONLY flag. (closes vim/vim#1297)
https://github.com/vim/vim/commit/a2477fd3490c1166522631eee53c57d34321086a
|
|\ \
| |/
|/| |
src/clint.py: improve "Ignoring" message
|
|/
|
|
|
|
| |
It was a bit confusing for me when seeing it myself the first time.
[ci skip]
|
|\
| |
| | |
open_buffer(): Raise `BufEnter` for directories.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Abuse NOTDONE to give some nuance to the return value of readfile(), so
that open_buffer() can distinguish between "failed, lol" and "failed
because the path is a directory".
Before this change, Vim *already* creates a new buffer when a directory
is edited. So there is no reason it should not raise BufEnter, that was
an implementation detail of ye olde readfile().
Most of the changes in this commit merely preserve the old semantics.
The "implicit" change that we actually are interested in, is this line
in `open_buffer()`, where `retval` being non-FAIL allows EVENT_BUFENTER
to be applied:
apply_autocmds_retval(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf, &retval);
References https://github.com/vim/vim/issues/1353
|
|\ \
| |/
|/| |
eval: Remove dictwatcher from watchers queue before freeing it
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a use-after-free noticed by ASAN which would occur when a
dictwatcher was still active on a dictionary when the dictionary was
freed.
fun! MakeWatch()
let d = {'foo': 'bar'}
call dictwatcheradd(d, 'foo', function('...'))
endfun
Patch-by: oni-link
Closes #5930
|
|\
| |
| | |
inccommand: Ignore errors during preview and make cmd_can_preview stricter
|
| |
| |
| |
| | |
Closes #5888
|
|/
|
|
| |
Closes #5912
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Windows we cannot rely on absolute install paths to point to the
location of the runtime. Vim uses the path of the current binary as
a possible location for the runtime folder. In Neovim the install
location places the runtime folder in ../share/nvim/runtime.
In Vim this logic is guarded by USE_EXE_NAME, which is defined for win32
and macOS.
TODO: We may need to incorporate similar logic for macOS:
https://github.com/vim/vim/blob/0cdb72aa38c4a0140c94d56bf8bc17cb30260ebf/src/misc1.c#L4287-L4308
|
|\
| |
| | |
Windows: fix jobstart()
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Do _not_ set v:shell_error on parameter validation error.
system([...]) does not invoke a shell, so this change is somewhat
questionable. But `:help v:shell_error` is sufficiently vague to allow
-1 in this case.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Setup python2/3 and install the Neovim client in Appveyor to
enable the python tests.
- Use the Python installation provided by Appveyor, because dependencies
pyuv, greenlet have issues compiling with MinGW-w64. And this way we
avoid building those too.
- Copy python.exe => python3.exe so that the python provider can find
python3.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes #5360
References #3305
Reverts commit dc9652e68de163290abee880a74bf1727c715a1e.
Disabling the quoting was does not solve the problem in general, and
we would end up having to handle the quoting ourselves.
See: https://github.com/JuliaLang/julia/issues/13776
|
|/
|
| |
Fixes #5926.
|
|\
| |
| | |
vim-patch:7.4.2100
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Problem: "cgn" and "dgn" do not work correctly with a single character
match and the replacement includes the searched pattern. (John
Beckett)
Solution: If the match is found in the wrong column try in the next column.
Turn the test into new style. (Christian Brabandt)
https://github.com/vim/vim/commit/6835dc61aebca2b602d85a9d63c449ace58683b4
Closes #5796
|
|\
| |
| | |
More clint brace checks
|
| | |
|
| |
| |
| |
| | |
For some reason that was incorrectly hidden by “file is *not* \*.c or \*.h file”
check.
|
|\ \
| | |
| | | |
vim-patch:7.4.2008,7.4.2009
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Messages test fails.
Solution: Don't set redir_execute before returning.
https://github.com/vim/vim/commit/ed59aa60d3905f935283727f4a7b33c81a00174b
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
https://github.com/vim/vim/commit/79815f1ec77406f2f21a618c053e5793b597db7a
|
|\ \
| | |
| | | |
vim-patch:aa3b15d,82af871,7.4.1925,c95a302
|
| | |
| | |
| | |
| | |
| | |
| | | |
Updated runtime files.
https://github.com/vim/vim/commit/c95a302a4c42ec8230473cd4a5e0064d0a143aa8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Viminfo does not merge file marks properly.
Solution: Use a timestamp. Add the :clearjumps command.
https://github.com/vim/vim/commit/2d35899721da0e9359a9fe1059554f8c4ea7f0c1
|
| | |
| | |
| | |
| | |
| | |
| | | |
Updated runtime files.
https://github.com/vim/vim/commit/82af8710bf8d1caeeceafb1370a052cb7d92f076
|
|/ /
| |
| |
| |
| |
| | |
Updated runtime files.
https://github.com/vim/vim/commit/aa3b15dbebf333282503d6031e2f9ba6ee4398ed
|
|\ \
| | |
| | | |
vim-patch:7.4.1889
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: When umask is set to 0177 Vim can't create temp files. (Lcd)
Solution: Also correct umask when using mkdtemp().
https://github.com/vim/vim/commit/35d88f4e2ff5dcd9904f04612d5febede996137c
|
| | |
|
|\ \
| | |
| | | |
Improve Python health check
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since `curl -s` is used, the actual error (e.g. "curl: (6) Could not
resolve host: pypi.python.org") gets not reported anyway, and s:download
returns an error message with `s:shell_error` already.
This changes `s:download` to also include `a:url` in the error message
now.
It removes
> ERROR: Command error (7) curl -sL https://pypi.python.org/pypi/neovim/json:
And changes
> ERROR: HTTP request failed: error: curl error with https://pypi.python.org/pypi/neovim/json: 6
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This helps to identify where the `neovim` module is coming from, e.g.
- INFO: python3-neovim version: 0.1.10 (outdated; from ~/Vcs/neovim-python-client/neovim)
- WARNING: Latest python3-neovim is NOT installed: 0.1.12
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- s:version_info: return errors from the `import`
- skip report_ok for latest version, in case the current version was
not found. status contains the error that has been reported in that
case already.
|
| | | |
|