aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
Commit message (Collapse)AuthorAge
...
* decoration: Clean up duplicate Decoration attributes + bonus hl_eol flagBjörn Linse2021-04-14
|
* docs: add priority option in buf_set_extmarkThomas Vigouroux2021-04-07
|
* luaref: free all references in buffer_updatesBjörn Linse2021-04-03
|
* decorations: add additional styling of virt_text overlaysBjörn Linse2021-03-10
|
* Fix a typo in the Lua documentation for nvim_create_namespace().Dimitri Sabadie2021-03-04
|
* decorations: allow virt_text overlay at any columnBjörn Linse2021-02-22
|
* Merge pull request #13944 from chentau/on_bytes_docBjörn Linse2021-02-17
|\ | | | | Doc: update documentation for on_bytes
| * Doc: update documentation for on_byteschentau2021-02-17
| |
* | 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
| * fix_cursor: do not change line number when edit will not impact cursorMichael Lingelbach2021-01-31
| | | | | | | | row
* | buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
| |
* | correctly mark changed regions for set_textchentau2021-02-07
|/
* Merge pull request #13784 from runiq/get_extmark_by_id-limit_breakThomas Vigouroux2021-01-28
|\ | | | | doc: remove nvim_buf_get_extmark_by_id limit opt
| * doc: remove nvim_buf_get_extmark_by_id limit optPatrice Peterson2021-01-18
| | | | | | | | Passing any key but `details` in the opts results in an error.
* | change end_right_gravity error behaviorchentau2021-01-12
| |
* | change gravity to be a boolean flag, and add corresponding flag for end ↵chentau2021-01-05
| | | | | | | | position of extmark
* | allow for extmark gravity to be set through apichentau2021-01-03
|/
* api: set_text: fix some byte count issuesBjörn Linse2021-01-01
| | | | | | add byte count tests update documentation
* api: set_text: more tests, and fixing lintchentau2021-01-01
| | | | | | | | removing pending virtcol tests Allow passing in empty array as a shorthand for array with empty string; add more documentation add check for start_row as well
* api: set_text: rebase, update to new api, and add more testsTony Chen2021-01-01
|
* api: set_text: fix validation and some issuesBlaž Hrastnik2021-01-01
| | | | | | | | | | | | fix double free because intermediary lines weren't xmemdup'd. NL-for-NUL dance. Normalize row indices and perform more validation. Adjust the cursor position if it's on the right side of the replacement. Tests and documentation.
* api: set_text: first stab at nvim_buf_set_textBjörn Linse2021-01-01
|
* Merge pull request #13355 from notomo/check-textlock-in-apiBjörn Linse2020-12-16
|\ | | | | api: add textlock check
| * api: add textlock checknotomo2020-12-15
| |
* | 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: move deprecated functions to separate filesBjörn Linse2020-12-05
| | | | | Most these are just calls to non-deprecated variants, and take up unnecessary space and search hits in the other files.
* feat(luahl): add priority mechanismThomas Vigouroux2020-11-25
| | | | | Base priority is 0x1000, in order to stay kinda backward compatible. Also set tree-sitter default highlight to 100 (middle-ish value)
* decoration: split out "decoration" from "extmark" moduleBjörn Linse2020-11-07
| | | | | Decorations will only grow more complex. move the to a separate file, so that extmark.c remains about extmarks.
* api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* fixup: fixup: fixup: fixup:TJ DeVries2020-10-22
|
* fixup: bfredl commentsTJ DeVries2020-10-22
|
* api: nvim_buf_deleteTJ DeVries2020-10-22
|
* api: multiple decoration providers at onceBjörn Linse2020-10-10
|
* PVS/V1001: Remove assignment to unused variableG-flat2020-10-05
|
* extmark: Change nvim_buf_set_extmark to not create undo dataerw72020-10-02
|
* extmark: fix decoration ploblems with extmarkerw72020-10-02
| | | | | | 54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
* api(extmarks): allow extrange past final newlineThomas Vigouroux2020-09-17
|
* api: add nvim_buf_call to call function with curbuf changed to bufferBjörn Linse2020-09-13
|
* luahl: global the luahlBjörn Linse2020-09-13
|
* luahlBjörn Linse2020-09-13
|
* lua: cleanup naming conventions of executor functionsBjörn Linse2020-09-10
|
* 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!
* doc: fix invalid help tags #12745Georgy Komarov2020-09-05
|
* API: be less breaking in the christmas tree decorationsBjörn Linse2020-09-04
|
* decor: sketch new decorations APIBjörn Linse2020-09-03
| | | | | | | | return decorations back lol no nvim_buf_get_virtual_text share decorations that are hl only to avoid alloc avalanche
* extmark: move id to dict in nvim_buf_set_extmarkBjörn Linse2020-09-03
|
* extmark: refiy "Decoration" abstractionBjörn Linse2020-09-03
| | | | one very important thought
* doc: fix scripts and regenerate (#12506)TJ DeVries2020-07-02
| | | | | | | | | | | | | | | | | * Fix some small doc issues * doc: fixup * doc: fixup * Fix lint and rebase * Remove bad advice * Ugh, stupid mpack files... * Don't let people include these for now until they specifically want to * Prevent duplicate tag
* doc: fix vim.api.nvim_buf_attach callback argumentsHirokazu Hata2020-06-15
|
* pvs/v560: remove redundant line checkJan Edmund Lazo2020-04-13
|