mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
rc markdown: Fix bullet highlighting
This commit prevents the lines following the one that holds the bullet from being highlighted with the `bullet` face when they're indented: - The bullet is highlighted properly, so is this sentence but this line the ones that would follow are not Fixes #3582
This commit is contained in:
parent
ba02c1d822
commit
ae9088f192
@ -59,9 +59,9 @@ add-highlighter shared/markdown/codeblock region -match-capture \
|
||||
^(\h*)```\h*$ \
|
||||
fill meta
|
||||
|
||||
add-highlighter shared/markdown/listblock region ^\h*[-*]\s ^\h*((?=[-*])|$) regions
|
||||
add-highlighter shared/markdown/listblock/marker region \A [-*]\s fill bullet
|
||||
add-highlighter shared/markdown/listblock/content default-region ref markdown/inline
|
||||
add-highlighter shared/markdown/listblock region ^\h*[-*]\s ^\h*((?=[-*])|$) group
|
||||
add-highlighter shared/markdown/listblock/ ref markdown/inline
|
||||
add-highlighter shared/markdown/listblock/marker regex ^\h*([-*])\s 1:bullet
|
||||
|
||||
add-highlighter shared/markdown/inline/code region -match-capture (`+) (`+) fill mono
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user