mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -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
|
|
@ -31,12 +31,10 @@
|
|||
(hard_line_break)
|
||||
] @string.escape
|
||||
|
||||
; "(" not part of query because of
|
||||
; https://github.com/nvim-treesitter/nvim-treesitter/issues/2206
|
||||
; TODO: Find better fix for this
|
||||
(image ["!" "[" "]" "(" ")"] @punctuation.delimiter)
|
||||
(inline_link ["[" "]" "(" ")"] @punctuation.delimiter)
|
||||
(shortcut_link ["[" "]"] @punctuation.delimiter)
|
||||
(image "!" @punctuation.special)
|
||||
(image ["[" "]" "(" ")"] @punctuation.bracket)
|
||||
(inline_link ["[" "]" "(" ")"] @punctuation.bracket)
|
||||
(shortcut_link ["[" "]"] @punctuation.bracket)
|
||||
|
||||
; Conceal codeblock and text style markers
|
||||
([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue