Commit graph

10 commits

Author SHA1 Message Date
Stephan Seitz
82afae9c9c Fix bugs in TSRange
- TSRange:new() was missing to extract the line from nvim_buf_get_lines
- TSRange:parent() was only working when current buf == self.buf
2021-11-01 14:51:53 +01:00
Stephan Seitz
4571d57251
New stylua version (#1555) 2021-07-11 20:59:06 +00:00
Santos Gallegos
be8f656087
Use stylua for autoformat code (#1480) 2021-07-04 21:12:17 +00:00
Stephan Seitz
fe6f2352c2 Fix #1182: fix TSRange:parent 2021-04-14 12:33:07 +02:00
Steven Sojka
6863f79118
refactor(all): language tree adaption (#1105) 2021-03-30 08:18:24 -05:00
kiyan
9d57216c0d chore: remove useless code and indent files 2021-02-27 13:36:33 +01:00
Thomas Vigouroux
808765a6c8
fix: update interface following languagetree merge (#687) 2020-11-23 12:46:27 -06:00
Stephan Seitz
00d5408527 Make make-range! more relaxed (one of the arguments maybe nil) 2020-11-17 08:52:53 +01:00
Thomas Vigouroux
6eca8d2f38 parser: only use parse to get a tree
This will avoid using internal data.
2020-11-03 21:16:51 +01:00
Stephan Seitz
aa4c3e83e3 Add virtual range for creating node-like objects from multiple nodes 2020-10-26 18:22:19 +01:00