mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-23 16:31:55 +04:00
40 lines
670 B
Scheme
40 lines
670 B
Scheme
|
;; From nvim-treesitter/nvim-treesitter
|
||
|
[
|
||
|
(code_span)
|
||
|
(link_title)
|
||
|
] @markup.raw.inline
|
||
|
|
||
|
[
|
||
|
(emphasis_delimiter)
|
||
|
(code_span_delimiter)
|
||
|
] @punctuation.bracket
|
||
|
|
||
|
(emphasis) @markup.italic
|
||
|
|
||
|
(strong_emphasis) @markup.bold
|
||
|
|
||
|
(strikethrough) @markup.strikethrough
|
||
|
|
||
|
[
|
||
|
(link_destination)
|
||
|
(uri_autolink)
|
||
|
] @markup.link.url
|
||
|
|
||
|
[
|
||
|
(link_text)
|
||
|
(image_description)
|
||
|
] @markup.link.text
|
||
|
|
||
|
(link_label) @markup.link.label
|
||
|
|
||
|
[
|
||
|
(backslash_escape)
|
||
|
(hard_line_break)
|
||
|
] @constant.character.escape
|
||
|
|
||
|
(image ["[" "]" "(" ")"] @punctuation.bracket)
|
||
|
(image "!" @punctuation.special)
|
||
|
(inline_link ["[" "]" "(" ")"] @punctuation.bracket)
|
||
|
(shortcut_link ["[" "]"] @punctuation.bracket)
|
||
|
|