aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
Commit message (Collapse)AuthorAge
...
* func_attr.h: FUNC_ATTR_PRINTFMichael Hoffmann2018-09-23
|
* startup: always wait for UI with --embed, unless --headless also is suppliedBjörn Linse2018-09-22
|
* buffer: add support for virtual text annotationsBjörn Linse2018-09-17
|
* Merge pull request #8915 from rickyz/line_wrappingBjörn Linse2018-09-09
|\ | | | | Fix terminal line wrapping detection in the TUI.
| * tui: Hint wrapped lines to terminals.Ricky Zhou2018-09-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when neovim would wrap a line across multiple lines, terminal emulators could not detect that the lines represent a single wrapped line as opposed to several separate lines. As a result, many terminals' selection/copying functionality would treat a wrapped line as several newline-delimited lines. Fix this by reenabling a "special trick" from Vim. When a line is wrapped, write the last character of that line followed by the first character of the next line to the terminal. This hints to the terminal that the next line is a continuation of the current line. Extends the raw_line event with a "wrap" parameter which controls when to do wrap hinting.
* | API: Avoid overrun when formatting error-messageJustin M. Keyes2018-09-05
|/ | | | | | | msgpack_rpc_to_object (called by handle_request .. msgpack_rpc_to_array) always NUL-terminates API Strings. But handle_request .. msgpack_rpc_get_handler_for operates on a raw msgpack_object, before preparation.
* ext_cmdline: use new highlight representation for cmdline_blockBjörn Linse2018-08-27
| | | | | | | | | Make sure cmdline updates will receive highlight specifications the same way as screen cells. This is controlled by the ext_newgrid option so nothing is changed by default (as screen cells are also not changed by default). This was already done for the cmdline itself in #8221, this extends it to cmdline_block. Which currently doesn't store highlights, but the placeholder should be one that makes sense for future use.
* runtime/doc: fix broken links found by `make html`Justin M. Keyes2018-08-25
|
* highlight: HlAttrs is a value type; treat it like suchBjörn Linse2018-08-13
|
* API: update docs WRT behaviours/methods for unloaded buffers #7688Peter Hodge2018-07-25
|
* API: add nvim_buf_is_loaded() #7688Peter Hodge2018-07-25
|
* API: buf_get_lines, buf_line_count handle unloaded buffers #7688Peter Hodge2018-07-25
|
* ui: fix glitches where scrolling region affects clearing of screenBjörn Linse2018-07-24
| | | | | | | | the first implemented UI protocol clients (python-gui and builitin TUI) allowed the cleared region to be restricted by setting the scroll region. This was never used by nvim though, and not documented and implemented by newer clients, to check we remain compatible with both kind of clients, ensure the scroll region is in a reset state.
* ui: use line-based rather than char-based updates in screen.cBjörn Linse2018-07-21
| | | | | | | | | | | | | Add ext_newgrid and ext_hlstate extensions. These use predefined highlights and line-segment based updates, for efficiency and simplicity.. The ext_hlstate extension in addition allows semantic identification of builtin and syntax highlights. Reimplement the old char-based updates in the remote UI layer, for compatibility. For the moment, this is still the default. The bulitin TUI uses the new line-based protocol. cmdline uses curwin cursor position when ext_cmdline is active.
* highlight: refactor to use stateful representationBjörn Linse2018-07-21
| | | | | This allows us to keep track of the source higlight groups, and not only the final combined highlights.
* highlight: extract low-level highlight logic from syntax, uiBjörn Linse2018-07-21
|
* docJustin M. Keyes2018-07-18
|
* dispatch.c: changed api_set_error_callmicha2018-07-15
|
* channel.c: refactor spaghetti codemicha2018-07-14
| | | | | | | | | | | | | | | | | | | | channel.c: WIP remove redundant method check and added FUNC_ATTR_NONNULL_ALL macro channel.c channel_defs.h helpers.c: added Error field to RequestEvent, added no_op handler func channel.c: use const char* instead of string and cleanup channel.c; channel_defs.h; helpers.c: removed error from event again; send errors directly to the channel without using handlers and events channel.c: fixed memory leak and lint errors api/private/dispatch.c; api/vim.c; msgpack_rpc/channel.c msgpack_rpc/helpers.c added Error* field to msgpack_get_handler_for; further refactored channel.c channel.c:323 changed order of evaluation in if statement channel.c: removed superflous whitespace dispatch.c: review comment
* Improved version of #8613David Hotham2018-06-25
| | | | This one behaves correctly eg in the presence of unicode
* API: nvim_win_set_cursor: set curswant #8613David Hotham2018-06-25
| | | Fixes #8591
* *: Replace b_changedtick with new always-inline functionsZyX2018-06-22
| | | Ref #8474
* doc: job/channel, misc #7783Justin M. Keyes2018-06-11
| | | | | | | | | | | doc: termios defaults. ref #6992 doc: :help shell-powershell doc: provider: Python minimum version is 2.7, 3.4 doc: remove :!start special-case. #5844 doc: mention #7917 change which accepts empty Array for Dictionary parameter doc: <Cmd> pseudokey doc: lmap change #5658 doc: -s, -es
* refactor: buf_collect_lines (#8509)Justin M. Keyes2018-06-09
| | | Move redundant common logic into a function.
* Merge #7917 'API: buffer updates'Justin M. Keyes2018-06-08
|\
| * Add empty options dict to buf_attachKillTheMule2018-05-23
| |
| * Send changedtick as first event if buffer contents weren't requestedKillTheMule2018-05-23
| |
| * Some renamings and doc changesKillTheMule2018-05-23
| |
| * Enable -WconversionKillTheMule2018-05-23
| |
| * The grand renamingKillTheMule2018-05-23
| |
| * LintKillTheMule2018-05-23
| |
| * Make separate functions to start/stop live updatesKillTheMule2018-05-23
| |
| * Adjust FUNC_API_SINCE for nvim_buf_live_updatesKillTheMule2018-05-23
| |
| * Add argument to not send a buffers content when updates are enabledKillTheMule2018-05-23
| | | | | | | | Add a test.
| * API: Implement buffer updatesPeter Hodge2018-05-23
| | | | | | | | | | Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
* | API: validation: mention invalid method name (#8489)Justin M. Keyes2018-06-07
| |
* | tui: handle termguicolors rgb value in bridge for nowBjörn Linse2018-06-02
| | | | | | | | | | When/if TUI/bridge teardown is refactored to use events, this commit can be reverted.
* | nvim_list_uis: include channel idBjörn Linse2018-06-01
|/
* api: list information about all channels/jobs.Björn Linse2018-05-23
| | | | | Fire autocmd when channel opens or its info changes. Add a way for API clients can describe themselves.
* 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
|\
| * 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.
* | nvim_eval: fix memory leakJustin 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.