| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | fix(win): ignore closing wins in win_findbuf #12798 | Thomas Vigouroux | 2020-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] #11787 | Hye Sung Jung | 2020-01-30 |
| | | |||
| * | Fix shift change callbacks reading bad cursor (#11782) | Axel Forsman | 2020-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 text | Björn Linse | 2019-08-06 |
| | | |||
| * | lua: add {old_byte_size} to on_lines buffer change event | Björn Linse | 2019-08-06 |
| | | |||
| * | api/lua: add on_detach to nvim_buf_attach | Björn Linse | 2019-06-15 |