Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nano config, added .bash_profile, and tweaks to .bashrc
- Loading branch information
Showing
73 changed files
with
1,855 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
. $HOME/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## Apache httpd.conf highlighting | ||
## | ||
#how to add sites-enabled files? "default" is too generic to keep in here I think | ||
syntax "Apache2" "httpd.conf$" | ||
color brightwhite "(ServerRoot|LoadModule|(Lock|Pid)File|Timeout|(Max)?KeepAlive(Requests|Timeout)?)" | ||
color brightwhite "(User|Group|LogFormat|ErrorLog|Include|(Script)?Alias)" | ||
color brightwhite "(ErrorDocument|AccessFileName|UseCanonicalName|TypesConfig|DefaultType)" | ||
color brightwhite "(HostnameLookups|IndexOptions|(Readme|Header)Name|LanguagePriority)" | ||
color brightwhite "(AddIcon(ByEncoding|ByType)?|DefaultIcon|IndexIgnore|BrowserMatch)" | ||
color brightwhite "(Add(Encoding|Language|(Default)?Charset|Type|Handler)|DirectoryIndex)" | ||
color brightwhite "(DocumentRoot|Server(Admin|Signature)|LogLevel|CustomLog)" | ||
color brightwhite "((Force)?LanguagePriority|NameVirtualHost)" | ||
color brightyellow "(SetHandler|Order|Deny|Allow|SetOutputFilter)" | ||
color yellow "(AllowOverride|FileInfo|AuthConfig|Limit)" | ||
color yellow "([^A-Z0-9a-z]Options|Indexes|(\+|\-)?SymLinksIfOwnerMatch)" | ||
color yellow "(Includes(NoExec)?|(\+|\-)?MultiViews)" | ||
color yellow "(None|allow,deny|deny,allow|(allow)? from (all)?|Prefer|Fallback)" | ||
color yellow "(Add(Handler|OutputFilter)|NumServers|AcceptMutex)" | ||
color yellow "((Min|Max)Spare(Threads|Servers|Processors)|Start(Threads|Servers))" | ||
color yellow "(MaxClients|(Min|Max)?ThreadsPerChild|MaxRequestsPerChild)" | ||
color yellow "(FancyIndexing|VersionSort|ExecCGI|FollowSymLinks|(Min|Max)Processors)" | ||
color yellow "hostmaster@[A-Za-z0-9\.]*" | ||
color brightred "(On|Off)[[:space:]]*$" | ||
color brightred "[[:space:]]+(debug|info|notice|warn|error|crit|alert|emerg)[[:space:]]*$" | ||
color brightred "[[:space:]]+(combined|common|referer|agent)[[:space:]]*$" | ||
color brightred "[[:space:]]+(redirect\-carefully|nokeepalive)[[:space:]]*" | ||
color brightred "[[:space:]]+(force\-response\-1\.0)[[:space:]]*" | ||
color brightred "[[:space:]]+(downgrade\-1\.0)[[:space:]]*" | ||
color brightred "[[:space:]]+application/[a-zA-Z\-]+[[:space:]]*" | ||
color brightred "[[:space:]]+type-map[[:space:]]*" | ||
color magenta "[[:space:]]+[0-9]+[[:space:]]*" | ||
color magenta "(/)?(2[0-5]{2}|1[0-9]{2}|[1-9][0-9]|[1-9])(\.(2[0-5]{2}|1[0-9]{2}|[1-9][0-9]|[0-9])){3}([[:space:]]+::(2[0-5]{2}|1[0-9]{2}|[1-9][0-9]|[0-9])/(2[0-5]{2}|1[0-9]{2}|[1-9][0-9]|[0-9]))?" | ||
color brightcyan start="<" end=">" | ||
color white ""(\\.|[^\"])*"" | ||
# Unix-based paths | ||
# can't use \] in the regex for some reason?!? Maybe a bug? | ||
# this is preventing a 100% "to the end of the line" match for a few | ||
# lines (the trailing characters from ] to the EOL are not highlighted. | ||
# if anyone knows how to make it work, let me know.. ;) | ||
color white "[[:space:]]+(/[/\[\^#A-Za-z0-9\.\*\_\-]+)+" | ||
color green "^[[:space:]]*#.*" | ||
color cyan "\<(ServerName|Serveralias|DocumentRoot|DirectoryIndex|ErrorLog|CustomLog)\>" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Here is an example for assembler. | ||
## | ||
syntax "asm" "\.(S|s|asm)$" | ||
color red "\<[A-Z_]{2,}\>" | ||
color brightgreen "\.(data|subsection|text)" | ||
color green "\.(align|file|globl|global|hidden|section|size|type|weak)" | ||
color brightyellow "\.(ascii|asciz|byte|double|float|hword|int|long|short|single|struct|word)" | ||
icolor brightred "^[[:space:]]*[.0-9A-Z_]*:" | ||
color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)" | ||
## Highlight strings (note: VERY resource intensive) | ||
color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" | ||
color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" | ||
## Highlight comments | ||
color brightblue "//.*" | ||
color brightblue start="/\*" end="\*/" | ||
## Highlight trailing whitespace | ||
color ,green "[[:space:]]+$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
syntax "c-file" "\.(c|h)$" | ||
color red "\<[A-Z_]{2,}\>" | ||
color green "\<(float|double|char|int|short|long|enum|void|static|const|struct|union|typedef|extern|signed|unsigned|inline)\>" | ||
color brightyellow "\<(for|if|while|do|else|case|switch|goto|continue|break|return)\>" | ||
color brightcyan "^ *# *(define|undef|include|ifn?def|endif|elif|else|if)" | ||
color brightmagenta "'([^\]|(\\['abfnrtv\\]))'" "'\\(([0-7][0-7]?)|([0-3][0-7][0-7]))'" "'\\x[0-9A-Fa-f][0-9A-Fa-f]?'" | ||
color brightyellow "<[^= ]*>" ""(\\.|[^\"])*"" | ||
color brightyellow start=""(\\.|[^\"])*\\ *$" end="^(\\.|[^\"])*"" | ||
color brightblue "//.*" | ||
color brightblue start="/\*" end="\*/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
## Here is an example for C/C++. | ||
## | ||
syntax "c" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" | ||
color brightred "\<[A-Z_][0-9A-Z_]+\>" | ||
color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" | ||
color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>" | ||
color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>" | ||
color brightyellow "\<(for|if|while|do|else|case|default|switch)\>" | ||
color brightyellow "\<(try|throw|catch|operator|new|delete)\>" | ||
color magenta "\<(goto|continue|break|return)\>" | ||
color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)" | ||
color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'" | ||
## | ||
## GCC builtins | ||
color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__" | ||
## | ||
## String highlighting. You will in general want your comments and | ||
## strings to come last, because syntax highlighting rules will be | ||
## applied in the order they are read in. | ||
color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" | ||
## | ||
## This string is VERY resource intensive! | ||
color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" | ||
|
||
## Comment highlighting | ||
color brightblue "//.*" | ||
color brightblue start="/\*" end="\*/" | ||
|
||
## Trailing whitespace | ||
color ,green "[[:space:]]+$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
syntax "changelog" "ChangeLog$" | ||
color brightgreen "^\+.*" | ||
color green "^\+\+\+.*" | ||
color brightblue "^ .*" | ||
color brightred "^-.*" | ||
color red "^---.*" | ||
color red "(\d\d\s\w\+\s\d\{4\})" | ||
color brightyellow "^@@.*" | ||
color magenta "^diff.*" | ||
|
||
#syn region GentooChangeLogRelease start=/^\*/ end=/$/ contains=GentooChangeLogReleaseDate | ||
#syn match GentooChangeLogReleaseDate contained /(\d\d\s\w\+\s\d\{4\})/ | ||
#syn region GentooChangeLogEntry start=/^\s\+/ end=/\n\n/ | ||
# \ contains=GentooChangeLogEntryDate,GentooBug | ||
#syn region GentooChangeLogEntryDate contained start=/\d\?\d\s\w\+\s\d\{4\}/ end=/;/ | ||
# \ nextgroup=GentooChangeLogEntryAuthor,GentooChangeLogEntryEmail skipwhite skipnl | ||
#syn region GentooChangeLogEntryAuthor contained start=/\S/ end=/\( <\)\@=/ | ||
# \ nextgroup=GentooChangeLogEntryEmail skipwhite skipnl | ||
#syn match GentooChangeLogEntryEmail contained /<\?[a-zA-Z0-9\.\-\_]\+@[a-zA-Z0-9\.\-\_]\+>\?/ | ||
# \ nextgroup=GentooChangeLogFiles skipwhite skipnl | ||
#syn region GentooChangeLogFiles contained start=/\(\S\)\@=/ end=/:/ | ||
# \ contains=GentooChangeLogAddFile,GentooChangeLogDelFile,GentooChangeLogModFile | ||
#" Add / delete / changed files | ||
#syn region GentooChangeLogAddFile contained start=/+/ end=/\([,:]\)\@=/ | ||
#syn region GentooChangeLogDelFile contained start=/-/ end=/\([,:]\)\@=/ | ||
#syn region GentooChangeLogModFile contained start=/[a-zA-Z0-9]/ end=/\([,:]\)\@=/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Changelog file syntax | ||
## | ||
syntax "changelogs" "ChangeLog*$" "HISTORY$" "NEWS$" | ||
|
||
color green "\+" | ||
color red "\-" | ||
color brightwhite "[0-9]" | ||
color brightblue "[0-9][0-9]\:[0-9][0-9]\:[0-9][0-9]" | ||
color blue "[0-9][0-9][0-9][0-9]\-[0-9][0-9]\-[0-9][0-9]" | ||
color blue "[0-9][0-9][0-9][0-9]\/[0-9][0-9]\/[0-9][0-9]" | ||
color blue "\<(CEST|CET|CST||CDT|EDT)\>" | ||
color yellow "[0-9]\..*$" | ||
color cyan "\*.*$" | ||
color brightblue "\<(pre.*$|beta.*$|rc.*$|release.*$)\>" | ||
color green "#.*$" | ||
icolor brightred "^[[:space:]]*[.0-9A-Z_]*:" | ||
color magenta "[.0-9A-Za-z_]*[[:space:]]*[.0-9A-Za-z_]*[[:space:]]<" | ||
color brightyellow "<(\\.|[^\"])*>" | ||
color brightwhite "commit[[:space:]]*[.0-9A-Z_]*$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Here is an example for C/C++. | ||
## | ||
syntax "clike" "\.(m|pch)$" | ||
color brightred "\<[A-Z_][0-9A-Z_]+\>" | ||
color green "\<(float|double|bool|char|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>" | ||
color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>" | ||
color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>" | ||
color brightyellow "\<(for|if|while|do|else|case|default|switch)\>" | ||
color brightyellow "\<(try|throw|catch|operator|new|delete)\>" | ||
color magenta "\<(goto|continue|break|return)\>" | ||
color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)" | ||
color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'" | ||
## | ||
## GCC builtins | ||
color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__" | ||
## | ||
## String highlighting. You will in general want your comments and | ||
## strings to come last, because syntax highlighting rules will be | ||
## applied in the order they are read in. | ||
color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" | ||
## | ||
## This string is VERY resource intensive! | ||
color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" | ||
|
||
## Comment highlighting | ||
color brightblue "//.*" | ||
color brightblue start="/\*" end="\*/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
### several config files | ||
syntax "config" "(\.|/|)config$" "(\.|/|)logout$" "(\.|/|)COLORS$" "(\.|/|)colors$" | ||
color red "/.*$" "TERM" "\..*$" "=.*$" "\*.*$" | ||
color white ":unscaled" "[0-9]" | ||
color blue "setenv|export" "\;" | ||
color green "#.*$" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### more config files | ||
syntax "config2" "(\.|/|)env$" "(\.|/|)server.$" "hosts" "gpm" "local.*$" "bootsplash" "crypto-loop" | ||
color red "/.*$" "http\:\/\/.*$" | ||
color white ":unscaled" | ||
color blue "setenv|export" | ||
color brightwhite "[0-9]" | ||
color green "#.*$" | ||
color white "http\:\/\/" "ftp\:\/\/" "rsync\:\/\/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### even more config files ;-) | ||
syntax "config3" "iptables" "ntp.*$" "rsyncd" "xfs" "saslauthd" "timidity" "net.*$" "hdparm" "esound" "login.*$" | ||
color red "/.*$" "http\:\/\/.*$" ""(\\.|[^\"])*"" "\<(server)\>" "\<(logfile)\>""\<(driftfile)\>" | ||
color white ":unscaled" "http\:\/\/" "ftp\:\/\/" "rsync\:\/\/" | ||
color blue "setenv|export" | ||
color brightwhite "[0-9]" | ||
color green "#.*$" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### all *conf files (e.g. make.conf, xorg.conf, grub.conf, make.globals, Xfce files...) | ||
syntax "configfiles" "(\.|/|)conf$" "(\.|/|)ample$" "(\.|/|)globals$" "xfce.*$" "syslog-ng" "sudoers" | ||
color brightwhite "\<(alias)\>" | ||
color blue "<(\\.|[^'])*>" | ||
color magenta "[a-zA-Z0-9\_]+=" | ||
color white ">(\\.|[^'><])*</" | ||
color green "//.*$" | ||
color red ""(\\.|[^\"])*"" | ||
color red "title.*$" "\<(server)\>" "\<(logfile)\>" "\<(driftfile)\>" "\<(restrict)\>" | ||
color white ":unscaled" "http\:\/\/" "ftp\:\/\/" "rsync\:\/\/" | ||
color magenta "'(\\.|[^'])*'" | ||
color brightwhite "[0-9]" | ||
color brightwhite "[<>]" | ||
color magenta "Section" "EndSection" "SubSection" "EndSubSection" | ||
color red "\<(root)\>" | ||
color brightred,blue "^.*-->" start="<!--.*" end="$" | ||
color green "#.*$" start="<!--" end="-->" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Conky config highlighting | ||
## | ||
syntax "Conky" ".conkyrc$" | ||
color brightblue "(use_spacer|background|use_xft|xftfont|xftalpha)" | ||
color brightblue "(mail_spool|update_interval|own_window)" | ||
color brightblue "(double_buffer|minimum_size)" | ||
color brightblue "(draw_(outline|borders|shades)|stippled_borders)" | ||
color brightblue "border_(margin|width)" | ||
color brightblue "default_((shade_|outline_)?color)" | ||
color brightblue "(alignment|gap_x|gap_y|no_buffers|uppercase)" | ||
color brightblue "^TEXT[[:space:]]*$" | ||
color brightred "[[:space:]]+(yes|no)[[:space:]]*" | ||
color brightred "(top_left|top_right|bottom_left|bottom_right)[[:space:]]*$" | ||
color magenta "[[:space:]]+([[:space:]]*([0-9]\.?))+[[:space:]]*" | ||
color brightred "\$\{?[a-zA-Z_0-9\# ]+\}?" | ||
color green "^[[:space:]]*#.*" | ||
color white "[[:space:]]+\#[0-9A-Fa-f]{6}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
############################################################################## | ||
# | ||
# Syntax highlighting for CSS files | ||
# | ||
# Author: Simon Rupf, simon.rupf(a)int-ag.ch | ||
# License: GPL 2 or later | ||
# | ||
# Version: 2005-02-14 | ||
# | ||
############################################################################## | ||
|
||
syntax "css" "\.css$" | ||
color brightred "." | ||
color brightyellow start="\{" end="\}" | ||
color brightwhite start=":" end="[;^\{]" | ||
color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$" | ||
color brightblue start="\/\*" end="\\*/" | ||
color green ";|:|\{|\}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Here is an exmaple for apt's sources.list | ||
## Adapted from http://milianw.de/blog/Syntax-Highlighting-in-Nano | ||
## (mail@milianw.de). | ||
## | ||
syntax "apt/sources.list" "sources\.list(\.old|~)?$" | ||
# component | ||
color brightmagenta "^deb(-src)? ((http|file|ftp):/[^ ]+|cdrom:\[[^\]]+\]/|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+ .+$" | ||
# distribution | ||
color brightred "^deb(-src)? ((http|file|ftp):/[^ ]+|cdrom:\[[^\]]+\]/|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+" | ||
# URI | ||
color brightgreen "(http|file|ftp):/[^ ]+" | ||
# cdroms | ||
# [^\]] does not work... | ||
color brightgreen "cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/" | ||
# deb / deb-src | ||
color yellow "^deb" | ||
color yellow "^deb-src" | ||
# comments | ||
color brightblue "#.*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
syntax "default" | ||
color green "^#.*" | ||
color brightgreen "^##.*" | ||
color yellow "^###.*" | ||
#color green "^[ \t]*#.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
syntax "Delphi Source" "\.pas$" | ||
color brightcyan "\<(boolean|byte|char|double|float|integer|long|new|short|this|transient|void)\>" | ||
color brightred "\<(break|case|catch|continue|default|do|else|finally|for|if|then|return|switch|throw|try|while|function)\>" | ||
#color cyan "\<(abstract|unit|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|$color brightyellow "\<(until|repeat|var|uses|type|begin|end|const)\>" | ||
color magenta "\<(true|false|null|procedure)\>" | ||
color brightblue "//.*" | ||
color brightblue start="\{" end="\}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### all *desc files ( e.g. use.desc, use.local.desc ) | ||
syntax "use" "(\.|/|)desc$" | ||
color green ".*\-" | ||
color white "\:.*$" | ||
color white "\-.*$" | ||
color magenta "\:(\\.|[^'])*\-" | ||
color blue "\-(\\.|[^'])*\:" | ||
color yellow "\/(\\.|[^'])*\:" | ||
color red "x86" "http\:\/\/.*$" | ||
color brightred "\!\!(\\.|[^'])*\!\!" "DO NOT SET THIS FLAG YOURSELF!" | ||
color green "#.*$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
syntax "dotemacs" "^.emacs$" | ||
color green "^;.*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
########################################################################## | ||
########################################################################## | ||
# | ||
# | ||
# D U M M Y Ruleset | ||
# | ||
# | ||
# If you want to create your own rules you can use this simple example: | ||
# | ||
# syntax "Dummy" "(\.|/|)foo$" -> this creates the ruleset "Dummy" and it | ||
# matches all filenames ending with foo | ||
# "foo" -> this matches foo exactly | ||
# "foo.*$" -> this matches files beginning with foo | ||
# | ||
# | ||
# | ||
# After you selected the files you can define rulesets for this file: | ||
# | ||
# | ||
# color blue "#.*$" -> colors all after "#" blue on this line | ||
# color red "\@" -> colors all "@" red, \ means to handle it _not_ | ||
# as a special sign | ||
# color yellow "\<(profi)\>" -> colors only the word profi yellow | ||
# color yellow "profi" -> colors all strings "profi" yellow, also in | ||
# profile | ||
# color black "[0-9]" -> colors all numbers black | ||
# color magenta "'(\\.|[^'])*'" -> colors all between ' and ' magenta, | ||
# but only on the same line | ||
# color red "[A-Z0-9\_]+=" -> matches everything folowed by = | ||
# color green "setenv|export" -> matches the string setenv OR export | ||
# color cyan "^.*(foobar).*$" -> colors the whole line cyan, by matching foobar | ||
# on that line | ||
# | ||
# color brightred,blue start="<!--" end="-->" | ||
# | ||
# -> colors all between <!-- and --> brightred on blue | ||
# even if there are more lines between | ||
# | ||
# | ||
########################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
syntax "ekghistory" "(\.|/|).gg/history" | ||
icolor cyan start="<" end=">" | ||
icolor green ",(\\.|[^\"])*," | ||
color yellow "chatrecv" | ||
color cyan "chatsend" | ||
color brightwhite "[0-9]" | ||
|
Oops, something went wrong.