aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/highlights.scm
Commit message (Collapse)AuthorAge
* fix(treesitter): update queriesChristian Clason2024-11-22
|
* fix(runtime): sync bundled treesitter queriesChristian Clason2024-07-28
|
* fix(treesitter): update queriesChristian Clason2024-05-05
|
* fix(treesitter): update parsers and queriesChristian Clason2024-04-05
|
* feat(treesitter): update C parser and queries to v0.21.0Christian Clason2024-03-19
|
* feat(treesitter)!: new standard capture namesChristian Clason2024-01-21
| | | | | | | | | | | | | | Problem: Sharing queries with upstream and Helix is difficult due to different capture names. Solution: Define and document a new set of standard captures that matches tree-sitter "standard captures" (where defined) and is closer to Helix' Atom-style nested groups. This is a breaking change for colorschemes that defined highlights based on the old captures. On the other hand, the default colorscheme now defines links for all standard captures (not just those used in bundled queries), improving the out-of-the-box experience.
* feat(treesitter): update C queries from upstreamChristian Clason2023-08-13
|
* build(deps): bump tree-sitter-c to v0.20.4 (#24495)Christian Clason2023-07-27
|
* fix(treesitter): update c queriesChristian Clason2023-05-15
|
* fix(treesitter): update queries from nvim-treesitterChristian Clason2023-04-01
| | | | remove self-injection for C preprocessor macros (can be very slow)
* feat(extmarks,ts,spell): full support for spellingThomas Vigouroux2022-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added 'spell' option to extmarks: Extmarks with this set will have the region spellchecked. - Added 'noplainbuffer' option to 'spelloptions': This is used to tell Neovim not to spellcheck the buffer. The old behaviour was to spell check the whole buffer unless :syntax was set. - Added spelling support to the treesitter highlighter: @spell captures in highlights.scm are used to define regions which should be spell checked. - Added support for navigating spell errors for extmarks: Works for both ephemeral and static extmarks - Added '_on_spell_nav' callback for decoration providers: Since ephemeral callbacks are only drawn for the visible screen, providers must implement this callback to instruct Neovim which regions in the buffer need can be spell checked. The callback takes a start position and an end position. Note: this callback is subject to change hence the _ prefix. - Added spell captures for built-in support languages Co-authored-by: Lewis Russell <lewis6991@gmail.com> Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
* treesitter: Update to 0.19.3Mathias Fussenegger2021-03-09
|
* treesitter: runtime queriesThomas Vigouroux2020-10-11
Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.lua Co-authored-by: Paul Burlumi <paul@burlumi.com>