aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | Merge #5658 'Apply :lmap in macros'Justin M. Keyes2018-05-17
|\ \
| * | clintMatthew Malcomson2018-03-14
| | |
| * | Update documentationMatthew Malcomson2018-03-14
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | 'keymap' now uses :lmap instead of :lnoremapMatthew Malcomson2018-03-14
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Split :lnoremap test into done and pendingMatthew Malcomson2018-03-14
| | | | | | | | | | | | | | | | | | | | | 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.
| * | :lnoremap mappings should not be remapped when replaying a recordingMatthew Malcomson2018-03-14
| | |
| * | Ensure :lmap mappings take preferenceMatthew Malcomson2018-03-14
| | | | | | | | | | | | | | | | | | 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.
| * | Record :lmap transformed keys in gotchars()Matthew Malcomson2018-03-14
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Account for :lmap in macrosMatthew Malcomson2018-03-14
| | | | | | | | | | | | | | | close #5652 Start by adding some tests
| * | Add some basic tests for macrosMatthew Malcomson2018-03-14
| | |
* | | Merge pull request #8383 from bfredl/timercrashBjörn Linse2018-05-15
|\ \ \ | | | | | | | | always run timer close callback after due callback
| * | | timer: make sure to free callback after the last timer due callbackBjörn Linse2018-05-13
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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.
* / | test: nodejs_spec: fix test after upstream API changeJustin M. Keyes2018-05-15
|/ / | | | | | | closes https://github.com/neovim/node-client/issues/72
* | Merge #8375 'API: nvim_get_commands'Justin M. Keyes2018-05-12
|\ \ | | | | | | | | | closes #7833 ref #8029
| * | API: nvim_get_commands(): return DictionaryJustin M. Keyes2018-05-12
| | |
| * | API: nvim_get_commands(): builtin is irrelevant for buffer-localJustin M. Keyes2018-05-12
| | | | | | | | | | | | | | | builtin commands are never buffer-local, so we can return empty for that case.
| * | API: nvim_get_commands(): more attributesJustin M. Keyes2018-05-11
| | | | | | | | | | | | | | | | | | | | | Support more :command attributes: -bang -bar -register
| * | API: nvim_get_commands(): always return keysJustin M. Keyes2018-05-11
| | | | | | | | | | | | | | | | | | - Always return all keys, with at least NIL value. - Require `opts` param to be {"builtin":false} - Validate `opts` param
| * | API: nvim_get_commands()Nimit Bhardwaj2018-05-11
|/ /
* | Merge #8329 'API: Make nvim_set_option() update `:verbose set …`'Justin M. Keyes2018-05-11
|\ \
| * | lintb-r-o-c-k2018-05-10
| | |
| * | api: Make nvim_set_option() update `:verbose set ...`b-r-o-c-k2018-05-03
| | | | | | | | | | | | | | | | | | 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.
* | | Merge #8371 'API: more reliable/descriptive VimL errors'Justin M. Keyes2018-05-10
|\ \ \
| * | | msgpack.vim: require python3 on WindowsJustin M. Keyes2018-05-10
| | | | | | | | | | | | | | | | | | | | | | | | timestamp.strftime('%s') workaround only works on unix. ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
| * | | nvim_eval: fix memory leakJustin M. Keyes2018-05-10
| | | |
| * | | test: API: fix tests after improved error captureJustin M. Keyes2018-05-10
| | | |
| * | | API: nvim_eval(): return non-generic VimL errorsJustin M. Keyes2018-05-09
| | | | | | | | | | | | | | | | Use the same pattern as nvim_call_function (_call_function).
| * | | API: better way to capture abort-causing non-exception errorsJustin M. Keyes2018-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * | | API: return non-generic VimL errorsJustin M. Keyes2018-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * | | msgpack.vim: fix syntax errors, python2 errorsJustin M. Keyes2018-05-09
| | | |
| * | | docJustin M. Keyes2018-05-09
| | | |
* | | | man.vim: s:get_path(): trim newline in all casesJustin M. Keyes2018-05-10
| | | | | | | | | | | | | | | | ref #8372
* | | | UI: redraw statusline when entering cmdline (#8347)raichoo2018-05-10
| | | |
* | | | man.vim: get() first item if -w returns multiple paths #8372Jon Bernard2018-05-10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge #8353 'API: nvim_call_dict_function'Justin M. Keyes2018-05-06
|\ \ \
| * | | API: nvim_call_dict_function: expect actual function, not nameJustin M. Keyes2018-05-06
| | | |
| * | | API: nvim_call_dict_function: eliminate `internal` paramJustin M. Keyes2018-05-06
| | | | | | | | | | | | | | | | | | | | | | | | 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(".
| * | | refactor: nvim_call_dict_functionJustin M. Keyes2018-05-06
| | | | | | | | | | | | | | | | | | | | - Add test coverage for errors. - Rename, rearrange.
| * | | API: nvim_call_dict_function #3032Sebastian Witte2018-05-06
| | | |
| * | | test: nvim_call_function: verify "too many arguments" errorJustin M. Keyes2018-05-06
|/ / /
* | | CI/travis: remove reference to non-exisiting script (#8366)Jan Viljanen2018-05-06
| | |
* | | CI/travis: fix building 32bit on linux (#8365)Jan Viljanen2018-05-06
| | | | | | | | | Fixes #8351
* | | terminal: Leave 'relativenumber' alone (#8360)raichoo2018-05-05
| | | | | | | | | ref #6796
* | | Merge pull request #8333 from jamessan/ccacheJames McCoy2018-05-04
|\ \ \ | | | | | | | | travis: Enable ccache
| * | | travis: Enable ccacheJames McCoy2018-05-01
| | | |
* | | | Merge pull request #8358 from mhinz/screenJames McCoy2018-05-04
|\ \ \ \ | | | | | | | | | | [RFC] screen: avoid artifacts
| * | | | test: screen artifactsMarco Hinz2018-05-04
| | | | |
| * | | | screen: avoid artifactsMarco Hinz2018-05-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge pull request #8356 from bfredl/tabmsgBjörn Linse2018-05-04
|\ \ \ \ \ | |/ / / / |/| | | | messages: redraw tabline if it was overdrawn by messages
| * | | | messages: redraw tabline if it was overdrawn by messagesBjörn Linse2018-05-04
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | fixes #8354 Regression from #8088, where we try to avoid clearing the screen if not absolutely necessary