mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
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.
This commit is contained in:
committed by
Zachary Yedidia
parent
924809b19b
commit
c29e58e3d4
@@ -1,7 +1,14 @@
|
||||
## Here is a short improved example for HTML.
|
||||
##
|
||||
##
|
||||
syntax "html" "\.htm[l]?$"
|
||||
color identifier "<.*?>"
|
||||
color symbol "<|>"
|
||||
color symbol.tag "<[^!].*?>"
|
||||
color symbol "[:=]"
|
||||
color special "&[^;[[:space:]]]*;"
|
||||
color constant ""[^"]*"|qq\|.*\|"
|
||||
color constant.string ""[^"]*"|qq\|.*\|"
|
||||
color statement "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|
||||
color constant.string.url "(ft(p|ps)|htt(p|ps)|git|chrome)://[^ ]+"
|
||||
color comment "<!--.+?-->"
|
||||
color preproc "<!DOCTYPE.+?>"
|
||||
# Bad possible work around for region-less regions.
|
||||
#color default start=">" end="<"
|
||||
Reference in New Issue
Block a user