Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(treesitter): allow injections to be configured through directives | Steven Sojka | 2021-04-02 |
| | |||
* | fix: treesitter languagetree crash when using telescope buffer previewer ↵ | Simon Hauser | 2021-02-23 |
| | | | | (#13986) | ||
* | buffer updates: add on_reload callback and handle it in treesitter parser | Björn Linse | 2021-02-10 |
| | |||
* | treesitter: propagate on_detach event properly | Björn Linse | 2021-02-10 |
| | |||
* | treesitter: small fixes | Santos Gallegos | 2021-02-07 |
| | | | | Mostly typos I found while reading the code. | ||
* | fix(languagetree): use tree nodes instead of regions in contains | Steven Sojka | 2021-01-20 |
| | |||
* | feat(treesitter): add offset predicate for language injection | Steven Sojka | 2020-12-15 |
| | | | | refactor(treesitter): add directives to queries | ||
* | 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 |
|/ | |||
* | languagetree: call changedtree callback per tree | Thomas Vigouroux | 2020-11-24 |
| | | | | Also fix a typo | ||
* | 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> |