Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | backport: tests(lua/on_yank): assert conditions that fail correctly #15495 | notomo | 2021-09-16 |
| | | | | | The test added in 274a3504a790a799b28ee89c75e29fb4dbdff41f does not fail if the code changes are reverted. | ||
* | backport: fix(lua): verify buffer in highlight.on_yank (#15482) | notomo | 2021-09-16 |
| | | | | | | Resolve an issue with deferred clearing of highlight failing if the buffer is deleted before the timeout by checking whether the buffer is valid first. | ||
* | feat(lua)!: register_keystroke_callback => on_key | Justin M. Keyes | 2021-09-14 |
| | | | | | | | | | Analogous to nodejs's `on('data', …)` interface, here on_key is the "add listener" interface. ref 3ccdbc570d85 #12536 BREAKING_CHANGE: vim.register_keystroke_callback() is now an error. | ||
* | backport: fix(vim.opt): vimL map string values not trimmed (#14982) | jadedpasta | 2021-09-14 |
| | | | | | | | | | | Options formatted as a list of comma-separated key-value pairs may have values that contain leading and trailing whitespace characters. For example, the `listchars` option has a default value of `"tab:> ,trail:-,nbsp:+"`. When converting this value to a lua table, leading and trailing whitespace should not be trimmed. Co-authored-by: Robert Hrusecky <robert.hrusecky@utexas.edu> | ||
* | Merge pull request #14779 from tjdevries/tjdevries/vim_opt_fixes | TJ DeVries | 2021-06-29 |
|\ | | | | | An assortment of various vim.opt fixups. | ||
| * | fix(vim.opt): Fix #14828 with empty values being incorrectly inserted | TJ DeVries | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Fix #14668 Now correctly handles unescaped commas in isfname style | TJ DeVries | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Fix #14669 whichwrap now acts as expected | TJ DeVries | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Add basic error handling | David Zhang | 2021-06-29 |
| | | |||
| * | fix(vim.opt): Get window options before setting. | ckipp01 | 2021-06-29 |
| | | | | | | | | | | | | | | This closes #14677, but I also am a little unsure if there are times where this may not be correct. However, this just changes the behavior that even if `was_set` was false, we still get for `nvim_win_get_option`. | ||
| * | fix(vim.opt): #14708 Now lets you put duplicate values in wildmode | TJ DeVries | 2021-06-29 |
| | | |||
* | | Merge pull request #14335 from chentau/extmark_delbytes | Björn Linse | 2021-06-29 |
|\ \ | |/ |/| | Extmarks: manually zero out `curbuf->deleted_bytes2` on substitute and join | ||
| * | Manually zero out deleted_bytes2 when substituting and joining lines | chentau | 2021-06-29 |
| | | |||
* | | refactor(tests): Simplify tests at functional/lua/runtime_spec | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in syntax | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in ftdetect | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in indent | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in ftplugin | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in compiler | shadmansaleh | 2021-06-11 |
| | | |||
* | | feat(runtime): Allow lua to be used in colorschemes | shadmansaleh | 2021-06-11 |
|/ | | | | * tests(runtime): move runtime/plugin tests to functional/lua/runtime_spec | ||
* | api: add nvim_win_call | notomo | 2021-06-10 |
| | |||
* | add tests in buffer_updates | jbyuki | 2021-06-09 |
| | |||
* | lua: Add vim.opt and fix scopes of vim.o (#13479) | TJ DeVries | 2021-05-28 |
| | | | | | | | | | | | | | * lua: Add vim.opt * fixup: cleaning * fixup: comments * ty clason * fixup: comments * this is the last commit. period. | ||
* | Merge pull request #14575 from vigoux/virtualedit-bytes | Thomas Vigouroux | 2021-05-20 |
|\ | | | | | fix(bufupdate): send events when inserting with virtualedit | ||
| * | fix(bufupdate): send events when inserting with virtualedit | Thomas Vigouroux | 2021-05-18 |
| | | | | | | | | | | Problem first raised https://github.com/nvim-treesitter/nvim-treesitter/issues/1304 | ||
* | | lua: use proper conversion of vim.g values | Björn Linse | 2021-05-19 |
|/ | |||
* | make get_region_bytecount end-exclusive | chentau | 2021-05-09 |
| | |||
* | refactor nvim_buf_set_lines to use extmark_splice | chentau | 2021-05-09 |
| | |||
* | splice extmarks on every line for block visual paste | chentau | 2021-05-06 |
| | |||
* | Merge pull request #14385 from chentau/extmark_delete | Björn Linse | 2021-04-17 |
|\ | | | | | Extmarks: remove `curbuf->deleted_bytes2` from `op_delete` | ||
| * | extmarks: remove curbuf->deleted_bytes2 from op_delete | chentau | 2021-04-16 |
| | | |||
* | | flush curbuf->deleted_bytes2 after calling do_move | chentau | 2021-04-14 |
|/ | |||
* | Merge pull request #14318 from chentau/extmark_luado | Björn Linse | 2021-04-13 |
|\ | | | | | extmark: splice extmarks on :luado | ||
| * | extmark: splice extmarks on :luado | chentau | 2021-04-12 |
| | | |||
* | | Merge pull request #14317 from chentau/extmark_sub | Björn Linse | 2021-04-10 |
|\ \ | | | | | | | extmark: correct extmark_splice call with substitute and inccommand when replacing with escaped backslashes | ||
| * | | extmark: correct extmark_splice call with inccommand | chentau | 2021-04-09 |
| |/ | |||
* / | extmark: fixes for noexpandtab and retab | chentau | 2021-04-02 |
|/ | |||
* | Merge pull request #14191 from chentau/extmark_blockpaste | Björn Linse | 2021-03-24 |
|\ | | | | | Extmarks: send correct buffer events on blockwise paste for nonuniform lines | ||
| * | Extmarks: correct buffer events on blockwise paste | chentau | 2021-03-23 |
| | | |||
* | | Correctly splice extmarks on tab with noexpandtab set | chentau | 2021-03-22 |
|/ | |||
* | Merge pull request #13875 from smolck/vim_fn_error_on_api | Björn Linse | 2021-03-09 |
|\ | | | | | vim.fn: throw error when trying to use API function | ||
| * | use pcall_err | smolck | 2021-03-09 |
| | | |||
| * | vim.fn: add test for error | smolck | 2021-02-04 |
| | | |||
* | | Merge pull request #13973 from chentau/on_bytes_undofile | Björn Linse | 2021-03-03 |
|\ \ | | | | | | | | | | | | | New versions of neovim will not read undofiles written by nvim before this merge (there will be an error message about incopmatible version). Nvim 0.4 (or an master up to bda12927be84f0e0e05e885f9acb40a7ac2c5524 ) can be used to recover older undofiles, so if you worried about unsaved changes lurking around in undofiles it would make sense to keep such version around somewhere to recover them. This is a necessary change to keep tree-sitter and plugins dependent on byte-level buffer change events fully working with undo states from a undofile. If there is a clear demand we might implement reading of the old format. Such recovered buffers will not be be fully functional with plugins relying on buffer updates or tree-sitter, however. | ||
| * | | Extmarks: Save extmark undo information to undofile. | chentau | 2021-03-02 |
| | | | |||
* | | | Merge pull request #13692 from mjlbach/fix_cursor_respect_current_line | Björn Linse | 2021-02-16 |
|\ \ \ | |/ / |/| | | fix_cursor: do not change line number when edit will not impact cursor row | ||
| * | | tests: add test for cursor postion when deleting buffer lines | Michael Lingelbach | 2021-01-31 |
| |/ | |||
* | | buffer_updates: autoload episode III: revenge of the trees | Björn Linse | 2021-02-14 |
| | | |||
* | | buffer updates: add on_reload callback and handle it in treesitter parser | Björn Linse | 2021-02-10 |
| | | |||
* | | fix(buf_updates): send updates when putting past last line | Thomas Vigouroux | 2021-02-08 |
| | | | | | | | | Fixes #13710 |