neovim/runtime/lua/vim/treesitter
Jaehwang Jung 6f75facb9d fix(treesitter): improve vim.treesitter.foldexpr
* Collect on_bytes and flush at the invocation of the scheduled callback
  to take account of commands that triggers multiple on_bytes.
* More accurately track movement of folds so that foldexpr returns
  reasonable values even when the scheduled computation is not run yet.
* Start computing folds from the line above (+ foldminlines) the changed
  lines to handle the folds that are removed due to the size limit.
* Shrink folds that end at the line at which another fold starts to
  assign proper level to that line.
* Use level '=' for lines that are not computed yet.
2023-12-12 02:29:59 +09:00
..
_fold.lua fix(treesitter): improve vim.treesitter.foldexpr 2023-12-12 02:29:59 +09:00
_meta.lua docs: document TSNode:byte_length() (#26287) 2023-11-29 08:59:36 -06:00
_query_linter.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
_range.lua feat(treesitter)!: incremental injection parsing 2023-08-12 16:11:36 +01:00
dev.lua fix: Remove nested for_each_tree in TSTreeView (#26328) 2023-11-30 10:37:42 -06:00
health.lua refactor: deprecate checkhealth functions 2023-04-15 23:40:48 +02:00
highlighter.lua perf(treesitter): do not scan past given line for predicate match 2023-09-16 13:52:42 +01:00
language.lua fix(treesitter): language.add - only register parser if it exists 2023-09-14 10:36:09 +01:00
languagetree.lua fix(treesitter): don't invalidate parser when discovering injections 2023-11-27 15:53:26 +01:00
query.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00