Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge pull request #14318 from chentau/extmark_luado | Björn Linse | 2021-04-13 |
|\ | | | | | extmark: splice extmarks on :luado | ||
| * | extmark: splice extmarks on :luado | chentau | 2021-04-12 |
| | | |||
* | | Merge pull request #14317 from chentau/extmark_sub | Björn Linse | 2021-04-10 |
|\ \ | | | | | | | extmark: correct extmark_splice call with substitute and inccommand when replacing with escaped backslashes | ||
| * | | extmark: correct extmark_splice call with inccommand | chentau | 2021-04-09 |
| |/ | |||
* / | extmark: fixes for noexpandtab and retab | chentau | 2021-04-02 |
|/ | |||
* | Merge pull request #14191 from chentau/extmark_blockpaste | Björn Linse | 2021-03-24 |
|\ | | | | | Extmarks: send correct buffer events on blockwise paste for nonuniform lines | ||
| * | Extmarks: correct buffer events on blockwise paste | chentau | 2021-03-23 |
| | | |||
* | | Correctly splice extmarks on tab with noexpandtab set | chentau | 2021-03-22 |
|/ | |||
* | Merge pull request #13875 from smolck/vim_fn_error_on_api | Björn Linse | 2021-03-09 |
|\ | | | | | vim.fn: throw error when trying to use API function | ||
| * | use pcall_err | smolck | 2021-03-09 |
| | | |||
| * | vim.fn: add test for error | smolck | 2021-02-04 |
| | | |||
* | | Merge pull request #13973 from chentau/on_bytes_undofile | Björn Linse | 2021-03-03 |
|\ \ | | | | | | | | | | | | | New versions of neovim will not read undofiles written by nvim before this merge (there will be an error message about incopmatible version). Nvim 0.4 (or an master up to bda12927be84f0e0e05e885f9acb40a7ac2c5524 ) can be used to recover older undofiles, so if you worried about unsaved changes lurking around in undofiles it would make sense to keep such version around somewhere to recover them. This is a necessary change to keep tree-sitter and plugins dependent on byte-level buffer change events fully working with undo states from a undofile. If there is a clear demand we might implement reading of the old format. Such recovered buffers will not be be fully functional with plugins relying on buffer updates or tree-sitter, however. | ||
| * | | Extmarks: Save extmark undo information to undofile. | chentau | 2021-03-02 |
| | | | |||
* | | | 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 | ||
| * | | tests: add test for cursor postion when deleting buffer lines | Michael Lingelbach | 2021-01-31 |
| |/ | |||
* | | buffer_updates: autoload episode III: revenge of the trees | Björn Linse | 2021-02-14 |
| | | |||
* | | buffer updates: add on_reload callback and handle it in treesitter parser | Björn Linse | 2021-02-10 |
| | | |||
* | | fix(buf_updates): send updates when putting past last line | Thomas Vigouroux | 2021-02-08 |
| | | | | | | | | Fixes #13710 | ||
* | | tests: clean up lua/buffer_updates_spec.lua | Björn Linse | 2021-02-04 |
| | | |||
* | | inccommand: preserve extmarks when undoing preview substitution | Björn Linse | 2021-02-04 |
|/ | |||
* | lint | chentau | 2021-01-26 |
| | |||
* | Don't show entire context when completing | Tony Chen | 2021-01-26 |
| | |||
* | feat: add completion to ':lua' | TJ DeVries | 2021-01-26 |
| | |||
* | tests: make treesitter its own category | Björn Linse | 2021-01-03 |
| | |||
* | api: set_text: fix some byte count issues | Björn Linse | 2021-01-01 |
| | | | | | | add byte count tests update documentation | ||
* | Merge pull request #13367 from nvim-treesitter/offset-lang-injection | Björn Linse | 2020-12-16 |
|\ | | | | | feat(treesitter): add offset predicate for language injection | ||
| * | feat(treesitter): add offset predicate for language injection | Steven Sojka | 2020-12-15 |
| | | | | | | | | refactor(treesitter): add directives to queries | ||
* | | 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 #13482 from dm1try/propagate_lua_file_loading_errors | Björn Linse | 2020-12-10 |
|\ | | | | | runtime: propagate lua parsing errors while using "require" | ||
| * | runtime: propagate lua parsing errors while using "require" | dm1try | 2020-12-10 |
| | | |||
* | | Merge pull request #13450 from nvim-treesitter/fix-unknown-language-parser | Thomas Vigouroux | 2020-12-10 |
|\ \ | |/ |/| | fix(treesitter): don't throw an error for missing injected langs | ||
| * | fix(treesitter): don't throw an error for missing injected langs | Steven Sojka | 2020-12-04 |
| | | |||
* | | fix(treesitter): incorrect method name call | Steven Sojka | 2020-12-04 |
|/ | |||
* | fix(treesitter): allow ranges in set_included_ranges | Thomas Vigouroux | 2020-11-23 |
| | |||
* | feat(treesitter): add language tree | Steven Sojka | 2020-11-23 |
| | | | | | | | | | | | | | Implement the LanguageTree structure to enable language injection. This is done be removing the old Parser metatable and replacing by the new structure, with the same API (almost). Some noticeable differences : - `parser:parse()` now returns a table of trees - There is no incremental parsing for child (injected) languages Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com> | ||
* | lua: make vim.inspect available early so it can be used for path debugging | Björn Linse | 2020-11-05 |
| | |||
* | tree-sitter: ignore some tests on windows | Thomas Vigouroux | 2020-11-03 |
| | | | | | Weirdl this test is failing, but can't reproduce locally, this is an unnecessary blocker for this PR. | ||
* | fixup! startup: handle autoload and lua packages during startup | Jan Edmund Lazo | 2020-11-02 |
| | |||
* | startup: handle autoload and lua packages during startup | Björn Linse | 2020-11-02 |
| | | | | ¡NO HAY BANDA! | ||
* | treesitter: add node:id() | Björn Linse | 2020-11-01 |
| | |||
* | Merge pull request #12053 from tjdevries/tjdevries/nicer_validate | TJ DeVries | 2020-10-17 |
|\ | | | | | vim.validate(): include stacktrace in message | ||
| * | test/vim.validate(): assert normalized stacktrace | Justin M. Keyes | 2020-10-05 |
| | | | | | | | | | | | | | | - The previous commit lost information in the tests. Instead, add some more "normalization" substitutions in pcall_err(), so that the general shape of the stacktrace is included in the asserted text. - Eliminate contains(), it is redundant with matches() | ||
| * | vim.validate(): include stacktrace in message | TJ DeVries | 2020-10-05 |
| | | |||
* | | treesitter: allow custom parser for highlighter | Thomas Vigouroux | 2020-10-12 |
| | | | | | | | | | | | | | | | | | | | | | | Also allow to get parser ranges. This will be useful for language injection, allowing us to tweak the parser's ranges on the fly. Update runtime/lua/vim/treesitter.lua Co-authored-by: Paul Burlumi <paul@burlumi.com> | ||
* | | treesitter: runtime queries | Thomas Vigouroux | 2020-10-11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.lua Co-authored-by: Paul Burlumi <paul@burlumi.com> | ||
* | | api: multiple decoration providers at once | Björn Linse | 2020-10-10 |
| | | |||
* | | lua: vim.wait allows control of fast events (#13053) | TJ DeVries | 2020-10-06 |
|/ | | | | | | | | | * lua: vim.wait allows control of fast events * fixup: remove requirement of function for easier waiting * fixup: lint * fixup: bfredl comments | ||
* | Fix byte updates for blockwise paste at buffer end | KillTheMule | 2020-09-30 |
| | |||
* | bytetrack: add blockwise paste test | Thomas Vigouroux | 2020-09-30 |
| | |||
* | Fix buffer_updates on blockwise paste | KillTheMule | 2020-09-30 |
| | | | | Fixes #12718. |