aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api
Commit message (Collapse)AuthorAge
* fix(vim.opt): Fix #14668 Now correctly handles unescaped commas in isfname styleTJ DeVries2021-06-29
|
* api: include border in nvim_win_get_configCorey Williamson2021-06-10
|
* api(nvim_open_win): add "noautocmd" optionSean Dewar2021-06-01
| | | | | | This option, when set, stops nvim_open_win() from potentially firing buffer-related autocmd events (BufEnter, BufLeave and BufWinEnter in the case of nvim_open_win()).
* Fix crash on `:echo get_all_options_info()`glacambre2021-05-26
| | | | | | Iterating over PARAM_COUNT is wrong as PARAM_COUNT also counts the last element of the options array, which has a NULL fullname in order to signal the end of the array.
* Merge pull request #14243 from shadmansaleh/Allow_cterm_colors_nvim_set_hlBjörn Linse2021-05-11
|\ | | | | API: Adding cterm support to nvim_set_hl
| * Improvements to testsshadmansaleh2021-04-22
| |
| * Fix lualint warningsshadmansaleh2021-04-03
| |
| * Add tests for nvim_set_hl()shadmansaleh2021-04-03
| |
* | api: fix nvim_exec() silencing behaviour (#14413)Shadman2021-04-21
| | | | | | | | | | Previously nvim_exec would silent output no matter whether output is true or false. Now output is only silent and captured when output is true.
* | Merge pull request #14091 from euclidianAce/euclidianAce/nvim_win_hideBjörn Linse2021-03-28
|\ \ | |/ |/| api: add vim.api.nvim_win_hide
| * api: add vim.api.nvim_win_hideCorey Williamson2021-03-09
| |
* | api: allow open non-current buffer as terminal (+ xmas bonus)Björn Linse2021-03-12
|/ | | | vim.api.nvim_chan_send(vim.api.nvim_open_term(0), io.open("/path/to/smile.cat", "r"):read("*a"))
* fix(notify): Expected 3 arguments error (#13905)notomo2021-02-09
|
* Merge pull request #13899 from chentau/set_text_fixBjörn Linse2021-02-08
|\ | | | | correctly mark changed regions for set_text
| * correctly mark changed regions for set_textchentau2021-02-07
| |
* | test: test vim-notifyMatthieu Coudron2021-02-02
|/
* Merge pull request #13813 from notomo/fix-nvim-echo-clearBjörn Linse2021-01-22
|\ | | | | api(echo): should clear cmdline before echo
| * api(echo): should clear cmdline before echonotomo2021-01-21
| |
* | Merge pull request #13679 from chentau/gravityBjörn Linse2021-01-22
|\ \ | |/ |/| Extmarks api: allow for gravity
| * forgot to update testschentau2021-01-05
| |
| * allow for extmark gravity to be set through apichentau2021-01-03
| |
* | api: nvim_echonotomo2021-01-20
| |
* | input: consider "-- more --" state to be blocking, fixes #11899Björn Linse2021-01-04
| |
* | fix: check for valid buffer handles in modify_keymap (#13543)Thomas Vigouroux2021-01-03
|/ | | | Fixes #13541 Neovim would crash when trying to map a key on non existant buffer
* api: set_text: more tests, and fixing lintchentau2021-01-01
| | | | | | | | removing pending virtcol tests Allow passing in empty array as a shorthand for array with empty string; add more documentation add check for start_row as well
* api: set_text: rebase, update to new api, and add more testsTony Chen2021-01-01
|
* api: set_text: fix validation and some issuesBlaž Hrastnik2021-01-01
| | | | | | | | | | | | fix double free because intermediary lines weren't xmemdup'd. NL-for-NUL dance. Normalize row indices and perform more validation. Adjust the cursor position if it's on the right side of the replacement. Tests and documentation.
* rpc: don't handle stale requests on already closed channelBjörn Linse2020-12-23
|
* api/options: cleanup the fixupBjörn Linse2020-12-04
|
* api/options: fixupTJ DeVries2020-12-04
|
* api: enable nvim_get_runtime_file to find subdirectoriesBjörn Linse2020-11-24
|
* feat(lua): improve error message to make it actionable (#13276)Alvaro Muñoz2020-11-13
| | | * improve error message to make it actionable
* api: nvim_buf_deleteTJ DeVries2020-10-22
|
* Merge pull request #13118 from bfredl/mudhollandBjörn Linse2020-10-19
|\ | | | | A Mudholland Dr. Recast
| * A Mudholland Dr. RecastBjörn Linse2020-10-19
| | | | | | | | | | The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense.
* | test/vim.validate(): assert normalized stacktraceJustin M. Keyes2020-10-05
|/ | | | | | | - The previous commit lost information in the tests. Instead, add some more "normalization" substitutions in pcall_err(), so that the general shape of the stacktrace is included in the asserted text. - Eliminate contains(), it is redundant with matches()
* extmark: fix decoration ploblems with extmarkerw72020-10-02
| | | | | | 54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
* api(extmarks): allow extrange past final newlineThomas Vigouroux2020-09-17
|
* API: be less breaking in the christmas tree decorationsBjörn Linse2020-09-04
|
* decor: sketch new decorations APIBjörn Linse2020-09-03
| | | | | | | | return decorations back lol no nvim_buf_get_virtual_text share decorations that are hl only to avoid alloc avalanche
* extmark: move id to dict in nvim_buf_set_extmarkBjörn Linse2020-09-03
|
* lua: Use #var instead of deprecated table.getn(var)James McCoy2020-07-31
|
* Merge pull request #12376 from erw7/fix-stack-overflow-on-input-enqueueMatthieu Coudron2020-06-08
|\ | | | | input: fix stack overflow
| * nvim_input: add testerw72020-05-25
| |
* | vim-patch:8.2.0491: cannot recognize a <script> mapping using maparg()Jan Edmund Lazo2020-06-04
| | | | | | | | | | | | Problem: Cannot recognize a <script> mapping using maparg(). Solution: Add the "script" key. (closes vim/vim#5873) https://github.com/vim/vim/commit/2da0f0c445da3c9b35b2a0cd595d10e81ad2a6f9
* | API: nvim_create_buf: unset 'modeline' in scratch-buffer #12379Justin M. Keyes2020-05-29
|/ | | | Although 'nomodeline' is not strictly part of the definition of a "scratch-buffer" it is obviously the right default.
* paste: support replace mode (#11945)Jesse2020-05-05
| | | | | | * paste: support replace mode * Clean up Co-authored-by: Jesse Bakker <git@jessebakker.com>
* api: add nvim_get_runtime_file for finding runtime filesBjörn Linse2020-02-07
|
* shed biking: it's always extmarks, never marks extendedBjörn Linse2020-01-20
|
* extmarks/bufhl: reimplement using new marktree data structureBjörn Linse2020-01-16
| | | | | | | | | | | | | | | | | | | | Add new "splice" interface for tracking buffer changes at the byte level. This will later be reused for byte-resolution buffer updates. (Implementation has been started, but using undocumented "_on_bytes" option now as interface hasn't been finalized). Use this interface to improve many edge cases of extmark adjustment. Changed tests indicate previously incorrect behavior. Adding tests for more edge cases will be follow-up work (overlaps on_bytes tests) Don't consider creation/deletion of marks an undoable event by itself. This behavior was never documented, and imposes complexity for little gain. Add nvim__buf_add_decoration temporary API for direct access to the new implementation. This should be refactored into a proper API for decorations, probably involving a huge dict. fixes #11598