Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | 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> | |||
* | treesitter: separate tree and parser | Thomas Vigouroux | 2020-11-04 | |
| | | | | While this might sound silly, it is needed for further improvements. | |||
* | 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: add string parser (#13008) | Thomas Vigouroux | 2020-09-30 | |
| | ||||
* | treesitter: use new on_bytes interface | Björn Linse | 2020-09-09 | |
| | | | | | | | | | | This will significantly reduce the parsing work needed e.g. when rehighlighting after every keypress in insert mode. Also add safety check for tree-sitter trying to read past the end of a line. This can happen after we sent an incorrect buffer update. | |||
* | treesitter(docs): update and refresh docs | Thomas Vigouroux | 2020-08-13 | |
| | ||||
* | treesitter: refactor and use lua regexes | Thomas Vigouroux | 2020-08-13 | |
| | ||||
* | treesitter: add parser on_lines callbacks | Thomas Vigouroux | 2020-07-10 | |
| | ||||
* | treesitter: call bufload before parsing (#12603) | Thomas Vigouroux | 2020-07-10 | |
| | ||||
* | treesitter: use nodes to mark ranges | Thomas Vigouroux | 2020-06-29 | |
| | ||||
* | treesitter: add set_included_ranges to the parser | Thomas Vigouroux | 2020-06-29 | |
| | | | | This is the first step towards language injection using treesitter. | |||
* | treesitter: fix tests | Thomas Vigouroux | 2020-06-03 | |
| | ||||
* | treesitter: unknown predicates always match #12173 | Thomas Vigouroux | 2020-04-30 | |
| | ||||
* | treesitter: escape backslashes in queries | Thomas Vigouroux | 2020-04-18 | |
| | | | | | | | | Treesitter changed their decoders and apparently thus causing this change. This decoder change happened on ee9a3c0ebb218990cf391ed987be7f2448c54a73. | |||
* | lua: add regex support, and `@match` support in treesitter queries | Björn Linse | 2020-02-26 | |
| | ||||
* | treesitter: add standard &rtp/parser/ search path for parsers | Björn Linse | 2020-02-07 | |
| | ||||
* | tree-sitter: implement query functionality and highlighting prototype ↵ | Björn Linse | 2019-12-22 | |
| | | | | [skip.lint] | |||
* | tree-sitter: use "module" pattern in lua source | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: simplify editing using the new old_byte_size parameter | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests) | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: improve parser API (shared parser between plugins) | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: inspect language | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: rename tree_sitter => treesitter for consistency | Björn Linse | 2019-09-28 | |