| Commit message (Collapse) | Author | Age |
... | |
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `internal` param is difficult to explain, and will rarely be
anything but `true`. To avoid it, use a hack: check if the resolved
dict value starts with "function(".
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Add test coverage for errors.
- Rename, rearrange.
|
| | | | |
|
|/ / / |
|
| | | |
|
| | |
| | |
| | | |
Fixes #8351
|
| | |
| | |
| | | |
ref #6796
|
|\ \ \
| | | |
| | | | |
travis: Enable ccache
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
[RFC] screen: avoid artifacts
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Put back the condition that was accidentally removed in
https://github.com/neovim/neovim/commit/d42f934bcb3e9e876e5e7ba0ab5cd824175fd10c
- if (enc_utf8 && ScreenLinesUC[off] != 0)
- bytes[utfc_char2bytes(off, bytes)] = NUL;
- else if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e) {
- bytes[0] = ScreenLines[off];
- bytes[1] = ScreenLines2[off];
- bytes[2] = NUL;
- } else if (enc_dbcs && MB_BYTE2LEN(bytes[0]) > 1) {
- bytes[1] = ScreenLines[off + 1];
- bytes[2] = NUL;
- }
+ bytes[utfc_char2bytes(off, bytes)] = NUL;
Fixes #8357
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
messages: redraw tabline if it was overdrawn by messages
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fixes #8354
Regression from #8088, where we try to avoid clearing the screen
if not absolutely necessary
|