Files
neovim/runtime/lua/vim
Jongwook Choi 800134ea5e refactor(treesitter): typing for Query, TSQuery, and TSQueryInfo
- `TSQuery`: userdata object for parsed query.

- `vim.treesitter.Query`: renamed from `Query`.
  - Add a new field `lang`.

- `TSQueryInfo`:
  - Move to `vim/treesitter/_meta.lua`, because C code owns it.
  - Correct typing for `patterns`, should be a map from `integer`
    (pattern_id) to `(integer|string)[][]` (list of predicates or
    directives).

- `vim.treesitter.QueryInfo` is added.
  - This currently has the same structure as `TSQueryInfo` (exported
    from C code).
  - Document the fields (see `TSQuery:inspect`).

- Add typing for `vim._ts_parse_query()`.
2024-02-08 12:40:16 +00:00
..
2023-09-20 13:42:41 +01:00
2024-02-08 11:11:46 +00:00
2024-01-23 11:45:17 +00:00
2023-12-30 17:40:53 +01:00
2024-01-16 09:33:10 +00:00
2023-09-14 08:23:01 -05:00
2023-09-20 13:42:41 +01:00
2024-01-19 11:54:04 +00:00
2024-01-03 19:17:52 +00:00
2023-12-30 17:40:53 +01:00
2024-02-08 11:11:46 +00:00
2023-09-23 23:46:45 +01:00
2023-12-30 17:40:53 +01:00
2024-02-06 19:30:02 +08:00