mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-06 23:20:18 +09:00
* 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.
25 lines
792 B
Plaintext
25 lines
792 B
Plaintext
## Here is an example for groff.
|
|
##
|
|
syntax "groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
|
|
## The argument of .ds or .nr
|
|
color statement "^\.(ds|nr) [^[[:space:]]]*"
|
|
## Single character escapes
|
|
color constant.specialChar "\\."
|
|
## Highlight the argument of \f or \s in the same color
|
|
color constant.specialChar "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"
|
|
## Newlines
|
|
color constant "(\\|\\\\)n(.|\(..)"
|
|
color constant start="(\\|\\\\)n\[" end="]"
|
|
## Requests
|
|
color type "^\.[[:space:]]*[^[[:space:]]]*"
|
|
## Comments
|
|
color comment "^\.\\".*$"
|
|
## Strings
|
|
color constant.string "(\\|\\\\)\*(.|\(..)"
|
|
color constant.string start="(\\|\\\\)\*\[" end="]"
|
|
## Characters
|
|
color constant.specialChar "\\\(.."
|
|
color constant.specialChar start="\\\[" end="]"
|
|
## Macro arguments
|
|
color identifier.macro "\\\\\$[1-9]"
|