-
-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(treesitter): follow upstream captures (#694)
* feat(treesitter): follow upstream captures This PR primarily updated highlight groups related to treesitter captures to comply with the updated specification. Deprecated captures were relocated to the legacy section. All changes are based on the following four commits: - nvim-treesitter/nvim-treesitter@99ddf57 - nvim-treesitter/nvim-treesitter@5d75359 - nvim-treesitter/nvim-treesitter@dccf31f - nvim-treesitter/nvim-treesitter@998b230 I've attempted to keep the colors consistent for new additions by looking at the definitions of existing captures, but I'm _really_ not sure how to handle colors for documentation-related ones. AFAIU the only relevant existing capture is `@markup.raw`, but it seems better suited for smaller sections of documentation. Personally, I don't think a large block of greenish-blue would look great for extensive documents that might span multiple lines. Signed-off-by: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters