aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
Commit message (Collapse)AuthorAge
...
* | | Merge #7454 'ui: ext_wildmenu'Justin M. Keyes2017-10-31
|\ \ \ | |_|/ |/| | | | | | | | closes #6168 ref #5686
| * | ui: allow external ui to draw wildmenuDongdong Zhou2017-10-29
|/ / | | | | | | | | Co-authored-by: Björn Linse <bjorn.linse@gmail.com> Updated docs and tests.
* | ext_cmdline: rename cmdline_char to cmdline_special_charBjörn Linse2017-10-26
| |
* | ext_cmdline: extend "function" to generic "block" mechanismBjörn Linse2017-10-26
| |
* | ext_cmdline: add support for highlightingBjörn Linse2017-10-26
| |
* | ext_cmdline: lintDongdong Zhou2017-10-26
| |
* | ext_cmdline: added indentDongdong Zhou2017-10-26
| |
* | ext_cmdline: Add function block supportDongdong Zhou2017-10-26
| |
* | ext_cmdline: added cmdline levelDongdong Zhou2017-10-26
| | | | | | | | add cchar_to_string
* | ext_cmdline: change to use ui_callDongdong Zhou2017-10-26
| |
* | bufhl: support creating new groupsBjörn Linse2017-10-19
|/
* test: nvim_get_hl_by_name/by_id #7082Justin M. Keyes2017-10-08
| | | | | - test all properties - test failure modes
* Merge #7082 'api: nvim_get_hl_by_name/by_id'Justin M. Keyes2017-10-08
|\
| * Changed prototypes to accept a boolean "rgb"Matthieu Coudron2017-09-30
| |
| * Increased test coverage for RGB and ctermMatthieu Coudron2017-09-30
| |
| * Adds nvim_get_hl_by_name/by_idMatthieu Coudron2017-09-30
|/ | | | | | | | | ...in order to retrieve highlights. Added test/functional/api/highlight_spec.lua HL_NORMAL is not really a good name, since it's more like an empty attribute than the normal's one. If one pays attention, syn_cterm_attr2entry is never called with attr=0 because it's always special cased before. I suggest in subsequent PRs we remove the ATTR_OFF and just insert an EMPTY ATTR/RESET_ATTR/UNINITIALIZED for id 0.
* doc: channel, eventloopJustin M. Keyes2017-09-05
|
* doc/api: nvim_out_write() and friendsJustin M. Keyes2017-08-18
| | | | References #7178
* api/helpers: Fix typoZyX2017-08-06
|
* api/helpers: Clarify try_start() usageZyX2017-08-06
|
* *: Fix clint errorsZyX2017-07-18
|
* api helpers: Also save and restore did_emsgZyX2017-07-18
|
* api helpers: Save/restore more values in try_enter/try_leaveZyX2017-07-16
| | | | This fixes memory leak reported by ASAN. This also somehow fixes test40, though I have no idea why except that that test yields memory leak report.
* Merge branch 'master' into colored-cmdlineZyX2017-07-15
|\
| * doc: api.txt; deprecate <special>Justin M. Keyes2017-07-08
| |
| * 'cpoptions': remove "<" flag; ignore <special>Justin M. Keyes2017-07-08
| | | | | | | | Closes #6937 "nvim_get_keymap output is unreliable"
| * 'cpoptions': remove "k" flagJustin M. Keyes2017-07-08
| | | | | | | | | | This was already removed in 3baba1e7bc66, except the documentation and CPO_VI entry. find_term_bykeys() is irrelevant to Nvim.
| * dict_get_value(): name the missing key (#6952)Matthieu Coudron2017-07-03
| |
| * Merge #6789 from ZyX-I/lua-pathJustin M. Keyes2017-06-27
| |\ | | | | | | lua: Add paths from &runtimepath to package.path and package.cpath
| | * api/vim: Fix nvim_list_runtimepathsZyX2017-05-23
| | | | | | | | | | | | | | | | | | | | | | | | It used to 1. Always omit last component in runtimepath. 2. Always omit trailing empty item and leave uninitialized memory in place of it.
* | | ex_getln: Save and restore try stateZyX2017-07-01
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: when processing cycle such as :for pat in [' \ze*', ' \zs*'] : try : let l = matchlist('x x', pat) : $put ='E888 NOT detected for ' . pat : catch : $put ='E888 detected for ' . pat : endtry :endfor `:let l = …` throwing an error causes this error to be caught after color_cmdline attempts to get callback for highlighting next line (the one with `$put = 'E888 NOT…`). Saving/restoring state prevents this from happening.
* | bufhl: fix moveBjörn Linse2017-06-24
| |
* | bufhl: use kbtree for bufhlBjörn Linse2017-06-24
| |
* | vim-patch:8.0.0607 (#6879)Daniel Hahler2017-06-11
| | | | | | | | | | | | | | | | Problem: When creating a bufref, then using :bwipe and :new it might get the same memory and bufref_valid() returns true. Solution: Add br_fnum to check the buffer number didn't change. https://github.com/vim/vim/commit/45e5fd135da5710f24a1acc142692f120f8b0b78
* | lint: fix indentation of FUNC_ATTR linesBjörn Linse2017-06-03
| |
* | get_keymap API (#6236)TJ DeVries2017-05-25
|/ | | | | | | * Add api function get keymap nvim_get_keymap(mode) nvim_buf_get_keymap(buffer, mode)
* api/nvim_replace_termcodes: Document keycodes behaviorJustin M. Keyes2017-05-20
|
* api: execute lua directly from the remote apiBjörn Linse2017-05-13
|
* api: always use prefix FUNC_API, also change NOEVAL to REMOTE_ONLYBjörn Linse2017-05-10
|
* api: add metadata for ui eventsBjörn Linse2017-05-10
|
* api: use generated events for popupmenu and tablineBjörn Linse2017-05-10
|
* api: generate ui eventsBjörn Linse2017-05-10
|
* api/window: Fix memory leak in nvim_win_set_cursorZyX2017-05-08
|
* Merge branch 'master' into luaviml'/luaZyX2017-05-08
|\
| * api: deprecate obsolete nvim_buf_get_number functionBjörn Linse2017-04-30
| |
| * api/nvim_get_mode: Use child-queue instead of "priority".Justin M. Keyes2017-04-28
| |
| * input.c: Process only safe events before blocking.Justin M. Keyes2017-04-28
| | | | | | | | | | Introduce multiqueue_process_priority() to process only events at or above a certain priority.
| * api: nvim_get_mode()Justin M. Keyes2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Asynchronous API functions are served immediately, which means pending input could change the state of Nvim shortly after an async API function result is returned. nvim_get_mode() is different: - If RPCs are known to be blocked, it responds immediately (without flushing the input/event queue) - else it is handled just-in-time before waiting for input, after pending input was processed. This makes the result more reliable (but not perfect). Internally this is handled as a special case, but _semantically_ nothing has changed: API users never know when input flushes, so this internal special-case doesn't violate that. As far as API users are concerned, nvim_get_mode() is just another asynchronous API function. In all cases nvim_get_mode() never blocks for more than the time it takes to flush the input/event queue (~µs). Note: This doesn't address #6166; nvim_get_mode() will provoke #6166 if e.g. `d` is operator-pending. Closes #6159
| * api: nvim_ui_attach(): Flatten ext_* options.Justin M. Keyes2017-04-26
| |
| * api/ui: externalize tablineJustin M. Keyes2017-04-26
| | | | | | | | | | | | - Work with a bool[] array parallel to the UIWidget enum. - Rename some functions. - Documentation.