aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/buffer_updates_spec.lua
Commit message (Collapse)AuthorAge
...
* | extmark: fixes for noexpandtab and retabchentau2021-04-02
|/
* Merge pull request #14191 from chentau/extmark_blockpasteBjörn Linse2021-03-24
|\ | | | | Extmarks: send correct buffer events on blockwise paste for nonuniform lines
| * Extmarks: correct buffer events on blockwise pastechentau2021-03-23
| |
* | Correctly splice extmarks on tab with noexpandtab setchentau2021-03-22
|/
* Merge pull request #13973 from chentau/on_bytes_undofileBjörn Linse2021-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.chentau2021-03-02
| |
* | Merge pull request #13692 from mjlbach/fix_cursor_respect_current_lineBjörn Linse2021-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 linesMichael Lingelbach2021-01-31
| |
* | buffer_updates: autoload episode III: revenge of the treesBjörn Linse2021-02-14
| |
* | buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
| |
* | fix(buf_updates): send updates when putting past last lineThomas Vigouroux2021-02-08
| | | | | | | | Fixes #13710
* | tests: clean up lua/buffer_updates_spec.luaBjörn Linse2021-02-04
| |
* | inccommand: preserve extmarks when undoing preview substitutionBjörn Linse2021-02-04
|/
* api: set_text: fix some byte count issuesBjörn Linse2021-01-01
| | | | | | add byte count tests update documentation
* feat(buffer_updates): allow ignoring when previewingThomas Vigouroux2020-12-15
| | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
* api: multiple decoration providers at onceBjörn Linse2020-10-10
|
* Fix byte updates for blockwise paste at buffer endKillTheMule2020-09-30
|
* bytetrack: add blockwise paste testThomas Vigouroux2020-09-30
|
* Fix buffer_updates on blockwise pasteKillTheMule2020-09-30
| | | | Fixes #12718.
* test: buffer updates: add visual charwise paste testBjörn Linse2020-09-19
|
* buffer updates: fix issues with "change" operatorBjörn Linse2020-09-19
|
* tests: lua buffer updates: reorg check_events()Björn Linse2020-09-19
|
* buf_updates: fix wrong updates on linewise changeThomas Vigouroux2020-09-18
|
* buf_updates: fix updates for empty buffers (#12926)Thomas Vigouroux2020-09-17
| | | On empty buffers, when editing the first line, the line is buffered, causing offset to be < 0. While the buffer is not actually empty, the buffered line has not been flushed (and should not be) yet, so the call is valid but an edge case.
* treesitter: filter updates on <CR>Thomas Vigouroux2020-09-16
| | | | | This fixes an error when fo=ro, when hitting <CR> to insert a new comment line.
* buf_attach: fix buffer updates with setline()Björn Linse2020-09-16
|
* fix(bufupdates): avoid sending empty updatesThomas Vigouroux2020-09-11
|
* fix(bytetrack): send correct events when opening linesThomas Vigouroux2020-09-11
| | | | | | | | | | | | a bit of test cleanup ärrår feeel SPLIT fix: sned correct updates on <CR>
* fix lintsThomas Vigouroux2020-09-09
|
* api/buffer: add "on_bytes" callback to nvim_buf_attachBjörn Linse2020-09-09
| | | | | | This implements byte-resolution updates of buffer changes. Note: there is no promise that the buffer state is valid inside the callback!
* fix(win): ignore closing wins in win_findbuf #12798Thomas Vigouroux2020-08-31
| | | | | This caused segfaults when calling win_findbuf in an `on_detach` callback, when the callback was triggered when closing the last window containing the buffer.
* doc: fix typos [ci skip] #11787Hye Sung Jung2020-01-30
|
* Fix shift change callbacks reading bad cursor (#11782)Axel Forsman2020-01-30
| | | | | | | | | | | | | | Sloppy code inherited from Vim caused user scripts to be able to observe the cursor line in an invalid intermediary state, due to Neovim change callbacks being unbuffered unlike Vim listeners. Manifested in Vimscript executed from the callback possibly erroring when `:call`:ing any function, due to the implicit range `curwin->w_cursor.lnum,curwin->w_cursor.lnum` failing validation. Fixed by deferring the call to `changed_lines()` until after `curwin->w_cursor.lnum` gets its correct value.
* lua: support getting UTF-32 and UTF-16 sizes of replaced textBjörn Linse2019-08-06
|
* lua: add {old_byte_size} to on_lines buffer change eventBjörn Linse2019-08-06
|
* api/lua: add on_detach to nvim_buf_attachBjörn Linse2019-06-15