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
558 B
Text
22 lines
558 B
Text
## TeX
|
|
syntax "tex" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
|
|
|
|
## colorize the identifiers of {<identifier>} and [<identifier>]
|
|
color identifier start="\{" end="\}"
|
|
color identifier start="\[" end="\]"
|
|
|
|
## numbers
|
|
color constant.number "\b[0-9]+(\.[0-9]+)?([[:space:]](pt|mm|cm|in|ex|em|bp|pc|dd|cc|nd|nc|sp))?\b"
|
|
|
|
## let brackets be colored on their own.
|
|
color symbol.brackets "[{}\[\]]"
|
|
|
|
color special "[&\\]"
|
|
|
|
## macros
|
|
color identifier.macro "\\@?[a-zA-Z_]+"
|
|
|
|
## commments
|
|
color comment "%.*"
|
|
color comment start="\\begin\{comment\}" end="\\end\{comment\}"
|