mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
highlights(markup): distinguish heading level in queries
also add a few queries from Helix and remove controversial code block conceal in Markdown
This commit is contained in:
parent
15300c1a10
commit
680807fa6a
5 changed files with 43 additions and 53 deletions
|
|
@ -1,8 +1,8 @@
|
|||
# H1
|
||||
<!-- <- punctuation.special -->
|
||||
<!-- <- text.title.1.marker -->
|
||||
|
||||
## H2
|
||||
<!-- <- punctuation.special -->
|
||||
<!-- <- text.title.2.marker -->
|
||||
|
||||
- Item 1
|
||||
- Item 2
|
||||
|
|
@ -16,13 +16,13 @@
|
|||
<!-- ^ text.reference -->
|
||||
<!-- ^ text.uri -->
|
||||
<!-- ^ text.literal -->
|
||||
<!--^ punctuation.delimiter -->
|
||||
<!-- ^ punctuation.delimiter -->
|
||||
<!-- //TODO: currently disabled punctuation.delimiter -->
|
||||
<!--^ punctuation.special -->
|
||||
<!-- ^ punctuation.bracket -->
|
||||
<!-- ^ punctuation.bracket -->
|
||||
|
||||
[link_text](#local_reference "link go brr...")
|
||||
<!-- ^ text.reference -->
|
||||
<!-- ^ text.uri -->
|
||||
<!-- ^ text.literal -->
|
||||
<!-- <- punctuation.delimiter -->
|
||||
<!-- //TODO: currently disabled punctuation.delimiter -->
|
||||
<!-- <- punctuation.bracket -->
|
||||
<!-- ^ punctuation.bracket -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue