aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_updates.c
Commit message (Collapse)AuthorAge
* refactor: format with uncrustify #15722dundargoc2021-09-19
|
* fix: fix incorrect call sites of xcallocGregory Anders2021-07-24
| | | | The number of elements comes first and the size of each element second.
* chore: use codespell to spell check #15016dundargoc2021-07-07
|
* luaref: free all references in buffer_updatesBjörn Linse2021-04-03
|
* buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
|
* feat(buffer_updates): allow ignoring when previewingThomas Vigouroux2020-12-15
| | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
* Merge pull request #12889 from vigoux/bytetrack-open-lineBjörn Linse2020-09-11
|\ | | | | Fix invalid events with `o` `<CR>` and `autoindent`
| * fix(bufupdates): avoid sending empty updatesThomas Vigouroux2020-09-11
| |
* | lua: cleanup naming conventions of executor functionsBjörn Linse2020-09-10
|/
* 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!
* treesitter: cleanup some luahl stuffBjörn Linse2020-02-10
|
* 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
* tree-sitter: implement query functionality and highlighting prototype ↵Björn Linse2019-12-22
| | | | [skip.lint]
* 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
|
* api: allow nvim_buf_attach from lua using callbacksBjörn Linse2019-06-04
|
* add func_attr_printf in :MichaHoffmann2018-09-24
| | | | | | | | | | | | | | | | | | | | | | log.c message.c strings.c fixed some printf warnings in: src/nvim/undo.c src/nvim/eval.c src/nvim/eval/encode.c src/nvim/eval/typval.c src/nvim/ex_getln.c src/nvim/fileio.c src/nvim/lua/executor.c src/nvim/main.c src/nvim/regexp_nfa.c src/nvim/shada.c src/nvim/spellfile.c src/nvim/tui/terminfo.c src/nvim/garray.h
* *: Replace b_changedtick with new always-inline functionsZyX2018-06-22
| | | Ref #8474
* refactor: buf_collect_lines (#8509)Justin M. Keyes2018-06-09
| | | Move redundant common logic into a function.
* Merge #7917 'API: buffer updates'Justin M. Keyes2018-06-08
|
* Rename some more, fixe borked renamingKillTheMule2018-05-23
|
* Send changedtick as first event if buffer contents weren't requestedKillTheMule2018-05-23
|
* Unify updates_start and updates to lines_eventKillTheMule2018-05-23
| | | | Also rename changedtick -> changedtick_event
* LintKillTheMule2018-05-23
|
* Some renamings and doc changesKillTheMule2018-05-23
|
* Enable -WconversionKillTheMule2018-05-23
|
* The grand renamingKillTheMule2018-05-23