mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 22:52:51 +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
@@ -16,14 +16,15 @@ color constant "'([^'\\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0
|
||||
## GCC builtins
|
||||
color statement "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
|
||||
|
||||
#Includes
|
||||
color constant.string "<.+?>"
|
||||
|
||||
#Operator Color
|
||||
color symbol.operator "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
|
||||
|
||||
#Parenthetical Color
|
||||
color symbol.brackets "[(){}]" "\[" "\]"
|
||||
|
||||
#Includes
|
||||
color constant.string "<.+?>"
|
||||
#Integers
|
||||
color constant.number "\b[0-9]+\b" "\b0x[0-9A-Fa-f]+\b"
|
||||
color constant.number "NULL"
|
||||
|
||||
Reference in New Issue
Block a user