neovim/runtime
Lewis Russell aca2048bcd refactor(treesitter): redesign query iterating
Problem:

  `TSNode:_rawquery()` is complicated, has known issues and the Lua and
  C code is awkwardly coupled (see logic with `active`).

Solution:

  - Add `TSQueryCursor` and `TSQueryMatch` bindings.
  - Replace `TSNode:_rawquery()` with `TSQueryCursor:next_capture()` and `TSQueryCursor:next_match()`
  - Do more stuff in Lua
  - API for `Query:iter_captures()` and `Query:iter_matches()` remains the same.
  - `treesitter.c` no longer contains any logic related to predicates.
  - Add `match_limit` option to `iter_matches()`. Default is still 256.
2024-03-19 14:24:59 +00:00
..
autoload vim-patch:8fad5d58874e 2024-02-29 22:54:57 +01:00
colors fix(treesitter): document more standard highlight groups 2024-03-19 09:41:16 +01:00
compiler
doc refactor(treesitter): redesign query iterating 2024-03-19 14:24:59 +00:00
ftplugin vim-patch:ef21bcaab145 2024-03-18 22:01:33 +01:00
indent vim-patch:b4eb3f1e4489 2024-02-29 22:54:57 +01:00
keymap
lua refactor(treesitter): redesign query iterating 2024-03-19 14:24:59 +00:00
macros vim-patch:79230f027a25 2024-02-16 08:57:45 +01:00
pack/dist/opt
plugin vim-patch:9.1.0167: Changing buffer in another window causes it to show matchparen (#27820) 2024-03-12 07:19:47 +08:00
queries feat(treesitter): update Markdown parsers and queries to v0.2.1 2024-03-19 09:41:16 +01:00
spell
syntax vim-patch:9530fe4f3a69 (#27919) 2024-03-19 06:38:30 +08:00
tools
tutor fix(l10n): update Japanese translations (#27856) 2024-03-16 14:50:52 +08:00
CMakeLists.txt
delmenu.vim
filetype.lua
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim vim-patch:45da32964d6e 2024-03-14 15:04:31 +08:00
neovim.ico
nvim.appdata.xml
nvim.desktop
nvim.png
optwin.vim vim-patch:9.1.0147: Cannot keep a buffer focused in a window 2024-03-11 11:38:13 +08:00
synmenu.vim