fzf added to the bashrc
[dotfiles/.git] / .nano / Rnw.nanorc
1 ## Here is a short example for TeX files.
2 ##
3 syntax "Tex" "\.Rnw$" "bib" "\.bib$" "cls" "\.cls$"
4 color yellow "\$(\\\$|[^$])*[^\\]\$"
5 color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
6 icolor green "\\.|\\[A-Z]*"
7 color magenta "[{}]"
8 color red start="<<" end=">>="
9 color white start=">>=" end="@"
10
11 color brightblue "%.*"
12 color brightblue "^[[:space:]]*#.*"
13 color brightblue start="\\begin\{comment\}" end="\\end\{comment\}"
14
15 color green "(class|extends|goto) ([a-zA-Z0-9_]*)"
16 color green "[^a-z0-9_-]{1}(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|endif|foreach|endforeach|@|while|public|private|protected|return|true|false|null|TRUE|FALSE|NULL|const|static|extends|as|array|require|include|require_once|include_once|define|do|continue|declare|goto|print|in|namespace|use)[^a-z0-9_-]{1}"
17
18 # Functions
19 color blue "([a-zA-Z0-9_\-$\.]*)\("
20
21 # Variables
22 color magenta "[a-zA-Z_0-9]* <\-"
23 # Special Characters
24 color yellow "[.,{}();]"
25 color yellow "\["
26 color yellow "\]"
27 color yellow "[=][^>]"
28 # Numbers
29 color magenta "[+-]*([0-9]\.)*[0-9]+([eE][+-]?([0-9]\.)*[0-9])*"
30 color magenta "0x[0-9a-zA-Z]*"
31 # Special Variables
32 color blue "(\$this|parent::|self::|\$this->)"
33 # Bitwise Operations
34 color magenta "(\;|\||\^){1}"
35 # And/Or/SRO/etc
36 color green "(\;\;|\|\||::|=>|->)"
37 # STRINGS!
38 color red "('[^']*')|(\"[^\"]*\")"
39