Files
zyedidia.micro/runtime/syntax/asciidoc.micro
CaptainMcClellan c29e58e3d4 Syntax Highlight Overhaul (#568)
* Adds new syntax groups and docs
* Large refactor of syntax highlighting files

* Changed keybindings for changing tabs.

* Improved the documentation.

* Added F3 for find to default bindings.

* Massive overhaul of the syntax files

* Phase 1 color-scheme updates.

* The new colorschemes.

* Colorscheme and syntax updates.

* Tiny fix to the cmc theme.

* Another phase of colorschemes and testing gitconfig.

* Fixed haskell error

* Fortran fix

* Delete test.txt

Heh, sorry about forgetting to do this again.
2017-03-01 09:30:35 -05:00

48 lines
1.1 KiB
Plaintext

syntax "asciidoc" "\.(asc|asciidoc|adoc)$"
# main header
color preproc "^====+$"
# h1
color statement "^==[[:space:]].*$"
color statement "^----+$"
# h2
color symbol "^===[[:space:]].*$"
color symbol "^~~~~+$"
# h4
color type "^====[[:space:]].*$"
color type "^\^\^\^\^+$"
# h5
color constant "^=====[[:space:]].*$"
color constant "^\+\+\+\++$"
# attributes
color type.keyword ":.*:"
color identifier.macro "\{[a-z0-9]*\}"
color identifier "\\\{[a-z0-9]*\}"
color identifier "\+\+\+\{[a-z0-9]*\}\+\+\+"
# Paragraph Title
color statement "^\..*$"
# source
color identifier "^\[(source,.+|NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]"
# Other markup
color constant.string ".*[[:space:]]\+$"
color constant.string "_[^_]+_"
color constant.string "\*[^\*]+\*"
color constant.string "\+[^\+]+\+"
color constant.string "`[^`]+`"
color constant.string "\^[^\^]+\^"
color constant.string "~[^~]+~"
color constant.string "'[^']+'"
color constant "`{1,2}[^']+'{1,2}"
# bullets
color symbol "^[[:space:]]*[\*\.-]{1,5}[[:space:]]"
# anchors
color bold default "\[\[.*\]\]"
color bold default "<<.*>>"