Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | refactor(api/marks)!: add opts param for feature extensibility (#16146) | Javier Lopez | 2021-11-01 | |
| | | | | | In the future we might want to extend the concept of named marks and adding opts reduces the need of changing the function signature in the furute. | |||
* | refactor(api): move extmark API to its own file | Björn Linse | 2021-10-25 | |
| | ||||
* | feat(decorations): support more than one virt_lines block | Björn Linse | 2021-10-23 | |
| | ||||
* | refactor: reduce number of unique char casts (#15995) | dundargoc | 2021-10-12 | |
| | ||||
* | refactor: format all C files under nvim/ #15977 | dundargoc | 2021-10-12 | |
| | | | | | | | | * refactor: format all C files under nvim * refactor: disable formatting for Vim-owned files: * src/nvim/indent_c.c * src/nvim/regexp.c * src/nvim/regexp_nfa.c * src/nvim/testdir/samples/memfile_test.c | |||
* | Merge pull request #15934 from kylo252/replacement-size | Björn Linse | 2021-10-07 | |
|\ | | | | | fix(lint): remove redundant ternary operator | |||
| * | fix(lint): remove redundant ternary operator | kylo252 | 2021-10-06 | |
| | | | | | | | | | | The value of `new_len` will never be '0' since `replacement.size` is checked against that early on. | |||
* | | Merge pull request #15941 from dundargoc/refactor/remove-redundant-casts | Björn Linse | 2021-10-07 | |
|\ \ | | | | | | | refactor: remove redundant casts | |||
| * | | refactor: remove redundant casts | Dundar Göc | 2021-10-07 | |
| |/ | ||||
* / | fix(api): fix nvim_buf_set_extmark | erw7 | 2021-10-07 | |
|/ | | | | Fix the problem of calling clear_virttext on undefined variables. | |||
* | feat(api): named marks set, get, delete #15346 | Javier Lopez | 2021-10-05 | |
| | | | | | | | | | | | | | | | | | | | | | | | Adds the following API functions. - nvim_buf_set_mark(buf, name, line, col) * Set marks in a buffer. - nvim_buf_del_mark(buf, name) * Delete a mark that belongs to buffer. - nvim_del_mark(name) * Delete a global mark. - nvim_get_mark(name) * Get a global mark. Tests: - Adds test to all the new api functions, and adds more for the existing nvim_buf_get_mark. * Tests include failure cases. Documentation: - Adds documentation for all the new functions, and improves the existing fucntion docs. | |||
* | refactor(api): handle option dicts properly | Björn Linse | 2021-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 Linse | 2021-09-26 | |
| | ||||
* | refactor: format #15702 | dundargoc | 2021-09-18 | |
| | ||||
* | docs: extmarks indexing #15311 | Javier López | 2021-09-10 | |
| | | | | fix #11456 | |||
* | docs: extmark indexing #12742 | Patrice Peterson | 2021-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_error | Javier López | 2021-08-10 | |
| | | | | This error is already handled by 'find_buffer_by_handle' | |||
* | feat(decorations): deprecate nvim_buf_set_virtual_text | Björn Linse | 2021-07-29 | |
| | | | | Full virt_text functionality is provided by nvim_buf_set_extmark | |||
* | refactor(decorations): merge the two different code paths for virt_text | Björn Linse | 2021-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_text | Björn Linse | 2021-07-29 | |
| | ||||
* | 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. | |||
* | perf(extmarks): allow ephemeral extmarks past EOF | Thomas Vigouroux | 2021-06-16 | |
| | ||||
* | Merge pull request #14510 from urandom/doc_nvim_buf_set_extmark | Björn Linse | 2021-06-10 | |
|\ | | | | | Minor observational corrections to the nvim_buf_set_extmark documentation | |||
| * | Update the functio documentation in C | Viktor Kojouharov | 2021-05-10 | |
| | | ||||
* | | fixup! refactor nvim_buf_set_lines to use extmark_splice | Jan Edmund Lazo | 2021-05-12 | |
| | | ||||
* | | Fix nvim_buf_set_lines | disrupted | 2021-05-10 | |
| | | ||||
* | | make get_region_bytecount end-exclusive | chentau | 2021-05-09 | |
| | | ||||
* | | refactor nvim_buf_set_lines to use extmark_splice | chentau | 2021-05-09 | |
|/ | ||||
* | fix(gcc): compile warning in nvim_buf_set_extmark | Sean Dewar | 2021-05-05 | |
| | ||||
* | decorations: right_align and win_col | Björn Linse | 2021-05-01 | |
| | ||||
* | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag | Björn Linse | 2021-04-14 | |
| | ||||
* | docs: add priority option in buf_set_extmark | Thomas Vigouroux | 2021-04-07 | |
| | ||||
* | luaref: free all references in buffer_updates | Björn Linse | 2021-04-03 | |
| | ||||
* | decorations: add additional styling of virt_text overlays | Björn Linse | 2021-03-10 | |
| | ||||
* | Fix a typo in the Lua documentation for nvim_create_namespace(). | Dimitri Sabadie | 2021-03-04 | |
| | ||||
* | decorations: allow virt_text overlay at any column | Björn Linse | 2021-02-22 | |
| | ||||
* | Merge pull request #13944 from chentau/on_bytes_doc | Björn Linse | 2021-02-17 | |
|\ | | | | | Doc: update documentation for on_bytes | |||
| * | Doc: update documentation for on_bytes | chentau | 2021-02-17 | |
| | | ||||
* | | Merge pull request #13692 from mjlbach/fix_cursor_respect_current_line | Björn Linse | 2021-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 cursor | Michael Lingelbach | 2021-01-31 | |
| | | | | | | | | row | |||
* | | buffer updates: add on_reload callback and handle it in treesitter parser | Björn Linse | 2021-02-10 | |
| | | ||||
* | | correctly mark changed regions for set_text | chentau | 2021-02-07 | |
|/ | ||||
* | Merge pull request #13784 from runiq/get_extmark_by_id-limit_break | Thomas Vigouroux | 2021-01-28 | |
|\ | | | | | doc: remove nvim_buf_get_extmark_by_id limit opt | |||
| * | doc: remove nvim_buf_get_extmark_by_id limit opt | Patrice Peterson | 2021-01-18 | |
| | | | | | | | | Passing any key but `details` in the opts results in an error. | |||
* | | change end_right_gravity error behavior | chentau | 2021-01-12 | |
| | | ||||
* | | change gravity to be a boolean flag, and add corresponding flag for end ↵ | chentau | 2021-01-05 | |
| | | | | | | | | position of extmark | |||
* | | allow for extmark gravity to be set through api | chentau | 2021-01-03 | |
|/ | ||||
* | api: set_text: fix some byte count issues | Björn Linse | 2021-01-01 | |
| | | | | | | add byte count tests update documentation | |||
* | api: set_text: more tests, and fixing lint | chentau | 2021-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 tests | Tony Chen | 2021-01-01 | |
| |