1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 20:41:49 +03:00

asciidoc: Add a highlighter for [%options]

This commit is contained in:
Kylie McClain 2020-07-23 00:01:24 -04:00
parent b52c2a532d
commit e845495cc3

View File

@ -70,6 +70,9 @@ add-highlighter shared/asciidoc/ regex __[^\n]+?__ 0:+i
add-highlighter shared/asciidoc/ regex ^:(?:(?<neg>!?)[-\w]+|[-\w]+(?<neg>!?)): 0:meta neg:operator add-highlighter shared/asciidoc/ regex ^:(?:(?<neg>!?)[-\w]+|[-\w]+(?<neg>!?)): 0:meta neg:operator
add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta
# Options
add-highlighter shared/asciidoc/ regex ^\[[^\n]+\]$ 0:operator
# Commands # Commands
# ‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾