Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(lua): vim.ui_attach to get ui events from lua | bfredl | 2022-08-31 |
| | | | | Co-authored-by: Famiu Haque <famiuhaque@protonmail.com> | ||
* | refactor(object): get rid of redundant FIXED_TEMP_ARRAY | bfredl | 2022-07-20 |
| | | | | | use the MAXSIZE_TEMP_ARRAY + ADD_C pattern instead, as exemplified by the changes in this commit. | ||
* | feat: add preview functionality to user commands | Famiu Haque | 2022-05-31 |
| | | | | Adds a Lua-only `preview` flag to user commands which allows the command to be incrementally previewed like `:substitute` when 'inccommand' is set. | ||
* | refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695) | dundargoc | 2022-05-25 |
| | |||
* | vim-patch:8.2.4911: the mode #defines are not clearly named (#18499) | zeertzjq | 2022-05-10 |
| | | | | | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first. https://github.com/vim/vim/commit/249591057b4840785c50e41dd850efb8a8faf435 A hunk from the patch depends on patch 8.2.4861, which hasn't been ported yet, but that should be easy to notice. | ||
* | fix(extmarks): revert to int for extmark row | zeertzjq | 2022-05-07 |
| | |||
* | refactor: enable -Wconversion warning for edit.c | Dundar Goc | 2022-05-06 |
| | | | | Work on https://github.com/neovim/neovim/issues/567 | ||
* | refactor: add pure attribute to pure functions | Dundar Göc | 2022-04-13 |
| | | | | | This will allow compilers that support the pure attribute to make further optimizations to functions. | ||
* | refactor: format with uncrustify #15722 | dundargoc | 2021-09-19 |
| | |||
* | fix: fix incorrect call sites of xcalloc | Gregory Anders | 2021-07-24 |
| | | | | The number of elements comes first and the size of each element second. | ||
* | chore: use codespell to spell check #15016 | dundargoc | 2021-07-07 |
| | |||
* | luaref: free all references in buffer_updates | Björn Linse | 2021-04-03 |
| | |||
* | buffer updates: add on_reload callback and handle it in treesitter parser | Björn Linse | 2021-02-10 |
| | |||
* | feat(buffer_updates): allow ignoring when previewing | Thomas Vigouroux | 2020-12-15 |
| | | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW. | ||
* | Merge pull request #12889 from vigoux/bytetrack-open-line | Björn Linse | 2020-09-11 |
|\ | | | | | Fix invalid events with `o` `<CR>` and `autoindent` | ||
| * | fix(bufupdates): avoid sending empty updates | Thomas Vigouroux | 2020-09-11 |
| | | |||
* | | lua: cleanup naming conventions of executor functions | Björn Linse | 2020-09-10 |
|/ | |||
* | fix lints | Thomas Vigouroux | 2020-09-09 |
| | |||
* | api/buffer: add "on_bytes" callback to nvim_buf_attach | Björn Linse | 2020-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 stuff | Björn Linse | 2020-02-10 |
| | |||
* | extmarks/bufhl: reimplement using new marktree data structure | Björn Linse | 2020-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 Linse | 2019-12-22 |
| | | | | [skip.lint] | ||
* | 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 |
| | |||
* | api: allow nvim_buf_attach from lua using callbacks | Björn Linse | 2019-06-04 |
| | |||
* | add func_attr_printf in : | MichaHoffmann | 2018-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 functions | ZyX | 2018-06-22 |
| | | | Ref #8474 | ||
* | refactor: buf_collect_lines (#8509) | Justin M. Keyes | 2018-06-09 |
| | | | Move redundant common logic into a function. | ||
* | Merge #7917 'API: buffer updates' | Justin M. Keyes | 2018-06-08 |
| | |||
* | Rename some more, fixe borked renaming | KillTheMule | 2018-05-23 |
| | |||
* | Send changedtick as first event if buffer contents weren't requested | KillTheMule | 2018-05-23 |
| | |||
* | Unify updates_start and updates to lines_event | KillTheMule | 2018-05-23 |
| | | | | Also rename changedtick -> changedtick_event | ||
* | Lint | KillTheMule | 2018-05-23 |
| | |||
* | Some renamings and doc changes | KillTheMule | 2018-05-23 |
| | |||
* | Enable -Wconversion | KillTheMule | 2018-05-23 |
| | |||
* | The grand renaming | KillTheMule | 2018-05-23 |