mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 22:07:09 +09:00
Legacy syntax overhaul 2 (#577)
* Added title setting (Requires tcell pull!) and optimized tab display. * Added Clojure highlighting. * Changed tcell call to screen. * Fixed bad reference for getting Buffer name. * Yet another massive syntax overhaul * Tweaking and testing web syntax * More webdev goodies * Added html5 highlighting and strict html4 highlighting. * Documentation update
This commit is contained in:
committed by
Zachary Yedidia
parent
ab74e56a40
commit
d949b58fc0
@@ -12,7 +12,7 @@ color constant "\b(?i:(false|true|nil))\b"
|
||||
|
||||
color special start="asm" end="end"
|
||||
|
||||
color constant.number "\$[0-9A-Fa-f]+" "\b[+-]?[0-9]+([.]?[0-9]+)?(?i:e[+-]?[0-9]+)?"
|
||||
color constant.number "\$[0-9A-Fa-f]+" "\b[+\-]?[0-9]+([.]?[0-9]+)?(?i:e[+\-]?[0-9]+)?"
|
||||
color constant.string "#[0-9]{1,}"
|
||||
color constant.string "'(?:[^']+|'')*'"
|
||||
|
||||
@@ -20,4 +20,4 @@ color preproc start="{\$" end="}"
|
||||
|
||||
color comment "//.*"
|
||||
color comment start="\(\*" end="\*\)"
|
||||
color comment start="({)(?:[^$])" end="}"
|
||||
color comment start="({)(?:[^$])" end="}"
|
||||
|
||||
Reference in New Issue
Block a user