diff options
author | Steven Sojka <Steven.Sojka@tdameritrade.com> | 2020-11-04 11:03:36 -0600 |
---|---|---|
committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-11-23 08:06:17 +0100 |
commit | 1a631026a942b3311adec0bee6d9b0b932c5de31 (patch) | |
tree | f74318cb686ccdd5467cd3860280c01eca6cfcf9 /src/nvim/api/buffer.c | |
parent | cd691f2b6f605bc7fc13961e275823673d9871ad (diff) | |
download | rneovim-1a631026a942b3311adec0bee6d9b0b932c5de31.tar.gz rneovim-1a631026a942b3311adec0bee6d9b0b932c5de31.tar.bz2 rneovim-1a631026a942b3311adec0bee6d9b0b932c5de31.zip |
feat(treesitter): add language tree
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>
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions