aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
Commit message (Collapse)AuthorAge
...
* refactor(api): handle option dicts properlyBjörn Linse2021-10-03
| | | | | | | Do not copy a lot of lua strings (dict keys) to just strequal() them Just compare them directly to a dedicated hash function. feat(generators): HASHY McHASHFACE
* feat(decorations): support virtual lines (for now: only one block at a time)Björn Linse2021-09-26
|
* refactor: format #15702dundargoc2021-09-18
|
* docs: extmarks indexing #15311Javier López2021-09-10
| | | | fix #11456
* docs: extmark indexing #12742Patrice Peterson2021-09-10
| | | | | | | Extmarks mostly use api-indexing, except for nvim_buf_get_extmarks(), which uses api-indexing with inclusive ranges. ref #11456
* refactor(api): remove redundant api_set_errorJavier López2021-08-10
| | | | This error is already handled by 'find_buffer_by_handle'
* feat(decorations): deprecate nvim_buf_set_virtual_textBjörn Linse2021-07-29
| | | | Full virt_text functionality is provided by nvim_buf_set_extmark
* refactor(decorations): merge the two different code paths for virt_textBjörn Linse2021-07-29
| | | | | | test(bufhl): CHANGE of tested behaviour (inb4 a proper priority mechanism) test(decoration): change of test; previous behavior was buggy (ghost buffer text)
* feat(decorations): allow more than one stacked highlight in a virt_textBjörn Linse2021-07-29
|
* fix: fix incorrect call sites of xcallocGregory Anders2021-07-24
| | | | The number of elements comes first and the size of each element second.
* perf(extmarks): allow ephemeral extmarks past EOFThomas Vigouroux2021-06-16
|
* Merge pull request #14510 from urandom/doc_nvim_buf_set_extmarkBjörn Linse2021-06-10
|\ | | | | Minor observational corrections to the nvim_buf_set_extmark documentation
| * Update the functio documentation in CViktor Kojouharov2021-05-10
| |
* | fixup! refactor nvim_buf_set_lines to use extmark_spliceJan Edmund Lazo2021-05-12
| |
* | Fix nvim_buf_set_linesdisrupted2021-05-10
| |
* | make get_region_bytecount end-exclusivechentau2021-05-09
| |
* | refactor nvim_buf_set_lines to use extmark_splicechentau2021-05-09
|/
* fix(gcc): compile warning in nvim_buf_set_extmarkSean Dewar2021-05-05
|
* decorations: right_align and win_colBjörn Linse2021-05-01
|
* 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
|