mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-18 14:57:18 +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
@@ -24,13 +24,13 @@ color identifier "def [a-zA-Z_0-9]+"
|
||||
color statement "\b(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\b"
|
||||
|
||||
## decorators
|
||||
color brightgreen "@.*[(]"
|
||||
color special "@.*[(]"
|
||||
|
||||
## operators
|
||||
color statement "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
|
||||
color symbol.operator "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
|
||||
|
||||
## parentheses
|
||||
color statement "[(){}]" "\[" "\]"
|
||||
color symbol.brackets "[(){}]" "\[" "\]"
|
||||
|
||||
## numbers
|
||||
color constant.number "\b[0-9]+\b"
|
||||
|
||||
Reference in New Issue
Block a user