c29e58e3d4
* 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.
22 lines
585 B
Text
22 lines
585 B
Text
syntax "toml" "\.toml$"
|
|
|
|
# Keys
|
|
color statement "(.*)[[:space:]]="
|
|
color special "="
|
|
|
|
# Bracket thingies
|
|
color symbol.brackets "(\[|\])"
|
|
|
|
# Numbers and strings
|
|
color constant.number "\b([0-9]+|0x[0-9a-fA-F]*)\b|'.'"
|
|
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color constant.specialChar "\\[abfnrtv'\"\\]"
|
|
color constant.specialChar "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
|
|
color constant.string "`[^`]*`"
|
|
color constant.specialChar """
|
|
color constant.specialChar "'"
|
|
|
|
# Comments & TODOs
|
|
color comment "(^|[[:space:]])#.*"
|
|
color todo "(TODO|XXX|FIXME):?"
|