Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | test: remove skip for 32-bit MSVC (#21030) | dundargoc | 2022-11-14 | |
| | | | We don't support 32-bit windows anymore so it's not needed. | |||
* | test: introduce skip() #21010 | dundargoc | 2022-11-13 | |
| | | | | | | | This is essentially a convenience wrapper around the `pending()` function, similar to `skip_fragile()` but more general-purpose. Also remove `pending_win32` function as it can be replaced by `skip(iswin())`. | |||
* | fix(paste): feed keys as typed in cmdline mode (#20959) | zeertzjq | 2022-11-06 | |
| | ||||
* | docs: various #12823 | Justin M. Keyes | 2022-10-09 | |
| | | | | | | | | | | | | - increase python line-length limit from 88 => 100. - gen_help_html: fix bug in "tag" case (tbl_count => tbl_contains) ref #15632 fix #18215 fix #18479 fix #20527 fix #20532 Co-authored-by: Ben Weedon <ben@weedon.email> | |||
* | fix(api): dynamically allocate line buffer for nvim_out_write (#20537) | zeertzjq | 2022-10-08 | |
| | ||||
* | Merge pull request #20364 from zeertzjq/parse-cmd-omit | bfredl | 2022-09-30 | |
|\ | | | | | fix(api)!: nvim_parse_cmd omit "count" "range" "reg" if not supported | |||
| * | fix(api)!: nvim_parse_cmd omit "count" "range" "reg" if not supported | zeertzjq | 2022-09-30 | |
| | | ||||
* | | feat(nvim_cmd): allow using first argument as count | Famiu Haque | 2022-09-29 | |
|/ | | | | | Allows `nvim_cmd` to use the first argument as count for applicable commands. Also adds support for non-String arguments to `nvim_cmd`. | |||
* | fix(api): fix nvim_cmd crash with filename expansion (#20397) | zeertzjq | 2022-09-29 | |
| | ||||
* | fix(options): mark `winhighlight` as list style (#19477) | ii14 | 2022-09-07 | |
| | | | | | Also add missing fcs, lcs and winhighlight to list of key-value options for `vim.opt`. Co-authored-by: ii14 <ii14@users.noreply.github.com> | |||
* | fix(api)!: correctly deal with number before :tab | zeertzjq | 2022-09-02 | |
| | | | | | | Now nvim_parse_cmd and nvim_create_user_command use a "tab" value which is the same as the number passed before :tab modifier instead of the number plus 1, and "tab" value is -1 if :tab modifier is not used. | |||
* | feat(api): add support for :horizontal modifier | zeertzjq | 2022-09-01 | |
| | ||||
* | fix(api): avoid side effects with nvim_parse_cmd (#19890) | zeertzjq | 2022-08-22 | |
| | | | | Save and restore the cursor and last search pattern and do not change search history. | |||
* | fix(api): nvim_exec and nvim_cmd restore msg_col when capturing output (#19789) | zeertzjq | 2022-08-16 | |
| | | | | This matches the code in execute_common(), preventing messages after the API call from being printed at the wrong column. | |||
* | fix(api): `vim.cmd.make` crashes when argument count isn't 1 (#19701) | Famiu Haque | 2022-08-10 | |
| | | | Closes #19696 | |||
* | fix(api): nvim_cmd handle 0 range (#19655) | Lewis Russell | 2022-08-06 | |
| | | | Fixes #19608 | |||
* | fix(api): make nvim_cmd mods.silent work correctly (#19489) | notomo | 2022-07-25 | |
| | ||||
* | fix(api): fix nvim_parse_cmd interfere with printing line in Ex mode (#19400) | zeertzjq | 2022-07-17 | |
| | ||||
* | fix(api): do not switch win/buf if getting option in current win/buf (#19383) | zeertzjq | 2022-07-16 | |
| | ||||
* | feat(api): add `unsilent` to command APIs | zeertzjq | 2022-07-03 | |
| | ||||
* | vim-patch:8.0.1570: can't use :popup for a menu in the terminal | zeertzjq | 2022-07-01 | |
| | | | | | | | Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) Solution: Make :popup work in the terminal. Also fix that entries were included that don't work in the current state. https://github.com/vim/vim/commit/29a2c08d792e4458a0af8371f5341394829fce29 | |||
* | feat(api): make `nvim_parse_cmd` and `nvim_cmd` support :filter | Famiu Haque | 2022-06-28 | |
| | | | | | | Also fixes a memory leak in `parse_cmdline`. Closes #18954. | |||
* | fix(api): nvim_parse_cmd check for ambiguous user command (#19116) | zeertzjq | 2022-06-27 | |
| | ||||
* | feat(api): add "buf" and "win" to nvim_get_option_value | Gregory Anders | 2022-06-20 | |
| | | | | These mirror their counterparts in nvim_set_option_value. | |||
* | fix(tests): check for EOF on exit of nvim properly | bfredl | 2022-06-13 | |
| | ||||
* | Merge pull request #18528 from lewis6991/setwinopt | bfredl | 2022-05-25 | |
|\ | | | | | feat(api): add `win` and `buf` to `nvim_set_option_value` | |||
| * | feat(api): add win and buf to nvim_set_option_value | Lewis Russell | 2022-05-17 | |
| | | | | | | | | Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com> | |||
* | | fix: make `nvim_cmd` not suppress errors inside key mapping | Famiu Haque | 2022-05-19 | |
| | | | | | | | | Closes #18632 | |||
* | | feat(ui): add `'winbar'` | Famiu Haque | 2022-05-18 | |
|/ | | | | | | | Adds support for a bar at the top of each window, enabled through the `'winbar'` option. Co-authored-by: Björn Linse <bjorn.linse@gmail.com> | |||
* | fix(api): nvim_eval_statusline should validate input #18347 | deforde | 2022-05-15 | |
| | | | | | Fix #18112 Make an exception for strings starting with "%!". | |||
* | fix(api): make `nvim_cmd` work correctly with empty arguments list (#18527) | Famiu Haque | 2022-05-11 | |
| | | | Closes #18526. | |||
* | feat(api): add `nvim_cmd` | Famiu Haque | 2022-05-11 | |
| | | | | Adds the API function `nvim_cmd` which allows executing an Ex-command through a Dictionary which can have the same values as the return value of `nvim_parse_cmd()`. This makes it much easier to do things like passing arguments with a space to commands that otherwise may not allow it, or to make commands interpret certain characters literally when they otherwise would not. | |||
* | fix(api): make `nvim_parse_cmd` work correctly with both range and count | Famiu Haque | 2022-05-07 | |
| | | | | | | | | It seems range and count can be used together in commands. This PR fixes the behavior of `nvim_parse_cmd` for those cases by removing the mutual exclusivity of "range" and "count". It also removes range line number validation for `nvim_parse_cmd` as it's not its job to validate the command. | |||
* | fix(api): make `nvim_parse_cmd` propagate errors | Famiu Haque | 2022-05-05 | |
| | | | | | Makes `nvim_parse_cmd` propagate any errors that occur while parsing to give the user a better idea of what's wrong with the command. | |||
* | refactor(api): make `range` in `nvim_parse_cmd` an array | Famiu Haque | 2022-05-05 | |
| | | | | | | | | Changes the `range` value in `nvim_parse_cmd` into an array to describe range information more concisely. Also makes `range` and `count` be mutually exclusive by making count `-1` when command takes a range instead of a count. Additionally corrects the behavior of `count` for built-in commands by making the default count `0`. | |||
* | feat(nvim_parse_cmd): add range, count, reg #18383 | Famiu Haque | 2022-05-04 | |
| | | | | | Adds range, count and reg to the return values of nvim_parse_cmd. Also makes line1 and line2 be -1 if the command does not take a range. Also moves nvim_parse_cmd to vimscript.c because it fits better there. | |||
* | feat(api): add `nvim_parse_cmdline` | Famiu Haque | 2022-04-30 | |
| | | | | Adds an API function to parse a command line string and get command information from it. | |||
* | test: correct order of arguments to eq() and neq() | zeertzjq | 2022-04-26 | |
| | ||||
* | fix(paste): ignore mappings in Cmdline mode (#18114) | Eden Zhang | 2022-04-17 | |
| | ||||
* | fix(event-loop): duplicate display updating logic in vgetorpeek() (#17913) | zeertzjq | 2022-03-30 | |
| | ||||
* | fix(api, lua): return NIL on failure to find converted function (#17779) | zeertzjq | 2022-03-20 | |
| | ||||
* | fix(paste): escape control characters in Cmdline mode | zeertzjq | 2022-03-15 | |
| | ||||
* | test(paste): add tests with virtualedit=onemore | zeertzjq | 2022-03-15 | |
| | ||||
* | test(paste): reorganize tests and add tests for linewise Visual mode | zeertzjq | 2022-03-15 | |
| | ||||
* | fix(paste): deal with trailing new line in chunk | zeertzjq | 2022-03-15 | |
| | ||||
* | fix(paste): avoid edges cases caused by empty chunk | zeertzjq | 2022-03-15 | |
| | ||||
* | fix(paste): deal with eol and eof in Visual mode | zeertzjq | 2022-03-15 | |
| | ||||
* | fix(paste): don't move cursor past the end of pasted text in Normal mode | zeertzjq | 2022-03-15 | |
| | ||||
* | fix(paste): use getcmdtype() to determine whether in cmdline mode | zeertzjq | 2022-03-15 | |
| | ||||
* | feat(api): relax statusline fillchar width check | zeertzjq | 2022-03-10 | |
| | | | | Treat fillchar as single-width even if it isn't. |