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 vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
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 vim-patch:caee7956a21a 2023-11-05 21:56:56 +01:00
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 vim-patch:9.1.0025: A few typos in tests and justify.vim 2024-01-12 22:24:52 +01:00
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 build: various fixes 2024-02-01 12:06:55 +01:00
delmenu.vim
filetype.lua fix(filetype): make sure buffer is valid before call nvim_buf_call (#24922) 2023-08-30 10:14:58 -05:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00
menu.vim vim-patch:e059fae10044 2023-08-24 11:33:06 +09:00
mswin.vim vim-patch:45da32964d6e 2024-03-14 15:04:31 +08:00
neovim.ico
nvim.appdata.xml docs: add wiki FAQ to the runtime documentation (#26539) 2023-12-13 17:31:39 +01:00
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 vim-patch:9.1.0013: Modula2 filetype support lacking (#27020) 2024-01-16 17:45:57 +00:00