Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | chore(ts): show grammar that triggers the error | Matthieu Coudron | 2021-03-16 | |
| | | | | to help debugging | |||
* | fix(treesitter): allow ranges in set_included_ranges | Thomas Vigouroux | 2020-11-23 | |
| | ||||
* | treesitter: refactor some things | Thomas Vigouroux | 2020-11-23 | |
| | ||||
* | fix: NULL segfaults brought to you by @vigoux | TJ DeVries | 2020-11-18 | |
| | ||||
* | treesitter: separate tree and parser | Thomas Vigouroux | 2020-11-04 | |
| | | | | While this might sound silly, it is needed for further improvements. | |||
* | Merge pull request #13192 from bfredl/nodeid | Björn Linse | 2020-11-01 | |
|\ | | | | | ] treesitter: add node:id() | |||
| * | treesitter: add node:id() | Björn Linse | 2020-11-01 | |
| | | ||||
* | | treesitter: fix wrong string formatting | Thomas Vigouroux | 2020-11-01 | |
| | | ||||
* | | tree-sitter: error out when parsing fails | Thomas Vigouroux | 2020-11-01 | |
|/ | | | | | This can happen when there is ABI mismatches, and removes the assumption parsing alwasy succeeds (which is wrong). | |||
* | 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: check language ABI version on load | Thomas Vigouroux | 2020-10-08 | |
| | | | | This is will avoid some issues at runtime. | |||
* | 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: add node:field() to get field children | Thomas Vigouroux | 2020-09-01 | |
| | ||||
* | treesitter: allow to iterate over node children | Thomas Vigouroux | 2020-08-31 | |
| | ||||
* | treesitter: call bufload before parsing (#12603) | Thomas Vigouroux | 2020-07-10 | |
| | ||||
* | treesitter: use single nodes in set_ranges | Thomas Vigouroux | 2020-06-29 | |
| | | | | fixup! treesitter: fix lint | |||
* | treesitter: fix lint | Thomas Vigouroux | 2020-06-29 | |
| | ||||
* | treesitter: use nodes to mark ranges | Thomas Vigouroux | 2020-06-29 | |
| | ||||
* | treesitter: fix some clint errors | Thomas Vigouroux | 2020-06-29 | |
| | | | | Also fixes some mismatches on the name of the function | |||
* | treesitter: test newly added set_included_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: simplify puhstree call process | Thomas Vigouroux | 2020-06-23 | |
| | ||||
* | treesitter: check for integer overflow (#12135) | Thomas Vigouroux | 2020-04-22 | |
| | | | | | | | Sometimes treesitter calls for an invalid column within a line, checking that the column is actually valid and forcing the value avoids an integer overflow and an infinite sequence of invalid reads. Fixes #12131 | |||
* | 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: handle node equality | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: use "range" instead of "point_range" consistently in lua API | 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: cleanup tree refcounting | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: inspect language | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: add some more API | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: style | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: use standard luaL_newmetatable and luaL_checkudata pattern | Björn Linse | 2019-09-28 | |
| | ||||
* | tree-sitter: rename tree_sitter => treesitter for consistency | Björn Linse | 2019-09-28 | |