| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| | |
Fixes abnormal terminaion when TERM environment variable
is set in Windows.
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Vim's vimrc_found() also handles setting 'nocompatible', that's why it
does vimrc_found(NULL, NULL).
|
| | |
| | |
| | |
| | | |
closes #8393
|
|\ \ \
| |/ /
|/| | |
channel: avoid references to non-rooted vimL list with output
|
|/ /
| |
| |
| |
| |
| |
| | |
likely fixes #7768 #7913
If multiple internal stream callbacks were recieved before vimL
callbacks got called, only invoke one vimL callback with all data.
|
|\ \
| | |
| | |
| | | |
closes #8331
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Check the return status after removing a duplicate word. Add a
log for a nonzero return status.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
win_split() does EMSG for all failure cases, so we don't need to log it.
Easiest thing to do here is ignore the return value (otherwise we need
to do some cleanup and might require some refactoring. jumpto_tag() can
deal with a failed split, so it's no big deal.
|
|/ /
| |
| |
| |
| |
| |
| | |
Looking at the implementation of u_save suggests that its failure is
a normal and expected situation (e.g. if undo isn't allowed for some
reason, it will fail). Also (most of) the other calls to u_save() in
do_put() return early.
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update vim_diff.txt with :lmap differences, update documentation on
'keymap', and add tests.
The tests added are to demonstrate the behaviour specified in the
documentation of :loadkeymap.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This means that the major way that :lmap mappings are applied works as
one would expect with macros.
This also means that having a translation with 'keymap' does not
preclude using mappings in insert mode with :imap.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is some behaviour that we keep with the recent changes, and some
behaviour that we change.
Instetad of having one failing test covering all behaviour, we split
the test into two.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If the mental model of :lmap mappings is a translation between your
keyboard and vim proper, then they should take preference over :imap
(and other) mappings. This patch makes that happen.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The mental model of :lmap and 'keymap' is of a transformation done
before anything else. Hence when recording a macro, or writing to a
scriptfile, the transformed keys should be recorded instead of the keys
before the transformation.
|
| | |
| | |
| | |
| | |
| | | |
close #5652
Start by adding some tests
|
| | | |
|
|\ \ \
| | | |
| | | | |
always run timer close callback after due callback
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
fixes #6974
Before this change, the partial could be freed before the last due
callback got invoked, which caused a use-after-free when the due
callback called the partial.
|
|/ /
| |
| |
| | |
closes https://github.com/neovim/node-client/issues/72
|
|\ \
| | |
| | |
| | | |
closes #7833
ref #8029
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
builtin commands are never buffer-local, so we can return empty for that
case.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Support more :command attributes:
-bang
-bar
-register
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Always return all keys, with at least NIL value.
- Require `opts` param to be {"builtin":false}
- Validate `opts` param
|
|/ / |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make `:verbose set ...` show when an option was last modified by an
API client or Lua script/chunk. In the case of an API client, the
channel ID is displayed.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
timestamp.strftime('%s') workaround only works on unix.
ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Use the same pattern as nvim_call_function (_call_function).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This condition is not perfectly reliable:
(did_emsg && force_abort && !current_exception)
The more proper way to check for abort-causing non-exception errors is
to set up `msg_list` using the "pattern" given by do_cmdline().
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Return VimL errors instead of generic errors for:
- nvim_call_function
- nvim_call_dict_function
- Fix tests which were silently broken before this change.
This violates #6150 where we agreed not to translate API errors. But
that can be fixed later.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
ref #8372
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OpenBSD's man returns all candidates when searching with -w instead of
the first one it finds. So this patch takes the first one if multiple
entries are found.
closes #8372
closes #8341
|