mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
queries(markdown): add simple highlight query
This commit is contained in:
parent
d54fe4545b
commit
f9df9d55d7
1 changed files with 9 additions and 0 deletions
9
queries/markdown/highlights.scm
Normal file
9
queries/markdown/highlights.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
;; MarkDown highlighting
|
||||
(atx_heading) @Constant
|
||||
(link_text) @String
|
||||
(link_destination) @Type
|
||||
(emphasis) @Special
|
||||
(strong_emphasis) @SpecialComment
|
||||
|
||||
(fenced_code_block (info_string) @Type (code_fence_content) @Ignore) @Function
|
||||
(code_span (text) @Ignore ) @Function
|
||||
Loading…
Add table
Add a link
Reference in a new issue