Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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> |