From 75b659faca23110039d9024d97b192c60d482c2e Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 28 Aug 2019 10:10:51 -0700 Subject: [PATCH] JOE Editor and emacs stuff --- .gitignore | 3 + README.md | 7 + dotfiles/emacs.d/init.el | 5 + dotfiles/emacs.d/package.el | 14 +- dotfiles/joe/color/darkblue2.jcf | 55 ++ dotfiles/joe/color/darkspectrum.jcf | 107 +++ dotfiles/joe/color/desert.jcf | 87 +++ dotfiles/joe/color/dracula.jcf | 61 ++ dotfiles/joe/color/dusk.jcf | 47 ++ dotfiles/joe/color/eclipse.jcf | 112 +++ dotfiles/joe/color/freya.jcf | 92 +++ dotfiles/joe/color/inkpot.jcf | 96 +++ dotfiles/joe/color/ir_black.jcf | 130 ++++ dotfiles/joe/color/lucario.jcf | 61 ++ dotfiles/joe/color/lucius.jcf | 131 ++++ dotfiles/joe/color/mayansmoke.jcf | 101 +++ dotfiles/joe/color/molokai.jcf | 130 ++++ dotfiles/joe/color/moria-dark.jcf | 94 +++ dotfiles/joe/color/moria-light.jcf | 94 +++ dotfiles/joe/color/oceandeep.jcf | 60 ++ dotfiles/joe/color/peaksea-dark.jcf | 104 +++ dotfiles/joe/color/peaksea-light.jcf | 104 +++ dotfiles/joe/color/pyte.jcf | 103 +++ dotfiles/joe/color/rdark.jcf | 107 +++ dotfiles/joe/color/rootwater.jcf | 97 +++ dotfiles/joe/color/slate.jcf | 99 +++ dotfiles/joe/color/tango2.jcf | 74 ++ dotfiles/joe/color/tender.jcf | 114 +++ dotfiles/joe/color/wombat.jcf | 87 +++ dotfiles/joe/color/xoria256.jcf | 99 +++ dotfiles/joe/color/zenburn-hc.jcf | 149 ++++ dotfiles/joe/color/zenburn.jcf | 147 ++++ dotfiles/joe/syntax/ant.jsf | 301 ++++++++ dotfiles/joe/syntax/asterisk.jsf | 91 +++ dotfiles/joe/syntax/css.jsf | 168 +++++ dotfiles/joe/syntax/debian.jsf | 66 ++ dotfiles/joe/syntax/dockerfile.jsf | 27 + dotfiles/joe/syntax/elixir.jsf | 262 +++++++ dotfiles/joe/syntax/erb.jsf | 31 + dotfiles/joe/syntax/erlang.jsf | 497 +++++++++++++ dotfiles/joe/syntax/ftyperc | 1055 ++++++++++++++++++++++++++ dotfiles/joe/syntax/git-commit.jsf | 20 + dotfiles/joe/syntax/go.jsf | 293 ++++++++ dotfiles/joe/syntax/haml.jsf | 121 +++ dotfiles/joe/syntax/html.jsf | 1345 ++++++++++++++++++++++++++++++++++ dotfiles/joe/syntax/htmlerb.jsf | 11 + dotfiles/joe/syntax/ini.jsf | 104 +++ dotfiles/joe/syntax/iptables.jsf | 128 ++++ dotfiles/joe/syntax/java.jsf | 284 +++++++ dotfiles/joe/syntax/js.jsf | 548 ++++++++++++++ dotfiles/joe/syntax/json.jsf | 261 +++++++ dotfiles/joe/syntax/lsl.jsf | 884 ++++++++++++++++++++++ dotfiles/joe/syntax/makefile.jsf | 97 +++ dotfiles/joe/syntax/md.jsf | 153 ++++ dotfiles/joe/syntax/php.jsf | 293 ++++++++ dotfiles/joe/syntax/powershell.jsf | 259 +++++++ dotfiles/joe/syntax/prolog.jsf | 154 ++++ dotfiles/joe/syntax/properties.jsf | 85 +++ dotfiles/joe/syntax/puppet.jsf | 159 ++++ dotfiles/joe/syntax/python.jsf | 248 +++++++ dotfiles/joe/syntax/ruby.jsf | 596 +++++++++++++++ dotfiles/joe/syntax/scheme.jsf | 74 ++ dotfiles/joe/syntax/sieve.jsf | 105 +++ dotfiles/joe/syntax/sql.jsf | 497 +++++++++++++ dotfiles/joe/syntax/terraform.jsf | 174 +++++ dotfiles/joe/syntax/tex.jsf | 108 +++ dotfiles/joe/syntax/whitespace.jsf | 16 + dotfiles/joe/syntax/yaml.jsf | 166 +++++ dotfiles/joerc | 10 + dotfiles/zshrc | 2 +- 70 files changed, 12457 insertions(+), 7 deletions(-) create mode 100644 dotfiles/joe/color/darkblue2.jcf create mode 100644 dotfiles/joe/color/darkspectrum.jcf create mode 100644 dotfiles/joe/color/desert.jcf create mode 100644 dotfiles/joe/color/dracula.jcf create mode 100644 dotfiles/joe/color/dusk.jcf create mode 100644 dotfiles/joe/color/eclipse.jcf create mode 100644 dotfiles/joe/color/freya.jcf create mode 100644 dotfiles/joe/color/inkpot.jcf create mode 100644 dotfiles/joe/color/ir_black.jcf create mode 100644 dotfiles/joe/color/lucario.jcf create mode 100644 dotfiles/joe/color/lucius.jcf create mode 100644 dotfiles/joe/color/mayansmoke.jcf create mode 100644 dotfiles/joe/color/molokai.jcf create mode 100644 dotfiles/joe/color/moria-dark.jcf create mode 100644 dotfiles/joe/color/moria-light.jcf create mode 100644 dotfiles/joe/color/oceandeep.jcf create mode 100644 dotfiles/joe/color/peaksea-dark.jcf create mode 100644 dotfiles/joe/color/peaksea-light.jcf create mode 100644 dotfiles/joe/color/pyte.jcf create mode 100644 dotfiles/joe/color/rdark.jcf create mode 100644 dotfiles/joe/color/rootwater.jcf create mode 100644 dotfiles/joe/color/slate.jcf create mode 100644 dotfiles/joe/color/tango2.jcf create mode 100644 dotfiles/joe/color/tender.jcf create mode 100644 dotfiles/joe/color/wombat.jcf create mode 100644 dotfiles/joe/color/xoria256.jcf create mode 100644 dotfiles/joe/color/zenburn-hc.jcf create mode 100644 dotfiles/joe/color/zenburn.jcf create mode 100644 dotfiles/joe/syntax/ant.jsf create mode 100644 dotfiles/joe/syntax/asterisk.jsf create mode 100644 dotfiles/joe/syntax/css.jsf create mode 100644 dotfiles/joe/syntax/debian.jsf create mode 100644 dotfiles/joe/syntax/dockerfile.jsf create mode 100644 dotfiles/joe/syntax/elixir.jsf create mode 100644 dotfiles/joe/syntax/erb.jsf create mode 100644 dotfiles/joe/syntax/erlang.jsf create mode 100644 dotfiles/joe/syntax/ftyperc create mode 100644 dotfiles/joe/syntax/git-commit.jsf create mode 100644 dotfiles/joe/syntax/go.jsf create mode 100644 dotfiles/joe/syntax/haml.jsf create mode 100644 dotfiles/joe/syntax/html.jsf create mode 100644 dotfiles/joe/syntax/htmlerb.jsf create mode 100644 dotfiles/joe/syntax/ini.jsf create mode 100644 dotfiles/joe/syntax/iptables.jsf create mode 100644 dotfiles/joe/syntax/java.jsf create mode 100644 dotfiles/joe/syntax/js.jsf create mode 100644 dotfiles/joe/syntax/json.jsf create mode 100644 dotfiles/joe/syntax/lsl.jsf create mode 100644 dotfiles/joe/syntax/makefile.jsf create mode 100644 dotfiles/joe/syntax/md.jsf create mode 100644 dotfiles/joe/syntax/php.jsf create mode 100644 dotfiles/joe/syntax/powershell.jsf create mode 100644 dotfiles/joe/syntax/prolog.jsf create mode 100644 dotfiles/joe/syntax/properties.jsf create mode 100644 dotfiles/joe/syntax/puppet.jsf create mode 100644 dotfiles/joe/syntax/python.jsf create mode 100644 dotfiles/joe/syntax/ruby.jsf create mode 100644 dotfiles/joe/syntax/scheme.jsf create mode 100644 dotfiles/joe/syntax/sieve.jsf create mode 100644 dotfiles/joe/syntax/sql.jsf create mode 100644 dotfiles/joe/syntax/terraform.jsf create mode 100644 dotfiles/joe/syntax/tex.jsf create mode 100644 dotfiles/joe/syntax/whitespace.jsf create mode 100644 dotfiles/joe/syntax/yaml.jsf create mode 100644 dotfiles/joerc diff --git a/.gitignore b/.gitignore index c77cb5e..454ac6e 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,9 @@ helm-adaptive-history */emacs.d/irony/* +/dotfiles/.emacs.d/transient/history.el +/dotfiles/.emacs.d/session.* + # nvim specific plugged bundle/** diff --git a/README.md b/README.md index fd80133..7f3c28e 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,13 @@ Finally, `cd` to the root of your project and run `gtags`. You now have function Before programming Java, install `eclim`, and `eclipse`. +## Joe Editor + +Always build from source to get the latest features. You will need at least +version 4.5 for themes. + +Copy `joe-colors/output` to `$USER/.joe/colors` in order to use themes. + ## XFCE Themes In the root there is a themes folder with a nice theme called `Nord`. Run the provided diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 814bd4b..a39a29f 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -176,6 +176,11 @@ (add-hook 'python-mode-hook 'jedi:setup) (setq jedi:complete-on-dot t) +(defun my/python-mode-hook () + (add-to-list 'company-backends 'company-jedi)) + +(add-hook 'python-mode-hook 'my/python-mode-hook) + ;;-------------------------------------------------------------------------------------- ;; Ensure Shell Variables Look the Same in Emacs (OS X and Linux) ;;-------------------------------------------------------------------------------------- diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index 798d7dc..65bb9ae 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -5,6 +5,7 @@ company company-irony company-emacs-eclim + jedi-core ;; We don't need the `jedi` package ;; since we are using company. If we @@ -21,16 +22,17 @@ ;; Programming modes cc-mode - python-mode - yaml-mode - markdown-mode - gitignore-mode feature-mode + gitignore-mode gradle-mode - protobuf-mode + magit + markdown-mode meson-mode + nasm-mode paredit - magit + protobuf-mode + python-mode + yaml-mode ;;;;;;;;;;;;;;;;;;;; ;; Navigation diff --git a/dotfiles/joe/color/darkblue2.jcf b/dotfiles/joe/color/darkblue2.jcf new file mode 100644 index 0000000..39fa1ba --- /dev/null +++ b/dotfiles/joe/color/darkblue2.jcf @@ -0,0 +1,55 @@ + +# Based on darkblue2 vim scheme by Datila Carvalho + +.colors * + +-text $fff8dc/$233b5a +-status $36648b/$d3d3d3 +-selection $4682b4/$fff8dc +-linum $b0c4de/$132b4a bold +-cursor $233b5a/$ffff00 + +-term 0 $233B5A +-term 1 $FF0000 +-term 2 $98FB98 +-term 3 $EEDD82 +-term 4 $27408B +-term 5 $7F7F7F +-term 6 $00FFFF +-term 7 $FFF8DC +-term 8 $D9D9D9 +-term 9 $FF0000 +-term 10 $98FB98 +-term 11 $FFFF00 +-term 12 $36648B +-term 13 $7F7F7F +-term 14 $00FFFF +-term 15 $FFFFFF + +=Idle +=Operator $00ffff +=Type $98fb98 bold + +=Bad $ffffff/$ff0000 bold +=Boolean $ffec8b bold +=Character $7fffd4 +=Comment $66cdaa italic +=Conditional $00ffff bold +=Constant $ffec8b bold +=Define $b0c4de +=DefinedFunction $87cefa +=DefinedIdent $98fb98 bold +=Float $ffec8b bold +=IncSystem $b0c4de bold +=Label $00ffff +=Loop $00ffff bold +=Macro $b0c4de +=Number $ffec8b bold +=Precond $b0c4de +=Preproc $b0c4de +=Statement $00ffff bold +=StorageClass $ffec8b bold +=String $7fffd4 +=Structure $ffec8b bold + + diff --git a/dotfiles/joe/color/darkspectrum.jcf b/dotfiles/joe/color/darkspectrum.jcf new file mode 100644 index 0000000..08a51c1 --- /dev/null +++ b/dotfiles/joe/color/darkspectrum.jcf @@ -0,0 +1,107 @@ + +# Based on darkspectrum vim scheme by Brian Mock + +.colors 256 + +-text 255/235 +-status 231/237 +-selection 231/25 +-linum 239/234 +-curlin /16 +-menu 250/16 +-menusel 231/25 +-cursor 16/231 + +-term 0 235 +-term 1 196 +-term 2 70 +-term 3 221 +-term 4 24 +-term 5 139 +-term 6 110 +-term 7 255 +-term 8 231 +-term 9 196 +-term 10 112 +-term 11 221 +-term 12 25 +-term 13 139 +-term 14 231 +-term 15 231 + +=Idle +=Type 112 bold + +=Bad +TODO +=Character +Number +=Comment 245 +=Constant 196 +=DefinedFunction 139 +=DefinedIdent 110 +=Escape 179 +=Number 214 +=Preproc 231 bold +=Statement 231 bold +=String 221 +=TODO 231/196 bold +=Title 196 + +=diff.AddLine 222/130 +=diff.ChgLine 75/24 +=diff.DelLine 16/16 +=html.Tag +html.TagEnd +=xml.Tag +DefinedIdent +=xml.TagName +DefinedIdent + +.colors * + +-text $efefef/$2A2A2A +-status $FFFFFF/$3C3C3C +-selection $FFFFFF/$3465a4 +-linum $535353/$202020 +-curlin /$000000 +-menu $c0c0c0/$000000 +-menusel $ffffff/$3465a4 +-cursor $000000/$ffffff + +-term 0 $2A2A2A +-term 1 $EF5939 +-term 2 $8AE234 +-term 3 $FCE94F +-term 4 $425C78 +-term 5 $AD7FA8 +-term 6 $7FBDFF +-term 7 $EFEFEF +-term 8 $FFFFFF +-term 9 $EF5939 +-term 10 $8AE234 +-term 11 $FCE94F +-term 12 $3465A4 +-term 13 $AD7FA8 +-term 14 $FFFFFF +-term 15 $FFFFFF + +=Idle +=Type $8ae234 bold + +=Bad +TODO +=Character +Number +=Comment $8a8a8a +=Constant $ef5939 +=DefinedFunction $ad7fa8 +=DefinedIdent $729fcf +=Escape $e9b96e +=Number $fcaf3e +=Preproc $ffffff bold +=Statement $ffffff bold +=String $fce94f +=TODO $FFFFFF/$ef5939 bold +=Title $ef5939 + +=diff.AddLine $ffcc7f/$a67429 +=diff.ChgLine $7fbdff/$425c78 +=diff.DelLine $000000/$000000 +=html.Tag +html.TagEnd +=xml.Tag +DefinedIdent +=xml.TagName +DefinedIdent + diff --git a/dotfiles/joe/color/desert.jcf b/dotfiles/joe/color/desert.jcf new file mode 100644 index 0000000..170c6f9 --- /dev/null +++ b/dotfiles/joe/color/desert.jcf @@ -0,0 +1,87 @@ + +# Based on desert vim scheme by Hans Fugal + +.colors 256 + +-text 231/236 +-status 16/144 +-selection 186/64 +-linum 100 +-cursor 67/186 + +-term 0 236 +-term 1 88 +-term 2 149 +-term 3 184 +-term 4 18 +-term 5 90 +-term 6 117 +-term 7 231 +-term 8 250 +-term 9 202 +-term 10 120 +-term 11 184 +-term 12 67 +-term 13 90 +-term 14 117 +-term 15 250 + +=Idle +=Type 143 + +=Bad 250/88 +=Comment 117 +=Constant 217 +=DefinedIdent 120 +=Escape 223 +=Preproc 167 +=Statement 186 +=TODO 202/184 +=Title 167 + +=diff.AddLine /18 +=diff.ChgLine /90 +=diff.DelLine 18/30 + +.colors * + +-text $ffffff/$333333 +-status $000000/$c2bfa5 +-selection $f0e68c/$6b8e23 +-linum $808000 +-cursor $708090/$f0e68c + +-term 0 $333333 +-term 1 $800000 +-term 2 $9ACD32 +-term 3 $EEEE00 +-term 4 $000080 +-term 5 $800080 +-term 6 $87CEEB +-term 7 $FFFFFF +-term 8 $C0C0C0 +-term 9 $FF4500 +-term 10 $00FF7F +-term 11 $EEEE00 +-term 12 $708090 +-term 13 $708090 +-term 14 $ADD8E6 +-term 15 $C0C0C0 + +=Idle +=Type $bdb76b + +=Bad $c0c0c0/$800000 +=Comment $87ceeb +=Constant $ffa0a0 +=DefinedIdent $98fb98 +=Escape $ffdead +=Preproc $cd5c5c +=Statement $f0e68c +=TODO $ff4500/$eeee00 +=Title $cd5c5c + +=diff.AddLine /$000080 +=diff.ChgLine /$800080 +=diff.DelLine $000080/$008080 + diff --git a/dotfiles/joe/color/dracula.jcf b/dotfiles/joe/color/dracula.jcf new file mode 100644 index 0000000..7ab0713 --- /dev/null +++ b/dotfiles/joe/color/dracula.jcf @@ -0,0 +1,61 @@ + +# Dracula theme v1.2.7 +# Based on vim theme by Trevor Heins, Everton Ribeiro, and Zeno Rocha +# https://github.com/dracula/dracula-theme + +.colors * + +-text $f8f8f2/$282a36 +-status $ffffff/$64666d bold +-selection /$44475a +-linum $909194 +-curlin /$44475a +-curlinum $f1fa8c/$44475a +-menusel /$44475a +-cursor $282a36/$f8f8f0 + +-term 0 $282A36 +-term 1 $8B080B +-term 2 $50FA7B +-term 3 $F1FA8C +-term 4 $204A87 +-term 5 $FF79C6 +-term 6 $66D9EF +-term 7 $F8F8F2 +-term 8 $FFFFFF +-term 9 $8B080B +-term 10 $50FA7B +-term 11 $F1FA8C +-term 12 $6272A4 +-term 13 $FF79C6 +-term 14 $6BE5FD +-term 15 $FFFFFF + +=Idle +=Keyword $ff79c6 +=Operator $ff79c6 +=Type $8be9fd + +=Boolean $bd93f9 +=Character $bd93f9 +=Comment $6272a4 +=Conditional $ff79c6 +=Define $ff79c6 +=DefinedFunction $50fa7b +=DefinedIdent $8be9fd italic +=Escape $ffffff +=Float $bd93f9 +=Label $f1fa8c +=Number $bd93f9 +=Preproc $ff79c6 +=Statement $ff79c6 +=StorageClass $8be9fd italic +=String $f1fa8c +=TODO $6272a4 bold +=Tag $ff79c6 +=Title $ffffff bold + +=diff.AddLine $ffffff/$468410 bold +=diff.ChgLine $ffffff/$243a5f +=diff.DelLine $8b080b + diff --git a/dotfiles/joe/color/dusk.jcf b/dotfiles/joe/color/dusk.jcf new file mode 100644 index 0000000..a53f56d --- /dev/null +++ b/dotfiles/joe/color/dusk.jcf @@ -0,0 +1,47 @@ + +# Based on dusk vim scheme by Ajit Thakkar + +.colors * + +-text $fffff0/$1f3048 +-status $00008b/$bebebe +-selection $607b8b/$fffff0 +-linum $cdb7b5 +-cursor $000000/$00ff00 + +-term 0 $1F3048 +-term 1 $CD4F39 +-term 2 $32CD32 +-term 3 $EEEE00 +-term 4 $0000FF +-term 5 $7A8B8B +-term 6 $00FFFF +-term 7 $FFFFF0 +-term 8 $FFFFFF +-term 9 $FF0000 +-term 10 $00FF00 +-term 11 $FFFF00 +-term 12 $607B8B +-term 13 $7A8B8B +-term 14 $00FFFF +-term 15 $FFFFFF + +=Idle +=Operator $7fff00 +=Type $ffdead + +=Bad $ff0000/$faf0e6 +=Comment $708090 +=Constant $cdb7b5 +=DefinedIdent $ffebcd +=Escape $daa520 +=Preproc $ffa0a0 +=Statement $f0e68c +=String $9ac0cd +=TODO $1e90ff +=Title $eeee00 + +=diff.AddLine $0000ff/$e0ffff +=diff.ChgLine $ffffff/$7a8b8b +=diff.DelLine $add8e6/$e0ffff + diff --git a/dotfiles/joe/color/eclipse.jcf b/dotfiles/joe/color/eclipse.jcf new file mode 100644 index 0000000..0a18723 --- /dev/null +++ b/dotfiles/joe/color/eclipse.jcf @@ -0,0 +1,112 @@ + +# Based on eclipse vim theme by Juan Frias +# http://www.axisym3.net/jdany/vim-the-editor/#eclipse + +.colors 256 + +-text 16/231 +-status 231/25 +-selection 88/216 +-linum 242/255 +-menu 231/46 +-menusel +-cursor 231/33 + +-term 0 16 +-term 1 196 +-term 2 46 +-term 3 184 +-term 4 20 +-term 5 91 +-term 6 30 +-term 7 254 +-term 8 243 +-term 9 196 +-term 10 46 +-term 11 184 +-term 12 63 +-term 13 132 +-term 14 254 +-term 15 255 + +=Idle +=Type 89 bold + +=Bad 231/57 +=Comment 22 +=Conditional +Loop +=Constant 29 +=DefinedIdent 136 +=Escape 93 +=Float +Number +=IncSystem +Preproc +=Macro +Preproc +=Number 21 +=Precond +Preproc +=Preproc 88 +=Statement 132 +=StorageClass +Type +=String 91 +=Structure +Type +=TODO 203 +=Tag +Escape +=Title 20 bold + +=diff.AddLine 21/189 +=diff.ChgLine /224 +=diff.DelLine 231/189 + +.colors * + +-text $000000/$ffffff +-status $ffffff/$4570aa +-selection $804020/$ffc0a0 +-linum $6b6b6b/$eeeeee +-menu $ffffff/$00ff00 +-menusel $000000/$ffffff +-cursor $ffffff/$0080f0 + +-term 0 $000000 +-term 1 $FF0000 +-term 2 $00FF00 +-term 3 $E0E040 +-term 4 $0000FF +-term 5 $B64F90 +-term 6 $0090A0 +-term 7 $E5E5E5 +-term 8 $707070 +-term 9 $FF0000 +-term 10 $00FF00 +-term 11 $E0E040 +-term 12 $7050FF +-term 13 $B64F90 +-term 14 $E5E5E5 +-term 15 $F8F8F8 + +=Idle +=Type $7f0055 bold + +=Bad $f8f8f8/$4040ff +=Comment $236e25 +=Conditional +Loop +=Constant $00884c +=DefinedIdent $b07800 +=Escape $8040f0 +=Float +Number +=IncSystem +Preproc +=Macro +Preproc +=Number $0000ff +=Precond +Preproc +=Preproc $683821 +=Statement $b64f90 +=StorageClass +Type +=String $8010a0 +=Structure +Type +=TODO $ff5050 +=Tag +Escape +=Title $0033cc bold + +=diff.AddLine $0000ff/$e7e7ff +=diff.ChgLine $e5e5e5/$ffe7e7 +=diff.DelLine $ffffff/$e7e7ff + diff --git a/dotfiles/joe/color/freya.jcf b/dotfiles/joe/color/freya.jcf new file mode 100644 index 0000000..8bea5b1 --- /dev/null +++ b/dotfiles/joe/color/freya.jcf @@ -0,0 +1,92 @@ + +# Based on freya vim theme by Georg Dahn +# https://vim.sourceforge.io/scripts/script.php?script_id=1651 + +.colors 256 + +-text 253/235 +-status 231/242 bold +-linum 246 +-curlin /237 +-menu 16/137 +-menusel 235/180 +-cursor 235/253 + +-term 0 235 +-term 1 88 +-term 2 150 +-term 3 150 +-term 4 20 +-term 5 20 +-term 6 30 +-term 7 253 +-term 8 231 +-term 9 203 +-term 10 150 +-term 11 150 +-term 12 20 +-term 13 182 +-term 14 151 +-term 15 231 + +=Idle +=Type 180 bold + +=Bad 203 +=Comment 144 +=Constant 150 +=DefinedIdent 180 +=Escape 179 +=Preproc 182 +=Statement 180 bold +=TODO 235/151 +=Title 231/16 bold + +=diff.AddLine /28 +=diff.ChgLine /18 +=diff.DelLine /88 + +.colors * + +-text $dcdccc/$2a2a2a +-status $f7f7f1/$736559 bold +-linum $9f8f80 +-curlin /$3f3f3f +-menu $000000/$a78869 +-menusel $2a2a2a/$c0aa94 +-cursor $2a2a2a/$dcdccc + +-term 0 $2A2A2A +-term 1 $8B0000 +-term 2 $AFE091 +-term 3 $C2B680 +-term 4 $0000CD +-term 5 $0000CD +-term 6 $008B8B +-term 7 $DCDCCC +-term 8 $F7F7F1 +-term 9 $F07070 +-term 10 $AFE091 +-term 11 $AFE091 +-term 12 $0000CD +-term 13 $C2AED0 +-term 14 $AED0AE +-term 15 $FFFFFF + +=Idle +=Type $dabfa5 bold + +=Bad $f07070 +=Comment $c2b680 +=Constant $afe091 +=DefinedIdent $dabfa5 +=Escape $d4b064 +=Preproc $c2aed0 +=Statement $e0af91 bold +=TODO $2a2a2a/$aed0ae +=Title $f7f7f1/$000000 bold + +=diff.AddLine /$008b00 +=diff.ChgLine /$00008b +=diff.DelLine /$8b0000 + diff --git a/dotfiles/joe/color/inkpot.jcf b/dotfiles/joe/color/inkpot.jcf new file mode 100644 index 0000000..c3c7541 --- /dev/null +++ b/dotfiles/joe/color/inkpot.jcf @@ -0,0 +1,96 @@ + +# Based on inkpot vim scheme by Ciaran McCreesh +# https://github.com/ciaranm/inkpot + +.colors 256 + +-text 251/16 +-status 250/60 +-selection 255/61 +-linum 104/236 +-curlin /236 +-cursor 238/105 + +-term 0 16 +-term 1 131 +-term 2 48 +-term 3 220 +-term 4 54 +-term 5 135 +-term 6 30 +-term 7 251 +-term 8 255 +-term 9 167 +-term 10 120 +-term 11 220 +-term 12 61 +-term 13 135 +-term 14 255 +-term 15 231 + +=Idle +=Type 213 + +=Bad 231/52 +=Comment 172 +=Constant 223 +=DefinedIdent 213 +=Escape 176 +=Number 215 +=Preproc 30 +=Statement 105 +=String 223/238 +=StringEscape 176/238 +=TODO 236/179 +=Title 131 + +=diff.AddLine 230/22 +=diff.ChgLine 230/24 +=diff.DelLine 230/52 + +.colors * + +-text $cfbfad/$000000 +-status $b9b9b9/$3e3e5e +-selection $eeeeee/$4e4e8f +-linum $8b8bcd/$2e2e2e +-curlin /$2e2e37 +-cursor $404040/$8b8bff + +-term 0 $000000 +-term 1 $AF4F4B +-term 2 $00FF8B +-term 3 $FFCD00 +-term 4 $4B208F +-term 5 $AB60ED +-term 6 $409090 +-term 7 $CFBFAD +-term 8 $EEEEEE +-term 9 $CE4E4E +-term 10 $8FFF8B +-term 11 $FFCD00 +-term 12 $6E6EAF +-term 13 $AB60ED +-term 14 $EEEEEE +-term 15 $FFFFFF + +=Idle +=Type $ff8bff + +=Bad $ffffff/$6e2e2e +=Comment $cd8b00 +=Constant $ffcd8b +=DefinedIdent $ff8bff +=Escape $c080d0 +=Number $f0ad6d +=Preproc $409090 +=Statement $808bed +=String $ffcd8b/$404040 +=StringEscape $c080d0/$404040 +=TODO $303030/$d0a060 +=Title $af4f4b + +=diff.AddLine $ffffcd/$306d30 +=diff.ChgLine $ffffcd/$306b8f +=diff.DelLine $ffffcd/$6d3030 + diff --git a/dotfiles/joe/color/ir_black.jcf b/dotfiles/joe/color/ir_black.jcf new file mode 100644 index 0000000..e0bfad4 --- /dev/null +++ b/dotfiles/joe/color/ir_black.jcf @@ -0,0 +1,130 @@ + +# Based on ir_black vim scheme +# More at: http://blog.infinitered.com/entries/show/8 + +.colors 256 + +-text 255/16 +-status 252/234 italic +-selection /17 +-linum 237 +-cursor 16/231 + +-term 0 239 +-term 1 203 +-term 2 155 +-term 3 229 +-term 4 153 +-term 5 207 +-term 6 146 +-term 7 255 +-term 8 244 +-term 9 217 +-term 10 193 +-term 11 230 +-term 12 230 +-term 13 219 +-term 14 189 +-term 15 231 + +=Idle +=Keyword 153 +=Operator 231 +=Type 229 + +=Boolean +Constant +=Character +Constant +=Comment 244 +=Conditional 67 +=Constant 151 +=Define +Preproc +=DefinedFunction 223 +=DefinedIdent 146 +=Escape 173 +=Float +Number +=IncSystem +Preproc +=Label +Statement +=Loop +Statement +=Macro +Preproc +=Number 207 +=Precond +Preproc +=Preproc 153 +=Statement 67 +=StorageClass +Type +=String 155 +=StringEscape +Escape +=Structure +Type +=TODO 246 +=Tag +Escape +=Title bold + +=html.Tag +Keyword +=html.TagEnd +DefinedIdent +=html.TagName +Conditional +=xml.Tag +Keyword +=xml.TagEnd +DefinedIdent +=xml.TagName +Conditional + +.colors * + +-text $f6f3e8/$000000 +-status $CCCCCC/$202020 italic +-selection /$262D51 +-linum $3D3D3D +-cursor $000000/$ffffff + +-term 0 $4E4E4E +-term 1 $FF6C60 +-term 2 $A8FF60 +-term 3 $FFFFB6 +-term 4 $96CBFE +-term 5 $FF73FD +-term 6 $C6C5FE +-term 7 $EEEEEE +-term 8 $7C7C7C +-term 9 $FFB6B0 +-term 10 $CEFFAB +-term 11 $FFFFCB +-term 12 $FFFFCB +-term 13 $FF9CFE +-term 14 $DFDFFE +-term 15 $FFFFFF + +=Idle +=Keyword $96CBFE +=Operator $ffffff +=Type $FFFFB6 + +=Boolean +Constant +=Character +Constant +=Comment $7C7C7C +=Conditional $6699CC +=Constant $99CC99 +=Define +Preproc +=DefinedFunction $FFD2A7 +=DefinedIdent $C6C5FE +=Escape $E18964 +=Float +Number +=IncSystem +Preproc +=Label +Statement +=Loop +Statement +=Macro +Preproc +=Number $FF73FD +=Precond +Preproc +=Preproc $96CBFE +=Statement $6699CC +=StorageClass +Type +=String $A8FF60 +=StringEscape +Escape +=Structure +Type +=TODO $8f8f8f +=Tag +Escape +=Title bold + +=html.Tag +Keyword +=html.TagEnd +DefinedIdent +=html.TagName +Conditional +=xml.Tag +Keyword +=xml.TagEnd +DefinedIdent +=xml.TagName +Conditional + diff --git a/dotfiles/joe/color/lucario.jcf b/dotfiles/joe/color/lucario.jcf new file mode 100644 index 0000000..a67e060 --- /dev/null +++ b/dotfiles/joe/color/lucario.jcf @@ -0,0 +1,61 @@ + +# Based on lucario vim scheme by Raphael Amorim +# https://github.com/raphamorim/lucario + +.colors * + +-text $f8f8f2/$2b3e50 +-status /$66747f bold +-selection /$19242f +-linum $929ba1 +-curlin /$405160 +-menu /$19242f +-menusel /$66747f +-cursor $2b3e50/$f8f8f2 + +-term 0 $2B3E50 +-term 1 $8C0C10 +-term 2 $72C05D +-term 3 $E6DB74 +-term 4 $0000FF +-term 5 $66747F +-term 6 $61BBC8 +-term 7 $F8F8F2 +-term 8 $FFFFFF +-term 9 $FF6541 +-term 10 $72C05D +-term 11 $FFFF00 +-term 12 $66747F +-term 13 $CA94FF +-term 14 $00FFFF +-term 15 $FFFFFF + +=Idle +=Keyword $ff6541 +=Operator $ff6541 + +=Boolean $ca94ff +=Character $ca94ff +=Comment $5c98cd +=Conditional $ff6541 +=Define $ff6541 +=DefinedFunction $72c05d +=DefinedIdent $66d9ef italic +=Escape $ffffff +=Float $ca94ff +=Label $e6db74 +=Number $ca94ff +=Preproc $ff6541 +=Statement $ff6541 +=StorageClass $66d9ef italic +=String $e6db74 +=TODO $5c98cd bold +=Tag $ff6541 +=Title $ffffff bold + +=diff.AddLine /$478815 bold +=diff.ChgLine /$26446c +=diff.DelLine $8c0c10 +=python.Builtin $66d9ef italic +=python.Statement $66d9ef italic + diff --git a/dotfiles/joe/color/lucius.jcf b/dotfiles/joe/color/lucius.jcf new file mode 100644 index 0000000..cf5a022 --- /dev/null +++ b/dotfiles/joe/color/lucius.jcf @@ -0,0 +1,131 @@ + +# Based on lucius vim theme by Jonathan Filip + +.colors 256 + +-text 254/235 +-status 254/238 +-selection /60 +-linum 101/238 +-curlin /236 +-menu 254/238 +-menusel 16/186 +-cursor 235/117 + +-term 0 235 +-term 1 160 +-term 2 46 +-term 3 186 +-term 4 21 +-term 5 201 +-term 6 80 +-term 7 254 +-term 8 145 +-term 9 196 +-term 10 46 +-term 11 190 +-term 12 21 +-term 13 201 +-term 14 51 +-term 15 152 + +=Idle +=Keyword 150 +=Operator 150 +=Type 114 + +=Bad 160 +=Boolean 80 +=Character 117 +=Comment 243 +=Conditional 150 +=Constant 80 +=Define 229 +=DefinedFunction 215 +=DefinedIdent 215 +=Escape 182 +=Float 80 +=IncSystem 229 +=Label 150 +=Loop 150 +=Macro 229 +=Number 80 +=Precond 229 +=Preproc 229 +=Statement 150 +=StorageClass 114 +=String 117 +=StringEscape 182 +=Structure 114 +=TODO 190 underline +=Tag 182 +=Title 38 + +=diff.AddLine /30 +=diff.ChgLine /28 +=diff.DelLine /16 + +.colors * + +-text $e4e4e4/$242424 +-status $e0e0e0/$444444 +-selection /$445566 +-linum $857b6f/$444444 +-curlin /$3d3d4d +-menu $f6f3e8/$444444 +-menusel $000000/$cae682 +-cursor $242424/$8ac6f2 + +-term 0 $242424 +-term 1 $EE0000 +-term 2 $00FF00 +-term 3 $DEEE33 +-term 4 $0000FF +-term 5 $FF00FF +-term 6 $50D6DE +-term 7 $E4E4E4 +-term 8 $E0E0E0 +-term 9 $FF0000 +-term 10 $00FF00 +-term 11 $DEEE33 +-term 12 $607B8B +-term 13 $FF00FF +-term 14 $00FFFF +-term 15 $EFEFEF + +=Idle +=Keyword $bae682 +=Operator $bae682 +=Type $93e690 + +=Bad $dd4040 +=Boolean $50d6de +=Character $8ad6f2 +=Comment $808080 +=Conditional $bae682 +=Constant $50d6de +=Define $efefaf +=DefinedFunction $fcb666 +=DefinedIdent $fcb666 +=Escape $cfafcf +=Float $50d6de +=IncSystem $efefaf +=Label $bae682 +=Loop $bae682 +=Macro $efefaf +=Number $50d6de +=Precond $efefaf +=Preproc $efefaf +=Statement $bae682 +=StorageClass $93e690 +=String $8ad6f2 +=StringEscape $cfafcf +=Structure $93e690 +=TODO $deee33 underline +=Tag $cfafcf +=Title $3eb8e5 + +=diff.AddLine /$008b8b +=diff.ChgLine /$008b00 +=diff.DelLine /$000000 + diff --git a/dotfiles/joe/color/mayansmoke.jcf b/dotfiles/joe/color/mayansmoke.jcf new file mode 100644 index 0000000..d1ed456 --- /dev/null +++ b/dotfiles/joe/color/mayansmoke.jcf @@ -0,0 +1,101 @@ + +# Based on mayansmoke vim color scheme by Jeet Sukumaran and Clayton Parker + +.colors 256 + +-text 16/255 +-status 255/24 +-selection 255/153 +-linum 253/110 +-curlin /254 +-menu /195 +-menusel 255/21 bold +-cursor 255/16 + +-term 0 16 +-term 1 160 +-term 2 34 +-term 3 226 +-term 4 21 +-term 5 132 +-term 6 45 +-term 7 254 +-term 8 67 +-term 9 196 +-term 10 46 +-term 11 226 +-term 12 27 +-term 13 132 +-term 14 45 +-term 15 231 + +=Idle +=Keyword 45 +=Type 147 + +=Bad 196/255 underline +=Boolean 88 +=Comment 110 italic +=Constant 214 +=DefinedFunction 132 +=DefinedIdent 160 +=Escape 64 +=Preproc 27 +=Statement 21 +=String 30 +=TODO 136 underline +=Title 75/255 bold + +=diff.AddLine /48 +=diff.ChgLine 16/153 +=diff.DelLine 16/203 + +.colors * + +-text $000000/$F4F4E8 +-status $FFFEEE/$557788 +-selection $ffffff/$00bfff +-linum $666677/$cccfbf +-curlin /$e4e4e4 +-menu $8b5a00/$cdcdb4 +-menusel $eeeee0/$8b795e bold +-cursor $F4F4E8/$000000 + +-term 0 $000000 +-term 1 $BB0000 +-term 2 $00AA00 +-term 3 $FFFF00 +-term 4 $0000FF +-term 5 $8470FF +-term 6 $87CEEB +-term 7 $E4E4E4 +-term 8 $666677 +-term 9 $FF0000 +-term 10 $00FF00 +-term 11 $FFFF00 +-term 12 $8470FF +-term 13 $8470FF +-term 14 $E0FFFF +-term 15 $FFFFFF + +=Idle +=Keyword $1e90ff +=Type $8470ff + +=Bad $ff0000/$eeeeee underline +=Boolean $8b3a3a +=Comment $96AAC2 italic +=Constant $ff8c00 +=DefinedFunction $8b2252 +=DefinedIdent $cd3333 +=Escape $6e8b3d +=Preproc $0000ff +=Statement $0000ff +=String $458b74 +=TODO $8b5a2b/$eeeeee underline +=Title $009acd/$eeeeee bold + +=diff.AddLine /$54ff9f +=diff.ChgLine $000000/$b0e2ff +=diff.DelLine $000000/$f08080 + diff --git a/dotfiles/joe/color/molokai.jcf b/dotfiles/joe/color/molokai.jcf new file mode 100644 index 0000000..9eba0bf --- /dev/null +++ b/dotfiles/joe/color/molokai.jcf @@ -0,0 +1,130 @@ + +# Based on Molokai vim scheme by Tomas Restrepo +# Which was in turn based on the monokai theme for textmate by Wimer Hazenberg + +.colors 256 + +-text 231/234 +-status 239/231 +-selection /237 +-linum 250/235 +-curlin /236 +-menu 81/16 +-menusel /244 +-cursor 16/231 + +-term 0 234 +-term 1 196 +-term 2 148 +-term 3 148 +-term 4 125 +-term 5 125 +-term 6 81 +-term 7 231 +-term 8 250 +-term 9 196 +-term 10 148 +-term 11 148 +-term 12 141 +-term 13 141 +-term 14 81 +-term 15 250 + +=Idle +=Keyword 197 bold +=Operator 197 +=Type 81 + +=Bad 125/232 +=Boolean 141 +=Character 186 +=Comment 239 +=Conditional 197 bold +=Constant 141 bold +=Define 81 +=DefinedFunction 148 +=DefinedIdent 208 +=Escape 81 italic +=Float 141 +=Label 186 +=Loop 197 bold +=Macro 144 italic +=Number 141 +=Precond 148 bold +=Preproc 148 +=Statement 197 bold +=StorageClass 208 italic +=String 186 +=StringEscape 197 bold +=Structure 81 +=TODO 231 bold +=Tag 197 italic +=Title 196 + +=diff.AddLine /236 +=diff.ChgLine 244/238 +=diff.DelLine 125/232 + +.colors * + +-text $F8F8F2/$1B1D1E +-status $455354/$F8F8F2 +-selection /$403D3D +-linum $BCBCBC/$232526 +-curlin /$293739 +-menu $66D9EF/$000000 +-menusel /$808080 +-cursor $000000/$F8F8F0 + +-term 0 $1B1D1E +-term 1 $EF5939 +-term 2 $A6E22E +-term 3 $E6DB74 +-term 4 $13354A +-term 5 $465457 +-term 6 $66D9EF +-term 7 $F8F8F2 +-term 8 $FFFFFF +-term 9 $EF5939 +-term 10 $A6E22E +-term 11 $E6DB74 +-term 12 $AE81FF +-term 13 $AE81FF +-term 14 $66D9EF +-term 15 $FFFFFF + +=Idle +=Keyword $F92672 bold +=Operator $F92672 +=Type $66D9EF + +=Bad $960050/$1E0010 +=Boolean $AE81FF +=Character $E6DB74 +=Comment $465457 +=Conditional $F92672 bold +=Constant $AE81FF bold +=Define $66D9EF +=DefinedFunction $A6E22E +=DefinedIdent $FD971F +=Escape $66D9EF italic +=Float $AE81FF +=Label $E6DB74 +=Loop $F92672 bold +=Macro $C4BE89 italic +=Number $AE81FF +=Precond $A6E22E bold +=Preproc $A6E22E +=Statement $F92672 bold +=StorageClass $FD971F italic +=String $E6DB74 +=StringEscape $F92672 bold +=Structure $66D9EF +=TODO $FFFFFF bold +=Tag $F92672 italic +=Title $ef5939 + +=diff.AddLine /$13354A +=diff.ChgLine $89807D/$4C4745 +=diff.DelLine $960050/$1E0010 + diff --git a/dotfiles/joe/color/moria-dark.jcf b/dotfiles/joe/color/moria-dark.jcf new file mode 100644 index 0000000..565ddad --- /dev/null +++ b/dotfiles/joe/color/moria-dark.jcf @@ -0,0 +1,94 @@ + +# Based on moria vim scheme by Georg Dahn +# https://vim.sourceforge.io/scripts/script.php?script_id=1464 + +.colors 256 + +-text 252/234 +-status /25 bold +-selection 16/241 +-linum 110 +-curlin 231/238 +-menu 16/68 +-menusel 16/184 +-cursor 234/214 + +-term 0 234 +-term 1 196 +-term 2 40 +-term 3 184 +-term 4 20 +-term 5 20 +-term 6 116 +-term 7 252 +-term 8 231 +-term 9 196 +-term 10 40 +-term 11 184 +-term 12 68 +-term 13 182 +-term 14 116 +-term 15 231 + +=Idle +=Type 209 + +=Bad 196 +=Comment 187 +=Constant 113 +=DefinedIdent 116 +=Escape 179 +=Preproc 182 +=Statement 74 +=TODO 16/184 +=Title /16 bold + +=diff.AddLine /28 +=diff.ChgLine /18 +=diff.DelLine /88 + +.colors * + +-text $d0d0d0/$202020 +-status /$334b7d bold +-selection $000000/$606060 +-linum $8fa5d1 +-curlin $ffffff/$404040 +-menu $000000/$6381be +-menusel $000000/$e0e000 +-cursor $202020/$ffa500 + +-term 0 $202020 +-term 1 $EE2C2C +-term 2 $00E700 +-term 3 $E0E000 +-term 4 $0000CD +-term 5 $D7A0D7 +-term 6 $7EE0CE +-term 7 $D0D0D0 +-term 8 $FFFFFF +-term 9 $EE2C2C +-term 10 $00E700 +-term 11 $E0E000 +-term 12 $6381BE +-term 13 $D7A0D7 +-term 14 $7EE0CE +-term 15 $FFFFFF + +=Idle +=Type $f09479 + +=Bad $ee2c2c +=Comment $d0d0a0 +=Constant $87df71 +=DefinedIdent $7ee0ce +=Escape $e8b87e +=Preproc $d7a0d7 +=Statement $7ec0ee +=TODO $000000/$e0e000 +=Title /$000000 bold + +=diff.AddLine /$008b00 +=diff.ChgLine /$00008b +=diff.DelLine /$8b0000 + diff --git a/dotfiles/joe/color/moria-light.jcf b/dotfiles/joe/color/moria-light.jcf new file mode 100644 index 0000000..edc9307 --- /dev/null +++ b/dotfiles/joe/color/moria-light.jcf @@ -0,0 +1,94 @@ + +# Based on moria vim scheme by Georg Dahn +# https://vim.sourceforge.io/scripts/script.php?script_id=1464 + +.colors 256 + +-text 16/255 +-status /110 bold +-selection /251 +-linum 25 +-curlin /253 +-menu /68 +-menusel /226 +-cursor 255/88 + +-term 0 16 +-term 1 124 +-term 2 157 +-term 3 226 +-term 4 20 +-term 5 90 +-term 6 51 +-term 7 253 +-term 8 247 +-term 9 196 +-term 10 157 +-term 11 226 +-term 12 26 +-term 13 146 +-term 14 51 +-term 15 231 + +=Idle +=Type 124 bold + +=Bad 196 +=Comment 94 +=Constant 28 +=DefinedIdent 23 +=Escape 124 +=Preproc 90 +=Statement 25 bold +=TODO /226 +=Title bold + +=diff.AddLine 231/28 +=diff.ChgLine 231/18 +=diff.DelLine 231/88 + +.colors * + +-text $000000/$f0f0f0 +-status /$8fa5d1 bold +-selection /$c4c4c4 +-linum $375288 +-curlin /$d8d8d8 +-menu /$708bc5 +-menusel /$ffff00 +-cursor $f0f0f0/$883400 + +-term 0 $000000 +-term 1 $EE2C2C +-term 2 $A0F0A0 +-term 3 $FFFF00 +-term 4 $0000F0 +-term 5 $800090 +-term 6 $00FFFF +-term 7 $D8D8D8 +-term 8 $A0A0A0 +-term 9 $EE2C2C +-term 10 $A0F0A0 +-term 11 $FFFF00 +-term 12 $4A6DB5 +-term 13 $800090 +-term 14 $00FFFF +-term 15 $FFFFFF + +=Idle +=Type $912f11 bold + +=Bad $ee2c2c +=Comment $786000 +=Constant $077807 +=DefinedIdent $007080 +=Escape $912f11 +=Preproc $800090 +=Statement $1f3f81 bold +=TODO /$ffff00 +=Title bold + +=diff.AddLine $ffffff/$008b00 +=diff.ChgLine $ffffff/$00008b +=diff.DelLine $ffffff/$8b0000 + diff --git a/dotfiles/joe/color/oceandeep.jcf b/dotfiles/joe/color/oceandeep.jcf new file mode 100644 index 0000000..8dd77cf --- /dev/null +++ b/dotfiles/joe/color/oceandeep.jcf @@ -0,0 +1,60 @@ + +# Based on oceandeep vim scheme by Tom Regner + +.colors * + +-text $e0eee0/$103040 +-status $000000/$e0e0e0 bold +-selection $ffffff/$2e8b57 +-linum $8db6cd/$0f0f0f bold +-curlin /$003853 +-cursor $ffffff/$96cdcd + +-term 0 $103040 +-term 1 $B22222 +-term 2 $7FFF00 +-term 3 $7FFF00 +-term 4 $305060 +-term 5 $E066FF +-term 6 $00CDCD +-term 7 $E0EEE0 +-term 8 $E0E0E0 +-term 9 $FF3030 +-term 10 $7FFF00 +-term 11 $7FFF00 +-term 12 $607B8B +-term 13 $E066FF +-term 14 $00FFFF +-term 15 $FFFFFF + +=Idle +=Keyword $90ee90 bold +=Operator $7fff00 +=Type $add8e6 + +=Bad $ffffe0/$b22222 +=Boolean $00ffff bold +=Comment $507080 +=Conditional $90ee90 +=Constant $00cdcd +=Define $bcd2ee +=DefinedFunction $9bcd9b +=DefinedIdent $8db6cd +=Escape $66cdaa bold +=IncSystem $a2b5cd +=Loop $4eee94 +=Macro $8db6cd +=Number $00ffff +=Precond $a4d3ee +=Preproc $87ceff +=Statement $90ee90 +=StorageClass $add8e6 +=String $00e5ee +=Structure $add8e6 +=TODO $00ffff/$507080 +=Title $e066ff bold + +=diff.AddLine /$008b8b +=diff.ChgLine /$008b00 +=diff.DelLine /$000000 + diff --git a/dotfiles/joe/color/peaksea-dark.jcf b/dotfiles/joe/color/peaksea-dark.jcf new file mode 100644 index 0000000..3e26b6b --- /dev/null +++ b/dotfiles/joe/color/peaksea-dark.jcf @@ -0,0 +1,104 @@ + +# Based on the peaksea vim color scheme by Pan, Shi Zhu +# https://vim.sourceforge.io/scripts/script.php?script_id=760 + +.colors 256 + +-text 252/234 +-status 16/153 +-selection 16/153 +-linum 145 +-curlin underline +-menu /90 +-menusel 16/252 +-cursor 16/46 + +-term 0 234 +-term 1 88 +-term 2 46 +-term 3 150 +-term 4 18 +-term 5 90 +-term 6 74 +-term 7 252 +-term 8 188 +-term 9 209 +-term 10 46 +-term 11 187 +-term 12 69 +-term 13 182 +-term 14 153 +-term 15 188 + +=Idle +=Type 153 + +=Bad 209 +=Character +Number +=Comment 187 +=Constant 74 +=DefinedIdent 182 +=Escape 179 +=Number 179 +=Preproc 84 +=Statement 153 +=String +Constant +=StringEscape 145 +=TODO 88/187 +=Tag +DefinedIdent +=Title 182 + +=diff.AddLine /18 +=diff.ChgLine /90 +=diff.DelLine 69 + +.colors * + +-text $d0d0d0/$202020 +-status $000000/$a6caf0 +-selection $000000/$a6caf0 +-linum $b0b0b0 +-curlin underline +-menu /$800080 +-menusel $000000/$d0d0d0 +-cursor $000000/$00f000 + +-term 0 $202020 +-term 1 $800000 +-term 2 $00F000 +-term 3 $E0C060 +-term 4 $000080 +-term 5 $800080 +-term 6 $80C0E0 +-term 7 $D0D0D0 +-term 8 $E0E0E0 +-term 9 $F08060 +-term 10 $00F000 +-term 11 $C0E080 +-term 12 $6080F0 +-term 13 $F0C0F0 +-term 14 $80C0E0 +-term 15 $E0E0E0 + +=Idle +=Type $b0d0f0 + +=Bad $f08060 +=Character +Number +=Comment $d0d090 +=Constant $80c0e0 +=DefinedIdent $f0c0f0 +=Escape $e0c060 +=Number $e0c060 +=Preproc $60f080 +=Statement $c0d8f8 +=String +Constant +=StringEscape $b0b0b0 +=TODO $800000/$d0d090 +=Tag +DefinedIdent +=Title $f0c0f0 + +=diff.AddLine /$000080 +=diff.ChgLine /$800080 +=diff.DelLine $6080f0 + diff --git a/dotfiles/joe/color/peaksea-light.jcf b/dotfiles/joe/color/peaksea-light.jcf new file mode 100644 index 0000000..e4057fd --- /dev/null +++ b/dotfiles/joe/color/peaksea-light.jcf @@ -0,0 +1,104 @@ + +# Based on the peaksea vim color scheme by Pan, Shi Zhu +# https://vim.sourceforge.io/scripts/script.php?script_id=760 + +.colors 256 + +-text 16/188 +-status /153 bold +-selection /153 bold +-linum 242 +-curlin underline +-menu /182 +-menusel 255/95 +-cursor 255/28 + +-term 0 16 +-term 1 160 +-term 2 114 +-term 3 186 +-term 4 18 +-term 5 127 +-term 6 153 +-term 7 255 +-term 8 242 +-term 9 160 +-term 10 114 +-term 11 186 +-term 12 62 +-term 13 127 +-term 14 153 +-term 15 231 + +=Idle +=Type 25 bold + +=Bad 160 +=Character +Number +=Comment 58 +=Constant 23 +=DefinedIdent 127 +=Escape 94 +=Number 94 +=Preproc 28 +=Statement 25 bold +=String +Constant +=StringEscape 242 +=TODO 88/186 +=Tag +DefinedIdent +=Title 127 bold + +=diff.AddLine /146 +=diff.ChgLine /182 +=diff.DelLine 18/252 bold + +.colors * + +-text $000000/$e0e0e0 +-status /$a6caf0 bold +-selection /$a6caf0 bold +-linum $686868 +-curlin underline +-menu /$e0b0e0 +-menusel $f0f0f0/$806060 +-cursor $f0f0f0/$008000 + +-term 0 $000000 +-term 1 $C03000 +-term 2 $90E090 +-term 3 $E0E090 +-term 4 $002090 +-term 5 $A030A0 +-term 6 $A6CAF0 +-term 7 $F0F0F0 +-term 8 $686868 +-term 9 $C03000 +-term 10 $90E090 +-term 11 $E0E090 +-term 12 $6A5ACD +-term 13 $A030A0 +-term 14 $B0E0B0 +-term 15 $F8F8F8 + +=Idle +=Type $0850a0 bold + +=Bad $c03000 +=Character +Number +=Comment $606000 +=Constant $007068 +=DefinedIdent $a030a0 +=Escape $907000 +=Number $907000 +=Preproc $009030 +=Statement $2060a8 bold +=String +Constant +=StringEscape $686868 +=TODO $800000/$e0e090 +=Tag +DefinedIdent +=Title $a030a0 bold + +=diff.AddLine /$b0b0e0 +=diff.ChgLine /$e0b0e0 +=diff.DelLine $002090/$d0d0d0 bold + diff --git a/dotfiles/joe/color/pyte.jcf b/dotfiles/joe/color/pyte.jcf new file mode 100644 index 0000000..80b8e8e --- /dev/null +++ b/dotfiles/joe/color/pyte.jcf @@ -0,0 +1,103 @@ + +# Based on the pyte vim color scheme by Henning Hasemann + +.colors 256 + +-text 238/255 +-status 231/245 bold italic +-linum 231/252 +-cursor 16/249 + +-term 0 238 +-term 1 196 +-term 2 107 +-term 3 107 +-term 4 18 +-term 5 53 +-term 6 152 +-term 7 254 +-term 8 245 +-term 9 196 +-term 10 107 +-term 11 223 +-term 12 25 +-term 13 245 +-term 14 152 +-term 15 231 + +=Idle +=Operator 28 +=Type 214 italic + +=Bad 196/231 bold underline +=Comment 145 italic +=Conditional 28 bold +=Constant 137 +=Define 25 bold +=DefinedFunction 18 italic +=DefinedIdent 53 italic +=Escape 110 italic +=Float 107 +=Loop 107 bold +=Number 72 +=Preproc 25 +=Statement 22 bold +=String 25 +=Structure 22 italic +=TODO 145 bold italic underline +=Title 234 bold + +=diff.AddLine /152 bold italic +=diff.ChgLine /188 bold italic +=diff.DelLine /223 bold italic + +.colors * + +-text $404850/$f0f0f0 +-status $ffffff/$8090a0 bold italic +-linum $ffffff/$c0d0e0 +-cursor $000000/$b0b4b8 + +-term 0 $404850 +-term 1 $FF0000 +-term 2 $7FBF58 +-term 3 $7FBF58 +-term 4 $06287E +-term 5 $5B3674 +-term 6 $C0E0D0 +-term 7 $E8E8E8 +-term 8 $8090A0 +-term 9 $FF0000 +-term 10 $7FBF58 +-term 11 $F0E0B0 +-term 12 $4070A0 +-term 13 $8090A0 +-term 14 $C0E0D0 +-term 15 $FFFFFF + +=Idle +=Operator $408010 +=Type $e5a00d italic + +=Bad $ff0000/$ffffff bold underline +=Comment $a0b0c0 italic +=Conditional $4c8f2f bold +=Constant $a07040 +=Define $1060a0 bold +=DefinedFunction $06287e italic +=DefinedIdent $5b3674 italic +=Escape $70a0d0 italic +=Float $70a040 +=Loop $7fbf58 bold +=Number $40a070 +=Preproc $1060a0 +=Statement $007020 bold +=String $4070a0 +=Structure $007020 italic +=TODO $a0b0c0 bold italic underline +=Title $202020 bold + +=diff.AddLine /$c0e0d0 bold italic +=diff.ChgLine /$e0e0e0 bold italic +=diff.DelLine /$f0e0b0 bold italic + diff --git a/dotfiles/joe/color/rdark.jcf b/dotfiles/joe/color/rdark.jcf new file mode 100644 index 0000000..c801e49 --- /dev/null +++ b/dotfiles/joe/color/rdark.jcf @@ -0,0 +1,107 @@ + +# Based on rdark vim scheme by Radu Dineiu + +.colors 256 + +-text 250/235 +-status 236/250 +-selection /16 +-linum 238/16 +-menu 255/236 +-menusel 235/231 +-cursor 235/250 + +-term 0 235 +-term 1 160 +-term 2 112 +-term 3 112 +-term 4 25 +-term 5 139 +-term 6 110 +-term 7 250 +-term 8 254 +-term 9 196 +-term 10 112 +-term 11 112 +-term 12 25 +-term 13 139 +-term 14 254 +-term 15 231 + +=Idle +=Keyword 255 +=Type 254 + +=Bad 255/160 +=Comment 242 +=Constant 112 +=DefinedFunction 214 +=DefinedIdent 231 +=Escape 245 +=Number 112 +=Preproc 214 +=Statement 110 +=TODO 214 +=Title 214 + +=diff.AddLine /235 +=diff.ChgLine /236 +=diff.DelLine 236/233 +=html.Tag 245 +=html.TagEnd 245 +=html.TagName +=xml.Tag +html.Tag +=xml.TagEnd +html.TagEnd + +.colors * + +-text $babdb6/$1e2426 +-status $2e3436/$babdb6 +-selection /$000000 +-linum $3f4b4d/$000000 +-menu $eeeeec/$2e3436 +-menusel $1e2426/$ffffff +-cursor $1e2426/$babdb6 + +-term 0 $1E2426 +-term 1 $CC0000 +-term 2 $8AE234 +-term 3 $8AE234 +-term 4 $204A87 +-term 5 $AD7FA8 +-term 6 $D3D7CF +-term 7 $BABDB6 +-term 8 $EEEEEC +-term 9 $EF2929 +-term 10 $8AE234 +-term 11 $8AE234 +-term 12 $3465A4 +-term 13 $AD7FA8 +-term 14 $E3E7DF +-term 15 $FFFFFF + +=Idle +=Keyword $eeeeec +=Type $e3e7df + +=Bad $eeeeec/$cc0000 +=Comment $656763 +=Constant $8ae234 +=DefinedFunction $fcaf3e +=DefinedIdent $ffffff +=Escape $888a85 +=Number $8ae234 +=Preproc $fcaf3e +=Statement $729fcf +=TODO $fcaf3e +=Title $fcaf3e + +=diff.AddLine /$1f2b2d +=diff.ChgLine /$2e3436 +=diff.DelLine $2e3436/$0e1416 +=html.Tag $888a85 +=html.TagEnd $888a85 +=html.TagName +=xml.Tag +html.Tag +=xml.TagEnd +html.TagEnd + diff --git a/dotfiles/joe/color/rootwater.jcf b/dotfiles/joe/color/rootwater.jcf new file mode 100644 index 0000000..62e82a1 --- /dev/null +++ b/dotfiles/joe/color/rootwater.jcf @@ -0,0 +1,97 @@ + +# Based on the rootwater vim color scheme by Radu Dineiu + +.colors 256 + +-text 250/234 +-status 114/16 +-selection 114/65 +-linum 242/16 +-curlin /236 +-cursor 22/114 + +-term 0 234 +-term 1 196 +-term 2 71 +-term 3 214 +-term 4 240 +-term 5 242 +-term 6 123 +-term 7 250 +-term 8 231 +-term 9 196 +-term 10 114 +-term 11 114 +-term 12 242 +-term 13 217 +-term 14 123 +-term 15 231 + +=Idle +=Type 231 + +=Bad 196/16 +=Boolean 114 +=Comment 242 +=Constant 114 +=DefinedFunction 214 +=DefinedIdent 231 +=Escape 217 +=Number 114 +=Preproc 217 +=Statement 123 +=String 114 +=TODO 217/16 +=Title 114/16 + +=diff.AddLine 114/22 +=diff.ChgLine 114/22 +=diff.DelLine 236/236 + +.colors * + +-text $babdb6/$151b1d +-status $88ee99/$000000 +-selection $77dd88/$448844 +-linum $607075/$000000 +-curlin /$303035 +-cursor $3a553a/$77dd88 + +-term 0 $151B1D +-term 1 $FF0000 +-term 2 $77DD88 +-term 3 $77DD88 +-term 4 $607075 +-term 5 $607075 +-term 6 $8FFFFF +-term 7 $BABDB6 +-term 8 $FFFFFF +-term 9 $FF0000 +-term 10 $88EE99 +-term 11 $88EE99 +-term 12 $607075 +-term 13 $607075 +-term 14 $8FFFFF +-term 15 $FFFFFF + +=Idle +=Type $ffffff + +=Bad $ff0000/$000000 +=Boolean $77dd88 +=Comment $656565 +=Constant $88ee99 +=DefinedFunction $ffaa33 +=DefinedIdent $ffffff +=Escape $ffc0cb +=Number $77dd88 +=Preproc $ffbbbb +=Statement $8fffff +=String $77dd88 +=TODO $ffc0cb/$000000 +=Title $88ee99/$000000 + +=diff.AddLine $77dd88/$3a553a +=diff.ChgLine $77dd88/$3a553a +=diff.DelLine $223322/$223322 + diff --git a/dotfiles/joe/color/slate.jcf b/dotfiles/joe/color/slate.jcf new file mode 100644 index 0000000..7c01db5 --- /dev/null +++ b/dotfiles/joe/color/slate.jcf @@ -0,0 +1,99 @@ + +# Based on the slate vim color scheme by Ralph Amissah + +.colors 256 + +-text 231/235 +-status 16/144 +-selection 186/64 +-linum 244 +-cursor 67/186 + +-term 0 235 +-term 1 196 +-term 2 46 +-term 3 184 +-term 4 18 +-term 5 90 +-term 6 117 +-term 7 231 +-term 8 223 +-term 9 196 +-term 10 46 +-term 11 184 +-term 12 27 +-term 13 90 +-term 14 117 +-term 15 223 + +=Idle +=Operator 196 +=Type 68 + +=Bad /196 +=Comment 242 +=Constant 217 +=Define 220 bold +=DefinedFunction 223 +=DefinedIdent 210 +=Escape 143 +=IncSystem 196 +=Preproc 196/231 +=Statement 68 +=String 117 +=Structure 46 +=TODO 202/184 +=Title 220 bold + +=diff.AddLine /18 +=diff.ChgLine /90 +=diff.DelLine 18/30 + +.colors * + +-text $ffffff/$262626 +-status $000000/$c2bfa5 +-selection $f0e68c/$6b8e23 +-linum $7f7f7f +-cursor $708090/$f0e68c + +-term 0 $262626 +-term 1 $FF0000 +-term 2 $9ACD32 +-term 3 $EEEE00 +-term 4 $000080 +-term 5 $800080 +-term 6 $87CEEB +-term 7 $FFFFFF +-term 8 $E5E5E5 +-term 9 $FF0000 +-term 10 $00FF00 +-term 11 $EEEE00 +-term 12 $4169E1 +-term 13 $708090 +-term 14 $87CEEB +-term 15 $E5E5E5 + +=Idle +=Operator $ff0000 +=Type $6495ed + +=Bad $e5e5e5/$ff0000 +=Comment $666666 +=Constant $ffa0a0 +=Define $ffd700 bold +=DefinedFunction $ffdead +=DefinedIdent $fa8072 +=Escape $bdb76b +=IncSystem $ff0000 +=Preproc $ff0000/$ffffff +=Statement $6495ed +=String $87ceeb +=Structure $00ff00 +=TODO $ff4500/$eeee00 +=Title $ffd700 bold + +=diff.AddLine /$000080 +=diff.ChgLine /$800080 +=diff.DelLine $000080/$008080 + diff --git a/dotfiles/joe/color/tango2.jcf b/dotfiles/joe/color/tango2.jcf new file mode 100644 index 0000000..23dbce8 --- /dev/null +++ b/dotfiles/joe/color/tango2.jcf @@ -0,0 +1,74 @@ + +# Based on the tango2 vim color scheme by Pranesh Srinivasan +# https://vim.sourceforge.io/scripts/script.php?script_id=2414 + +.colors 256 + +-text 255/236 +-cursor 16/231 + +-term 0 236 +-term 1 244 +-term 2 112 +-term 3 178 +-term 4 16 +-term 5 139 +-term 6 109 +-term 7 255 +-term 8 252 +-term 9 244 +-term 10 112 +-term 11 112 +-term 12 110 +-term 13 139 +-term 14 109 +-term 15 231 + +=Idle +=Type 112 + +=Comment 244 italic +=Constant 112 +=DefinedFunction 150 bold +=DefinedIdent 139 +=Escape 74 +=Preproc 179 +=Statement 110 +=TODO 178 + + +.colors * + +-text $eeeeec/$2E3436 +-cursor $000000/$ffffff + +-term 0 $2E3436 +-term 1 $AD7FA8 +-term 2 $8AE234 +-term 3 $EBC450 +-term 4 $6D7E8A +-term 5 $AD7FA8 +-term 6 $81ABBD +-term 7 $EEEEEC +-term 8 $D2D2D2 +-term 9 $AD7FA8 +-term 10 $8AE234 +-term 11 $EBC450 +-term 12 $6D7E8A +-term 13 $AD7FA8 +-term 14 $81ABBD +-term 15 $FFFFFF + +=Idle +=Type $8AE234 + +=Comment $6d7e8a italic +=Constant $8ae234 +=DefinedFunction $9BCF8D bold +=DefinedIdent $AD7FA8 +=Escape $5EAFE5 +=Preproc $e9ba6e +=Statement $729FCF +=TODO $EBC450 + + diff --git a/dotfiles/joe/color/tender.jcf b/dotfiles/joe/color/tender.jcf new file mode 100644 index 0000000..c8674ca --- /dev/null +++ b/dotfiles/joe/color/tender.jcf @@ -0,0 +1,114 @@ + +# Based on tender, a dark and fresh color scheme for vim +# by Jacobo Taberno http://jacoborus.codes + +.colors 256 + +-text 255/235 +-status 234/242 bold +-selection /16 +-linum 238 +-curlin /236 +-curlinum 81 +-menu 235/81 +-menusel 235/185 +-cursor 235/255 + +-term 0 235 +-term 1 160 +-term 2 142 +-term 3 185 +-term 4 238 +-term 5 66 +-term 6 81 +-term 7 255 +-term 8 231 +-term 9 160 +-term 10 185 +-term 11 185 +-term 12 66 +-term 13 66 +-term 14 81 +-term 15 231 + +=Idle +=Operator 203 +=Type 81 + +=Bad 255/203 +=Boolean 215 +=Character 215 +=Comment 242 +=Conditional 185 +=Constant 215 +=DefinedFunction 153 +=DefinedIdent 153 +=Escape 81 +=Float 215 +=Number 215 +=Preproc 185 +=Statement 153 +=String 180 +=TODO 203 bold +=Title 153 bold + +=diff.AddLine /238 +=diff.ChgLine /239 +=diff.DelLine 203/237 +=xml.Namespace 215 + +.colors * + +-text $eeeeee/$282828 +-status $1d1d1d/$666666 bold +-selection /$040404 +-linum $444444 +-curlin /$323232 +-curlinum $73cef4 +-menu $282828/$73cef4 +-menusel $282828/$c9d05c +-cursor $282828/$eeeeee + +-term 0 $282828 +-term 1 $C5152F +-term 2 $9FAA00 +-term 3 $C9D05C +-term 4 $335261 +-term 5 $335261 +-term 6 $73CEF4 +-term 7 $EEEEEE +-term 8 $FFFFFF +-term 9 $FF5F5F +-term 10 $C9D05C +-term 11 $C9D05C +-term 12 $44778D +-term 13 $F43753 +-term 14 $B3DEEF +-term 15 $FFFFFF + +=Idle +=Operator $f43753 +=Type $73cef4 + +=Bad $eeeeee/$f43753 +=Boolean $ffc24b +=Character $ffc24b +=Comment $666666 +=Conditional $c9d05c +=Constant $ffc24b +=DefinedFunction $b3deef +=DefinedIdent $b3deef +=Escape $73cef4 +=Float $ffc24b +=Number $ffc24b +=Preproc $c9d05c +=Statement $b3deef +=String $d3b987 +=TODO $f43753 bold +=Title $b3deef bold + +=diff.AddLine /$464632 +=diff.ChgLine /$335261 +=diff.DelLine $f43753/$79313c +=xml.Namespace $ffc24b + diff --git a/dotfiles/joe/color/wombat.jcf b/dotfiles/joe/color/wombat.jcf new file mode 100644 index 0000000..6934471 --- /dev/null +++ b/dotfiles/joe/color/wombat.jcf @@ -0,0 +1,87 @@ + +# Based on Wombat vim scheme by Lars H. Nielsen + +.colors 256 + +-text 255/235 +-status /238 italic +-selection /238 +-linum 244/16 +-cursor 235/242 + +-term 0 235 +-term 1 203 +-term 2 113 +-term 3 149 +-term 4 238 +-term 5 244 +-term 6 153 +-term 7 255 +-term 8 248 +-term 9 203 +-term 10 113 +-term 11 149 +-term 12 244 +-term 13 246 +-term 14 153 +-term 15 194 + +=Idle +=Keyword 153 +=Type 149 + +=Comment 246 italic +=Constant 203 +=DefinedFunction 149 +=DefinedIdent 149 +=Escape 194 +=Number 203 +=Preproc 203 +=Statement 153 +=String 113 italic +=TODO 246 italic +=Title bold + + +.colors * + +-text $f6f3e8/$242424 +-status /$444444 italic +-selection /$444444 +-linum $857b6f/$000000 +-cursor $242424/$656565 + +-term 0 $242424 +-term 1 $E5786D +-term 2 $95E454 +-term 3 $CAE682 +-term 4 $384048 +-term 5 $A0A8B0 +-term 6 $8AC6F2 +-term 7 $F6F3E8 +-term 8 $E7F6DA +-term 9 $E5786D +-term 10 $95E454 +-term 11 $CAE682 +-term 12 $384048 +-term 13 $A0A8B0 +-term 14 $8AC6F2 +-term 15 $E7F6DA + +=Idle +=Keyword $8ac6f2 +=Type $cae682 + +=Comment $99968b italic +=Constant $e5786d +=DefinedFunction $cae682 +=DefinedIdent $cae682 +=Escape $e7f6da +=Number $e5786d +=Preproc $e5786d +=Statement $8ac6f2 +=String $95e454 italic +=TODO $8f8f8f italic +=Title bold + + diff --git a/dotfiles/joe/color/xoria256.jcf b/dotfiles/joe/color/xoria256.jcf new file mode 100644 index 0000000..1b2541b --- /dev/null +++ b/dotfiles/joe/color/xoria256.jcf @@ -0,0 +1,99 @@ + +# Based on xoria256 vim scheme by Dmitriy Y. Zotikov (xio) + +.colors 256 + +-text 252/234 +-status 231/239 bold +-selection 255/96 +-linum 247/233 +-curlin /237 +-menu 16/250 +-menusel 255/243 +-cursor /214 + +-term 0 234 +-term 1 160 +-term 2 77 +-term 3 184 +-term 4 98 +-term 5 98 +-term 6 151 +-term 7 252 +-term 8 254 +-term 9 160 +-term 10 77 +-term 11 184 +-term 12 98 +-term 13 98 +-term 14 151 +-term 15 231 + +=Idle +=Type 146 + +=Bad 231/160 +=Comment 244 +=Constant 229 +=DefinedIdent 182 +=Escape 174 +=Number 180 +=Preproc 150 +=Statement 110 +=TODO 16/184 +=Title 225 + +=diff.AddLine 234/151 +=diff.ChgLine 234/181 +=diff.DelLine 234/246 +=html.Tag 244 +=html.TagEnd 244 + +.colors * + +-text $d0d0d0/$1c1c1c +-status $ffffff/$4e4e4e bold +-selection $eeeeee/$875f87 +-linum $9e9e9e/$121212 +-curlin /$3a3a3a +-menu $000000/$bcbcbc +-menusel $eeeeee/$767676 +-cursor $1c1c1c/$ffaf00 + +-term 0 $1C1C1C +-term 1 $800000 +-term 2 $5FDF5F +-term 3 $DFDF00 +-term 4 $875FDF +-term 5 $875FDF +-term 6 $AFDFAF +-term 7 $D0D0D0 +-term 8 $E4E4E4 +-term 9 $DF8787 +-term 10 $5FDF5F +-term 11 $DFDF00 +-term 12 $875FDF +-term 13 $875FDF +-term 14 $AFDFAF +-term 15 $FFFFFF + +=Idle +=Type $afafdf + +=Bad $ffffff/$800000 +=Comment $808080 +=Constant $ffffaf +=DefinedIdent $dfafdf +=Escape $df8787 +=Number $dfaf87 +=Preproc $afdf87 +=Statement $87afdf +=TODO $000000/$dfdf00 +=Title $ffdfff + +=diff.AddLine $1c1c1c/$afdfaf +=diff.ChgLine $1c1c1c/$dfafaf +=diff.DelLine $1c1c1c/$949494 +=html.Tag $808080 +=html.TagEnd $808080 + diff --git a/dotfiles/joe/color/zenburn-hc.jcf b/dotfiles/joe/color/zenburn-hc.jcf new file mode 100644 index 0000000..f225670 --- /dev/null +++ b/dotfiles/joe/color/zenburn-hc.jcf @@ -0,0 +1,149 @@ + +# High-contrast version of zenburn +# +# Nothing too fancy, just some alien fruit salad to keep you in the zone. +# This syntax file was designed to be used with dark environments and +# low light situations. Of course, if it works during a daybright office, go +# ahead :) +# +# Owes heavily to other Vim color files! With special mentions +# to "BlackDust", "Camo" and "Desert". +# +# Credits [from VIM]: +# - Jani Nurminen - original Zenburn +# - Steve Hall & Cream posse - higher-contrast Visual selection +# - Kurt Maier - 256 color console coloring, low and high contrast toggle, +# bug fixing +# - Charlie - spotted too bright StatusLine in non-high contrast mode +# - Pablo Castellazzi - CursorLine fix for 256 color mode + +.colors 256 + +-text 253/234 +-status 236/186 +-selection 236/79 +-linum 145/233 +-curlin /233 bold +-curlinum 187/233 +-menu 251/235 +-menusel 186/237 bold +-cursor 232/109 bold + +-term 0 234 +-term 1 167 +-term 2 115 +-term 3 186 +-term 4 238 +-term 5 139 +-term 6 116 +-term 7 253 +-term 8 188 +-term 9 167 +-term 10 115 +-term 11 228 +-term 12 103 +-term 13 139 +-term 14 116 +-term 15 231 + +=Idle +=Keyword 223 bold +=Operator 230 +=Type 187 bold + +=Bad 167/237 bold +=Boolean 181 +=Character 181 bold +=Comment 108 italic +=Conditional 223 bold +=Constant 181 bold +=Define 180 bold +=DefinedFunction 186 +=DefinedIdent 223 +=Escape 251 +=Float 250 +=IncSystem 180 bold +=Label 223 underline +=Loop 223 bold +=Macro 180 bold +=Number 116 +=Precond 180 bold +=Preproc 180 bold +=Statement 187 +=StorageClass 144 bold +=String 174 +=StringEscape 181 bold +=Structure 229 bold +=TODO 188 bold +=Tag 174 bold +=Title 255 bold + +=diff.AddLine 66 bold +=diff.ChgLine /236 bold +=diff.DelLine 236/238 + +.colors * + +-text $dcdccc/$1f1f1f +-status $313633/$ccdc90 +-selection $233323/$71d3b4 +-linum $9fafaf/$161616 +-curlin /$121212 bold +-curlinum $f2f3bb/$161616 +-menu $ccccbc/$242424 +-menusel $ccdc90/$353a37 bold +-cursor $000d18/$8faf9f bold + +-term 0 $1F1F1F +-term 1 $E37170 +-term 2 $9CCC9C +-term 3 $EFEF8F +-term 4 $000D18 +-term 5 $BC8CBC +-term 6 $8CD0D3 +-term 7 $DCDCCC +-term 8 $DFDFDF +-term 9 $E37170 +-term 10 $CCDC90 +-term 11 $F8F893 +-term 12 $8C8CBC +-term 13 $BC8CBC +-term 14 $8CD0D3 +-term 15 $FFFFFF + +=Idle +=Keyword $f0dfaf bold +=Operator $f0efd0 +=Type $dfdfbf bold + +=Bad $e37170/$3d3535 bold +=Boolean $dca3a3 +=Character $dca3a3 bold +=Comment $7f9f7f italic +=Conditional $f0dfaf bold +=Constant $dca3a3 bold +=Define $ffcfaf bold +=DefinedFunction $efef8f +=DefinedIdent $efdcbc +=Escape $cfbfaf +=Float $c0bed1 +=IncSystem $dfaf8f bold +=Label $dfcfaf underline +=Loop $ffd7a7 bold +=Macro $ffcfaf bold +=Number $8cd0d3 +=Precond $dfaf8f bold +=Preproc $ffcfaf bold +=Statement $e3ceab +=StorageClass $c3bf9f bold +=String $cc9393 +=StringEscape $dca3a3 bold +=Structure $efefaf bold +=TODO $dfdfdf bold +=Tag $e89393 bold +=Title $efefef bold + +=diff.AddLine $709080/$313c36 bold +=diff.ChgLine /$333333 +=diff.DelLine $333333/$464646 + diff --git a/dotfiles/joe/color/zenburn.jcf b/dotfiles/joe/color/zenburn.jcf new file mode 100644 index 0000000..116160c --- /dev/null +++ b/dotfiles/joe/color/zenburn.jcf @@ -0,0 +1,147 @@ + +# Nothing too fancy, just some alien fruit salad to keep you in the zone. +# This syntax file was designed to be used with dark environments and +# low light situations. Of course, if it works during a daybright office, go +# ahead :) +# +# Owes heavily to other Vim color files! With special mentions +# to "BlackDust", "Camo" and "Desert". +# +# Credits [from VIM]: +# - Jani Nurminen - original Zenburn +# - Steve Hall & Cream posse - higher-contrast Visual selection +# - Kurt Maier - 256 color console coloring, low and high contrast toggle, +# bug fixing +# - Charlie - spotted too bright StatusLine in non-high contrast mode +# - Pablo Castellazzi - CursorLine fix for 256 color mode + +.colors 256 + +-text 253/237 +-status 236/186 +-selection 236/79 +-linum 145/235 +-curlin /238 +-curlinum 187/235 +-menu 247/236 +-menusel 187/235 bold +-cursor 232/109 bold + +-term 0 237 +-term 1 167 +-term 2 115 +-term 3 186 +-term 4 238 +-term 5 139 +-term 6 116 +-term 7 253 +-term 8 188 +-term 9 167 +-term 10 115 +-term 11 228 +-term 12 103 +-term 13 139 +-term 14 116 +-term 15 231 + +=Idle +=Keyword 223 bold +=Operator 230 +=Type 187 bold + +=Bad 167/237 bold +=Boolean 181 +=Character 181 bold +=Comment 108 italic +=Conditional 223 bold +=Constant 181 bold +=Define 180 bold +=DefinedFunction 186 +=DefinedIdent 223 +=Escape 251 +=Float 250 +=IncSystem 180 bold +=Label 223 underline +=Loop 223 bold +=Macro 180 bold +=Number 116 +=Precond 180 bold +=Preproc 180 bold +=Statement 187 +=StorageClass 144 bold +=String 174 +=StringEscape 181 bold +=Structure 229 bold +=TODO 188 bold +=Tag 174 bold +=Title 255 bold + +=diff.AddLine 66 bold +=diff.ChgLine /236 bold +=diff.DelLine 236/238 + +.colors * + +-text $dcdccc/$3f3f3f +-status $313633/$ccdc90 +-selection $233323/$71d3b4 +-linum $9fafaf/$262626 +-curlin /$434443 +-curlinum $d2d39b/$262626 +-menu $9f9f9f/$2c2e2e +-menusel $d0d0a0/$242424 bold +-cursor $000d18/$8faf9f bold + +-term 0 $3F3F3F +-term 1 $E37170 +-term 2 $9CCC9C +-term 3 $EFEF8F +-term 4 $000D18 +-term 5 $BC8CBC +-term 6 $8CD0D3 +-term 7 $DCDCCC +-term 8 $DFDFDF +-term 9 $E37170 +-term 10 $CCDC90 +-term 11 $F8F893 +-term 12 $8C8CBC +-term 13 $BC8CBC +-term 14 $8CD0D3 +-term 15 $FFFFFF + +=Idle +=Keyword $f0dfaf bold +=Operator $f0efd0 +=Type $dfdfbf bold + +=Bad $e37170/$3d3535 bold +=Boolean $dca3a3 +=Character $dca3a3 bold +=Comment $7f9f7f italic +=Conditional $f0dfaf bold +=Constant $dca3a3 bold +=Define $ffcfaf bold +=DefinedFunction $efef8f +=DefinedIdent $efdcbc +=Escape $cfbfaf +=Float $c0bed1 +=IncSystem $dfaf8f bold +=Label $dfcfaf underline +=Loop $ffd7a7 bold +=Macro $ffcfaf bold +=Number $8cd0d3 +=Precond $dfaf8f bold +=Preproc $ffcfaf bold +=Statement $e3ceab +=StorageClass $c3bf9f bold +=String $cc9393 +=StringEscape $dca3a3 bold +=Structure $efefaf bold +=TODO $dfdfdf bold +=Tag $e89393 bold +=Title $efefef bold + +=diff.AddLine $709080/$313c36 bold +=diff.ChgLine /$333333 +=diff.DelLine $333333/$464646 + diff --git a/dotfiles/joe/syntax/ant.jsf b/dotfiles/joe/syntax/ant.jsf new file mode 100644 index 0000000..35aa32f --- /dev/null +++ b/dotfiles/joe/syntax/ant.jsf @@ -0,0 +1,301 @@ +# JOE syntax highlight file for Ant's build scripts + +# http://ant.apache.org/ + +# using the XML highlighter with better colors since +# ant scripts heavily rely on the tags (blue is a bad color here) +# instead of their contents + +# Improved XML highlighter by: Brian Candler + +=Idle +=Bad red bold +=Tag bold +=Attr +=Constant cyan +=Escape bold cyan +=EntityRef magenta +=Decl cyan +=CommentStart green +=CommentBody green +=CommentEnd green +=PIStart yellow bold +=PIBody yellow +=PIEnd yellow bold +=CdataStart blue bold +=CdataBody bold +=CdataEnd blue bold + +=Keytag bold magenta #fg_310 # brown + + +# http://www.w3.org/TR/2004/REC-xml-20040204/ +# +# NOTE: For UNICODE compatibility, the ranges +# "A-Za-z_:" -- first character of Name +# "A-Za-z0-9._:-" -- subsequent characters of Name +# ought to be replaced with some appropriate Unicode character classes + +:content Idle + * content + "<" tag recolor=-1 + "&" entityref recolor=-1 + +# > is allowed +# ">" error noeat recolor=-1 + + +# In several contexts a space is an error, and since a coloured space is +# not visible, we colour the next non-space character as well. + +:error Bad + * error_visible noeat recolor=-1 + " \t\r\n" error + +:error_visible Bad + * content + +# Matched: & + +:entityref EntityRef + * error noeat recolor=-1 + "A-Za-z0-9._:-" entityref + "#" entityref + ";" content + +# Matched: < + +:tag Tag + * error noeat recolor=-1 + "/" end_tag + "A-Za-z_:" start_or_empty_tag buffer + "?" pi_start recolor=-2 + "!" decl recolor=-2 buffer + +# Matched: " content + +:end_tag2_sp Idle + * end_tag3 noeat + +:end_tag3 Tag + * error noeat recolor=-1 + " \t\r\n" end_tag3_sp recolor=-1 + ">" content + +:end_tag3_sp Idle + * end_tag_3 noeat + +# Matched: " content + +:start_or_empty_tag_sp Idle + * tag_space noeat + +# Matched: " content + +# Matched: " close_tag recolor=-1 + +:tag_space_sp Idle + * tag_space noeat + +# Matched: " error noeat recolor=-1 + + +:string_sq Constant + * string_sq + "<" error noeat recolor=-1 + "&" char_sq recolor=-1 + "'" endstring + "$" string_sq call=.maybe_antvar() + +# ">" error noeat recolor=-1 + + +:char_dq EntityRef + * error noeat recolor=-1 + "A-Za-z0-9._:-" char_dq + "#" char_dq + ";" string_dq + +:char_sq EntityRef + * error noeat recolor=-1 + "A-Za-z0-9._:-" char_sq + "#" char_sq + ";" string_sq + +.subr maybe_antvar +# initial state +:maybe_antvar Constant + * NULL return + "{" antvar recolor=-2 + +:antvar Escape + * antvar + "}" NULL return +.end + +# Matched: " close_tag recolor=-1 + +# This state is just to recolor the final ">" at the end of + +:close_tag Tag + * content noeat + +# Matched: " pi_end recolor=-2 + +:pi_end PIEnd + * content noeat recolor=-1 + +# Matched: " content + +# We allow one level of <...> nesting within declarations + +:decl_nest Decl + * decl_nest + ">" decl + +# Matched: . +# +# * "#" and "+" are lited as mistakes in unquoted tag values, +# although there exist (broken) programs that generate them. +# +# * Recognizes html-entities and lites mistakes in them. +# +# * SGML comments are parsed in the SGML way. This means there +# must be an even amount of "--" markers within the tag. +# +# * Recognizes 1018 different named entities. The list has been +# copied from some version of Lynx. Most browsers don't recognize +# that many. +# +# Todo: +# * tag name recognition +# * tag parameter name recognition +# * inline stylesheet and javascript highlighting +# (hard to do fool-proof, because the value may be entity-encoded). +# + +# Colours +=Background +=Text +=TagEdge green +=TagName green #cyan +=TagParam #green +=TagDelim #bold green +=TagValue cyan +=TagEntity bold blue +=SGMLtag magenta +=XML_pi yellow +=Entity bold blue +=Mystery bold yellow bg_red inverse + +# Call HTML highlighter subroutine + +:first Background + * call_failed noeat call=.html() + +:call_failed Mystery + * call_failed + +# +# HTML highlighter as a subroutine +# + +.subr html + +:reset Background + * idle noeat +.ifdef mason + "%" reset call=perl.perl(mason_line) +.endif + +# Rules +:idle Background + * idle + "\n" reset + "<" tag_begin recolor=-1 + "&" idle call=.entity() recolor=-1 +:mistake_idle Mystery + * idle noeat + +# Tags +:tag_begin TagEdge + * tag_name_first buffer noeat recolor=-1 + "/" tag_name_first buffer +.ifdef mason + "&" rtn_php call=perl.perl(mason_block) +.endif + "!" sgml_tag recolor=-2 +.ifdef php + "?%" rtn_php call=php.php() +.else + "?" xml_pi recolor=-2 +.endif +.ifdef erb + "%" maybe_erb_eq +.endif + +# this state allows php and perl to recolor the ?> %> or &> properly. +:rtn_php TagEdge + * idle noeat + +:maybe_erb_eq TagEdge + * rtn_php noeat call=ruby.ruby(erb) + "=" rtn_php call=ruby.ruby(erb) + +:tag_name_first Mystery + * tag_idle noeat + "-A-Za-z0-9._:" tag_name recolor=-1 + +:tag_name TagName + * tag_idle noeat strings + "script" stag_enter_idle + "style" ytag_enter_idle +done + "-A-Za-z0-9._:" tag_name + +:tag_idle Background + * mistake_tag recolor=-1 + "<" tag_maybe_php recolor=-1 + " \t \n" tag_idle + "/" tag_end recolor=-1 + ">" tag_end noeat recolor=-1 + "-A-Za-z0-9._:" tag_param noeat recolor=-1 + +:tag_maybe_php Mystery + * tag_idle + "?" tag_call_php recolor=-2 + +:tag_call_php TagEdge + * rtn_php_tag noeat call=php.php() + +:rtn_php_tag TagEdge + * tag_idle noeat + +:tag_param TagParam + * tag_idle noeat recolor=-1 + "-A-Za-z0-9._:" tag_param + "=" tag_delim recolor=-1 + +:tag_delim TagDelim + * mistake_tag noeat recolor=-1 + "\"" tag_idle call=.tag_value_quoted(dquote) recolor=-1 + "'" tag_idle call=.tag_value_quoted(squote) recolor=-1 + "-A-Za-z0-9._:" tag_value noeat recolor=-1 + +:tag_value TagValue + * tag_idle noeat recolor=-1 + "-A-Za-z0-9._:" tag_value + +:tag_end TagEdge + * idle + +:mistake_tag Mystery + * tag_idle noeat + +# We're about to entry a script... + +:stag_enter_idle TagName + * stag_idle noeat + +:stag_idle Background + * smistake_tag recolor=-1 + " \t \n" stag_idle + "/" stag_end recolor=-1 + ">" stag_end noeat recolor=-1 + "-A-Za-z0-9._:" stag_param noeat recolor=-1 + +:stag_param TagParam + * stag_idle noeat recolor=-1 + "-A-Za-z0-9._:" stag_param + "=" stag_delim recolor=-1 + +:stag_delim TagDelim + * smistake_tag noeat recolor=-1 + "\"" stag_idle call=.tag_value_quoted(dquote) recolor=-1 + "'" stag_idle call=.tag_value_quoted(squote) recolor=-1 + "-A-Za-z0-9._:" stag_value noeat recolor=-1 + +:stag_value TagValue + * stag_idle noeat recolor=-1 + "-A-Za-z0-9._:" stag_value + +:stag_end TagEdge +.ifdef php + * tag_begin call=js.js(php) +.else + * tag_begin call=js.js(html) +.endif + +:stag_done TagEdge + * tag_name_first buffer noeat + +:smistake_tag Mystery + * stag_idle noeat + +# We're about to entry a script... + +:ytag_enter_idle TagName + * ytag_idle noeat + +:ytag_idle Background + * ymistake_tag recolor=-1 + " \t \n" ytag_idle + "/" ytag_end recolor=-1 + ">" ytag_end noeat recolor=-1 + "-A-Za-z0-9._:" ytag_param noeat recolor=-1 + +:ytag_param TagParam + * ytag_idle noeat recolor=-1 + "-A-Za-z0-9._:" ytag_param + "=" ytag_delim recolor=-1 + +:ytag_delim TagDelim + * ymistake_tag noeat recolor=-1 + "\"" ytag_idle call=.tag_value_quoted(dquote) recolor=-1 + "'" ytag_idle call=.tag_value_quoted(squote) recolor=-1 + "-A-Za-z0-9._:" ytag_value noeat recolor=-1 + +:ytag_value TagValue + * ytag_idle noeat recolor=-1 + "-A-Za-z0-9._:" ytag_value + +:ytag_end TagEdge +.ifdef php + * tag_begin call=css.css(php) +.else + * tag_begin call=css.css() +.endif + +:ytag_done TagEdge + * tag_name_first buffer noeat + +:ymistake_tag Mystery + * ytag_idle noeat + +# SGML and comments +:sgml_tag SGMLtag + * sgml_tag + "-" sgml_tag_maybe_comment + ">" sgml_end noeat recolor=-1 +:sgml_tag_maybe_comment SGMLtag + * sgml_tag + "-" sgml_tag_comment +:sgml_tag_comment SGMLtag + * sgml_tag_comment + "-" sgml_tag_maybe_comment_end +:sgml_tag_maybe_comment_end SGMLtag + * sgml_tag_comment + "-" sgml_tag +:sgml_end SGMLtag + * idle + +# XML processing info +:xml_pi XML_pi + * xml_pi + "?" xml_pi_maybe_end +:xml_pi_maybe_end XML_pi + * xml_pi + "?" xml_pi_maybe_end + ">" xml_pi_end noeat recolor=-1 +:xml_pi_end XML_pi + * idle + +.end + +# +# Quoted string tag values +# + +.subr tag_value_quoted + +:tag_value_quoted TagValue + * tag_value_quoted +.ifdef dquote + "\"" tag_value_quoted return +.endif +.ifdef squote + "'" tag_value_quoted return +.endif + "<" tag_value_maybe_php + +:tag_value_maybe_php TagValue + * tag_value_quoted noeat + "?" tag_value_call_php recolor=-2 + +:tag_value_call_php TagEdge + * tag_value_rtn_php noeat call=php.php() + +:tag_value_rtn_php TagEdge + * tag_value_quoted noeat + +# Too many non-html things can be in quotes to do this... +# "&" tag_value_quoted call=.entity() recolor=-1 + +:mistake_tag_value Mystery + * tag_value_quoted noeat + +.end + + +# +# Entity parser +# + +.subr entity + +# Entities within plain content +:entity Entity + * entity_name noeat buffer recolor=-1 + "#" entity_numeric_begin +:entity_numeric_begin Entity + * entity_numeric noeat + "x" entity_hex +:entity_numeric Entity + * mistake_idle noeat recolor=-1 + "0-9" entity_numeric + ";" entity_end noeat recolor=-1 +:entity_hex Entity + * mistake_idle noeat recolor=-1 + "0-9a-fA-F" entity_hex + ";" entity_end noeat recolor=-1 +:entity_end Entity + * entity return + +:entity_name Mystery + * mistake_idle noeat recolor=-1 strings + "AElig" entity_ok + "Aacgr" entity_ok + "Aacute" entity_ok + "Abreve" entity_ok + "Acirc" entity_ok + "Acy" entity_ok + "Agr" entity_ok + "Agrave" entity_ok + "Alpha" entity_ok + "Amacr" entity_ok + "Aogon" entity_ok + "Aring" entity_ok + "Atilde" entity_ok + "Auml" entity_ok + "Barwed" entity_ok + "Bcy" entity_ok + "Beta" entity_ok + "Bgr" entity_ok + "CHcy" entity_ok + "Cacute" entity_ok + "Cap" entity_ok + "Ccaron" entity_ok + "Ccedil" entity_ok + "Ccirc" entity_ok + "Cdot" entity_ok + "Chi" entity_ok + "Cup" entity_ok + "DJcy" entity_ok + "DScy" entity_ok + "DZcy" entity_ok + "Dagger" entity_ok + "Dcaron" entity_ok + "Dcy" entity_ok + "Delta" entity_ok + "Dgr" entity_ok + "Dot" entity_ok + "DotDot" entity_ok + "Dstrok" entity_ok + "EEacgr" entity_ok + "EEgr" entity_ok + "ENG" entity_ok + "ETH" entity_ok + "Eacgr" entity_ok + "Eacute" entity_ok + "Ecaron" entity_ok + "Ecirc" entity_ok + "Ecy" entity_ok + "Edot" entity_ok + "Egr" entity_ok + "Egrave" entity_ok + "Emacr" entity_ok + "Eogon" entity_ok + "Epsilon" entity_ok + "Eta" entity_ok + "Euml" entity_ok + "Fcy" entity_ok + "GJcy" entity_ok + "Gamma" entity_ok + "Gbreve" entity_ok + "Gcedil" entity_ok + "Gcirc" entity_ok + "Gcy" entity_ok + "Gdot" entity_ok + "Gg" entity_ok + "Ggr" entity_ok + "Gt" entity_ok + "HARDcy" entity_ok + "Hcirc" entity_ok + "Hstrok" entity_ok + "IEcy" entity_ok + "IJlig" entity_ok + "IOcy" entity_ok + "Iacgr" entity_ok + "Iacute" entity_ok + "Icirc" entity_ok + "Icy" entity_ok + "Idigr" entity_ok + "Idot" entity_ok + "Igr" entity_ok + "Igrave" entity_ok + "Imacr" entity_ok + "Iogon" entity_ok + "Iota" entity_ok + "Itilde" entity_ok + "Iukcy" entity_ok + "Iuml" entity_ok + "Jcirc" entity_ok + "Jcy" entity_ok + "Jsercy" entity_ok + "Jukcy" entity_ok + "KHcy" entity_ok + "KHgr" entity_ok + "KJcy" entity_ok + "Kappa" entity_ok + "Kcedil" entity_ok + "Kcy" entity_ok + "Kgr" entity_ok + "LJcy" entity_ok + "Lacute" entity_ok + "Lambda" entity_ok + "Larr" entity_ok + "Lcaron" entity_ok + "Lcedil" entity_ok + "Lcy" entity_ok + "Lgr" entity_ok + "Ll" entity_ok + "Lmidot" entity_ok + "Lstrok" entity_ok + "Lt" entity_ok + "Mcy" entity_ok + "Mgr" entity_ok + "Mu" entity_ok + "NJcy" entity_ok + "Nacute" entity_ok + "Ncaron" entity_ok + "Ncedil" entity_ok + "Ncy" entity_ok + "Ngr" entity_ok + "Ntilde" entity_ok + "Nu" entity_ok + "OElig" entity_ok + "OHacgr" entity_ok + "OHgr" entity_ok + "Oacgr" entity_ok + "Oacute" entity_ok + "Ocirc" entity_ok + "Ocy" entity_ok + "Odblac" entity_ok + "Ogr" entity_ok + "Ograve" entity_ok + "Omacr" entity_ok + "Omega" entity_ok + "Omicron" entity_ok + "Oslash" entity_ok + "Otilde" entity_ok + "Ouml" entity_ok + "PHgr" entity_ok + "PSgr" entity_ok + "Pcy" entity_ok + "Pgr" entity_ok + "Phi" entity_ok + "Pi" entity_ok + "Prime" entity_ok + "Psi" entity_ok + "Racute" entity_ok + "Rarr" entity_ok + "Rcaron" entity_ok + "Rcedil" entity_ok + "Rcy" entity_ok + "Rgr" entity_ok + "Rho" entity_ok + "SHCHcy" entity_ok + "SHcy" entity_ok + "SOFTcy" entity_ok + "Sacute" entity_ok + "Scaron" entity_ok + "Scedil" entity_ok + "Scirc" entity_ok + "Scy" entity_ok + "Sgr" entity_ok + "Sigma" entity_ok + "Sub" entity_ok + "Sup" entity_ok + "THORN" entity_ok + "THgr" entity_ok + "TSHcy" entity_ok + "TScy" entity_ok + "Tau" entity_ok + "Tcaron" entity_ok + "Tcedil" entity_ok + "Tcy" entity_ok + "Tgr" entity_ok + "Theta" entity_ok + "Tstrok" entity_ok + "Uacgr" entity_ok + "Uacute" entity_ok + "Ubrcy" entity_ok + "Ubreve" entity_ok + "Ucirc" entity_ok + "Ucy" entity_ok + "Udblac" entity_ok + "Udigr" entity_ok + "Ugr" entity_ok + "Ugrave" entity_ok + "Umacr" entity_ok + "Uogon" entity_ok + "Upsi" entity_ok + "Upsilon" entity_ok + "Uring" entity_ok + "Utilde" entity_ok + "Uuml" entity_ok + "Vcy" entity_ok + "Vdash" entity_ok + "Verbar" entity_ok + "Vvdash" entity_ok + "Wcirc" entity_ok + "Xgr" entity_ok + "Xi" entity_ok + "YAcy" entity_ok + "YIcy" entity_ok + "YUcy" entity_ok + "Yacute" entity_ok + "Ycirc" entity_ok + "Ycy" entity_ok + "Yuml" entity_ok + "ZHcy" entity_ok + "Zacute" entity_ok + "Zcaron" entity_ok + "Zcy" entity_ok + "Zdot" entity_ok + "Zeta" entity_ok + "Zgr" entity_ok + "aacgr" entity_ok + "aacute" entity_ok + "abreve" entity_ok + "acirc" entity_ok + "acute" entity_ok + "acy" entity_ok + "aelig" entity_ok + "agr" entity_ok + "agrave" entity_ok + "alefsym" entity_ok + "aleph" entity_ok + "alpha" entity_ok + "amacr" entity_ok + "amalg" entity_ok + "amp" entity_ok + "and" entity_ok + "ang" entity_ok + "ang90" entity_ok + "angmsd" entity_ok + "angsph" entity_ok + "angst" entity_ok + "aogon" entity_ok + "ap" entity_ok + "ape" entity_ok + "apos" entity_ok + "aring" entity_ok + "ast" entity_ok + "asymp" entity_ok + "atilde" entity_ok + "auml" entity_ok + "b.Delta" entity_ok + "b.Gamma" entity_ok + "b.Lambda" entity_ok + "b.Omega" entity_ok + "b.Phi" entity_ok + "b.Pi" entity_ok + "b.Psi" entity_ok + "b.Sigma" entity_ok + "b.Theta" entity_ok + "b.Upsi" entity_ok + "b.Xi" entity_ok + "b.alpha" entity_ok + "b.beta" entity_ok + "b.chi" entity_ok + "b.delta" entity_ok + "b.epsi" entity_ok + "b.epsis" entity_ok + "b.epsiv" entity_ok + "b.eta" entity_ok + "b.gamma" entity_ok + "b.gammad" entity_ok + "b.iota" entity_ok + "b.kappa" entity_ok + "b.kappav" entity_ok + "b.lambda" entity_ok + "b.mu" entity_ok + "b.nu" entity_ok + "b.omega" entity_ok + "b.phis" entity_ok + "b.phiv" entity_ok + "b.pi" entity_ok + "b.piv" entity_ok + "b.psi" entity_ok + "b.rho" entity_ok + "b.rhov" entity_ok + "b.sigma" entity_ok + "b.sigmav" entity_ok + "b.tau" entity_ok + "b.thetas" entity_ok + "b.thetav" entity_ok + "b.upsi" entity_ok + "b.xi" entity_ok + "b.zeta" entity_ok + "barwed" entity_ok + "bcong" entity_ok + "bcy" entity_ok + "bdquo" entity_ok + "becaus" entity_ok + "bepsi" entity_ok + "bernou" entity_ok + "beta" entity_ok + "beth" entity_ok + "bgr" entity_ok + "blank" entity_ok + "blk12" entity_ok + "blk14" entity_ok + "blk34" entity_ok + "block" entity_ok + "bottom" entity_ok + "bowtie" entity_ok + "boxDL" entity_ok + "boxDR" entity_ok + "boxDl" entity_ok + "boxDr" entity_ok + "boxH" entity_ok + "boxHD" entity_ok + "boxHU" entity_ok + "boxHd" entity_ok + "boxHu" entity_ok + "boxUL" entity_ok + "boxUR" entity_ok + "boxUl" entity_ok + "boxUr" entity_ok + "boxV" entity_ok + "boxVH" entity_ok + "boxVL" entity_ok + "boxVR" entity_ok + "boxVh" entity_ok + "boxVl" entity_ok + "boxVr" entity_ok + "boxdL" entity_ok + "boxdR" entity_ok + "boxdl" entity_ok + "boxdr" entity_ok + "boxh" entity_ok + "boxhD" entity_ok + "boxhU" entity_ok + "boxhd" entity_ok + "boxhu" entity_ok + "boxuL" entity_ok + "boxuR" entity_ok + "boxul" entity_ok + "boxur" entity_ok + "boxv" entity_ok + "boxvH" entity_ok + "boxvL" entity_ok + "boxvR" entity_ok + "boxvh" entity_ok + "boxvl" entity_ok + "boxvr" entity_ok + "bprime" entity_ok + "breve" entity_ok + "brkbar" entity_ok + "brvbar" entity_ok + "bsim" entity_ok + "bsime" entity_ok + "bsol" entity_ok + "bull" entity_ok + "bump" entity_ok + "bumpe" entity_ok + "cacute" entity_ok + "cap" entity_ok + "caret" entity_ok + "caron" entity_ok + "ccaron" entity_ok + "ccedil" entity_ok + "ccirc" entity_ok + "cdot" entity_ok + "cedil" entity_ok + "cent" entity_ok + "chcy" entity_ok + "check" entity_ok + "chi" entity_ok + "cir" entity_ok + "circ" entity_ok + "cire" entity_ok + "clubs" entity_ok + "colon" entity_ok + "colone" entity_ok + "comma" entity_ok + "commat" entity_ok + "comp" entity_ok + "compfn" entity_ok + "cong" entity_ok + "conint" entity_ok + "coprod" entity_ok + "copy" entity_ok + "copysr" entity_ok + "crarr" entity_ok + "cross" entity_ok + "cuepr" entity_ok + "cuesc" entity_ok + "cularr" entity_ok + "cup" entity_ok + "cupre" entity_ok + "curarr" entity_ok + "curren" entity_ok + "cuvee" entity_ok + "cuwed" entity_ok + "dArr" entity_ok + "dagger" entity_ok + "daleth" entity_ok + "darr" entity_ok + "darr2" entity_ok + "dash" entity_ok + "dashv" entity_ok + "dblac" entity_ok + "dcaron" entity_ok + "dcy" entity_ok + "deg" entity_ok + "delta" entity_ok + "dgr" entity_ok + "dharl" entity_ok + "dharr" entity_ok + "diam" entity_ok + "diams" entity_ok + "die" entity_ok + "divide" entity_ok + "divonx" entity_ok + "djcy" entity_ok + "dlarr" entity_ok + "dlcorn" entity_ok + "dlcrop" entity_ok + "dollar" entity_ok + "dot" entity_ok + "drarr" entity_ok + "drcorn" entity_ok + "drcrop" entity_ok + "dscy" entity_ok + "dstrok" entity_ok + "dtri" entity_ok + "dtrif" entity_ok + "dzcy" entity_ok + "eDot" entity_ok + "eacgr" entity_ok + "eacute" entity_ok + "ecaron" entity_ok + "ecir" entity_ok + "ecirc" entity_ok + "ecolon" entity_ok + "ecy" entity_ok + "edot" entity_ok + "eeacgr" entity_ok + "eegr" entity_ok + "efDot" entity_ok + "egr" entity_ok + "egrave" entity_ok + "egs" entity_ok + "ell" entity_ok + "els" entity_ok + "emacr" entity_ok + "emdash" entity_ok + "empty" entity_ok + "emsp" entity_ok + "emsp13" entity_ok + "emsp14" entity_ok + "endash" entity_ok + "eng" entity_ok + "ensp" entity_ok + "eogon" entity_ok + "epsi" entity_ok + "epsilon" entity_ok + "epsis" entity_ok + "epsiv" entity_ok + "equals" entity_ok + "equiv" entity_ok + "erDot" entity_ok + "esdot" entity_ok + "eta" entity_ok + "eth" entity_ok + "euml" entity_ok + "euro" entity_ok + "excl" entity_ok + "exist" entity_ok + "fcy" entity_ok + "female" entity_ok + "ffilig" entity_ok + "fflig" entity_ok + "ffllig" entity_ok + "filig" entity_ok + "fjlig" entity_ok + "flat" entity_ok + "fllig" entity_ok + "fnof" entity_ok + "forall" entity_ok + "fork" entity_ok + "frac12" entity_ok + "frac13" entity_ok + "frac14" entity_ok + "frac15" entity_ok + "frac16" entity_ok + "frac18" entity_ok + "frac23" entity_ok + "frac25" entity_ok + "frac34" entity_ok + "frac35" entity_ok + "frac38" entity_ok + "frac45" entity_ok + "frac56" entity_ok + "frac58" entity_ok + "frac78" entity_ok + "frasl" entity_ok + "frown" entity_ok + "gE" entity_ok + "gEl" entity_ok + "gacute" entity_ok + "gamma" entity_ok + "gammad" entity_ok + "gap" entity_ok + "gbreve" entity_ok + "gcedil" entity_ok + "gcirc" entity_ok + "gcy" entity_ok + "gdot" entity_ok + "ge" entity_ok + "gel" entity_ok + "ges" entity_ok + "ggr" entity_ok + "gimel" entity_ok + "gjcy" entity_ok + "gl" entity_ok + "gnE" entity_ok + "gnap" entity_ok + "gne" entity_ok + "gnsim" entity_ok + "grave" entity_ok + "gsdot" entity_ok + "gsim" entity_ok + "gt" entity_ok + "gvnE" entity_ok + "hArr" entity_ok + "hairsp" entity_ok + "half" entity_ok + "hamilt" entity_ok + "hardcy" entity_ok + "harr" entity_ok + "harrw" entity_ok + "hcirc" entity_ok + "hearts" entity_ok + "hellip" entity_ok + "hibar" entity_ok + "horbar" entity_ok + "hstrok" entity_ok + "hybull" entity_ok + "hyphen" entity_ok + "iacgr" entity_ok + "iacute" entity_ok + "icirc" entity_ok + "icy" entity_ok + "idiagr" entity_ok + "idigr" entity_ok + "iecy" entity_ok + "iexcl" entity_ok + "iff" entity_ok + "igr" entity_ok + "igrave" entity_ok + "ijlig" entity_ok + "imacr" entity_ok + "image" entity_ok + "incare" entity_ok + "infin" entity_ok + "inodot" entity_ok + "int" entity_ok + "intcal" entity_ok + "iocy" entity_ok + "iogon" entity_ok + "iota" entity_ok + "iquest" entity_ok + "isin" entity_ok + "itilde" entity_ok + "iukcy" entity_ok + "iuml" entity_ok + "jcirc" entity_ok + "jcy" entity_ok + "jnodot" entity_ok + "jsercy" entity_ok + "jukcy" entity_ok + "kappa" entity_ok + "kappav" entity_ok + "kcedil" entity_ok + "kcy" entity_ok + "kgr" entity_ok + "kgreen" entity_ok + "khcy" entity_ok + "khgr" entity_ok + "kjcy" entity_ok + "lAarr" entity_ok + "lArr" entity_ok + "lE" entity_ok + "lEg" entity_ok + "lacute" entity_ok + "lagran" entity_ok + "lambda" entity_ok + "lang" entity_ok + "lap" entity_ok + "laquo" entity_ok + "larr" entity_ok + "larr2" entity_ok + "larrhk" entity_ok + "larrlp" entity_ok + "larrtl" entity_ok + "lcaron" entity_ok + "lcedil" entity_ok + "lceil" entity_ok + "lcub" entity_ok + "lcy" entity_ok + "ldot" entity_ok + "ldquo" entity_ok + "ldquor" entity_ok + "le" entity_ok + "leg" entity_ok + "les" entity_ok + "lfloor" entity_ok + "lg" entity_ok + "lgr" entity_ok + "lhard" entity_ok + "lharu" entity_ok + "lhblk" entity_ok + "ljcy" entity_ok + "lmidot" entity_ok + "lnE" entity_ok + "lnap" entity_ok + "lne" entity_ok + "lnsim" entity_ok + "lowast" entity_ok + "lowbar" entity_ok + "loz" entity_ok + "loz" entity_ok + "lozf" entity_ok + "lpar" entity_ok + "lpargt" entity_ok + "lrarr2" entity_ok + "lrhar2" entity_ok + "lrm" entity_ok + "lsaquo" entity_ok + "lsh" entity_ok + "lsim" entity_ok + "lsqb" entity_ok + "lsquo" entity_ok + "lsquor" entity_ok + "lstrok" entity_ok + "lt" entity_ok + "lthree" entity_ok + "ltimes" entity_ok + "ltri" entity_ok + "ltrie" entity_ok + "ltrif" entity_ok + "lvnE" entity_ok + "macr" entity_ok + "male" entity_ok + "malt" entity_ok + "map" entity_ok + "marker" entity_ok + "mcy" entity_ok + "mdash" entity_ok + "mgr" entity_ok + "micro" entity_ok + "mid" entity_ok + "middot" entity_ok + "minus" entity_ok + "minusb" entity_ok + "mldr" entity_ok + "mnplus" entity_ok + "models" entity_ok + "mu" entity_ok + "mumap" entity_ok + "nVDash" entity_ok + "nVdash" entity_ok + "nabla" entity_ok + "nacute" entity_ok + "nap" entity_ok + "napos" entity_ok + "natur" entity_ok + "nbsp" entity_ok + "ncaron" entity_ok + "ncedil" entity_ok + "ncong" entity_ok + "ncy" entity_ok + "ndash" entity_ok + "ne" entity_ok + "nearr" entity_ok + "nequiv" entity_ok + "nexist" entity_ok + "ngE" entity_ok + "nge" entity_ok + "nges" entity_ok + "ngr" entity_ok + "ngt" entity_ok + "nhArr" entity_ok + "nharr" entity_ok + "ni" entity_ok + "njcy" entity_ok + "nlArr" entity_ok + "nlE" entity_ok + "nlarr" entity_ok + "nldr" entity_ok + "nle" entity_ok + "nles" entity_ok + "nlt" entity_ok + "nltri" entity_ok + "nltrie" entity_ok + "nmid" entity_ok + "not" entity_ok + "notin" entity_ok + "npar" entity_ok + "npr" entity_ok + "npre" entity_ok + "nrArr" entity_ok + "nrarr" entity_ok + "nrtri" entity_ok + "nrtrie" entity_ok + "nsc" entity_ok + "nsce" entity_ok + "nsim" entity_ok + "nsime" entity_ok + "nsmid" entity_ok + "nspar" entity_ok + "nsub" entity_ok + "nsubE" entity_ok + "nsube" entity_ok + "nsup" entity_ok + "nsupE" entity_ok + "nsupe" entity_ok + "ntilde" entity_ok + "nu" entity_ok + "num" entity_ok + "numero" entity_ok + "numsp" entity_ok + "nvDash" entity_ok + "nvdash" entity_ok + "nwarr" entity_ok + "oS" entity_ok + "oacgr" entity_ok + "oacute" entity_ok + "oast" entity_ok + "ocir" entity_ok + "ocirc" entity_ok + "ocy" entity_ok + "odash" entity_ok + "odblac" entity_ok + "odot" entity_ok + "oelig" entity_ok + "ogon" entity_ok + "ogr" entity_ok + "ograve" entity_ok + "ohacgr" entity_ok + "ohgr" entity_ok + "ohm" entity_ok + "olarr" entity_ok + "oline" entity_ok + "omacr" entity_ok + "omega" entity_ok + "omicron" entity_ok + "ominus" entity_ok + "oplus" entity_ok + "or" entity_ok + "orarr" entity_ok + "order" entity_ok + "ordf" entity_ok + "ordm" entity_ok + "oslash" entity_ok + "osol" entity_ok + "otilde" entity_ok + "otimes" entity_ok + "ouml" entity_ok + "par" entity_ok + "para" entity_ok + "part" entity_ok + "pcy" entity_ok + "percnt" entity_ok + "period" entity_ok + "permil" entity_ok + "perp" entity_ok + "pgr" entity_ok + "phgr" entity_ok + "phi" entity_ok + "phis" entity_ok + "phiv" entity_ok + "phmmat" entity_ok + "phone" entity_ok + "pi" entity_ok + "piv" entity_ok + "planck" entity_ok + "plus" entity_ok + "plusb" entity_ok + "plusdo" entity_ok + "plusmn" entity_ok + "pound" entity_ok + "pr" entity_ok + "prap" entity_ok + "pre" entity_ok + "prime" entity_ok + "prnE" entity_ok + "prnap" entity_ok + "prnsim" entity_ok + "prod" entity_ok + "prop" entity_ok + "prsim" entity_ok + "psgr" entity_ok + "psi" entity_ok + "puncsp" entity_ok + "quest" entity_ok + "quot" entity_ok + "rAarr" entity_ok + "rArr" entity_ok + "racute" entity_ok + "radic" entity_ok + "rang" entity_ok + "raquo" entity_ok + "rarr" entity_ok + "rarr2" entity_ok + "rarrhk" entity_ok + "rarrlp" entity_ok + "rarrtl" entity_ok + "rarrw" entity_ok + "rcaron" entity_ok + "rcedil" entity_ok + "rceil" entity_ok + "rcub" entity_ok + "rcy" entity_ok + "rdquo" entity_ok + "rdquor" entity_ok + "real" entity_ok + "rect" entity_ok + "reg" entity_ok + "rfloor" entity_ok + "rgr" entity_ok + "rhard" entity_ok + "rharu" entity_ok + "rho" entity_ok + "rhov" entity_ok + "ring" entity_ok + "rlarr2" entity_ok + "rlhar2" entity_ok + "rlm" entity_ok + "rpar" entity_ok + "rpargt" entity_ok + "rsaquo" entity_ok + "rsh" entity_ok + "rsqb" entity_ok + "rsquo" entity_ok + "rsquor" entity_ok + "rthree" entity_ok + "rtimes" entity_ok + "rtri" entity_ok + "rtrie" entity_ok + "rtrif" entity_ok + "rx" entity_ok + "sacute" entity_ok + "samalg" entity_ok + "sbquo" entity_ok + "sbsol" entity_ok + "sc" entity_ok + "scap" entity_ok + "scaron" entity_ok + "sccue" entity_ok + "sce" entity_ok + "scedil" entity_ok + "scirc" entity_ok + "scnE" entity_ok + "scnap" entity_ok + "scnsim" entity_ok + "scsim" entity_ok + "scy" entity_ok + "sdot" entity_ok + "sdotb" entity_ok + "sect" entity_ok + "semi" entity_ok + "setmn" entity_ok + "sext" entity_ok + "sfgr" entity_ok + "sfrown" entity_ok + "sgr" entity_ok + "sharp" entity_ok + "shchcy" entity_ok + "shcy" entity_ok + "shy" entity_ok + "sigma" entity_ok + "sigmaf" entity_ok + "sigmav" entity_ok + "sim" entity_ok + "sime" entity_ok + "smid" entity_ok + "smile" entity_ok + "softcy" entity_ok + "sol" entity_ok + "spades" entity_ok + "spar" entity_ok + "sqcap" entity_ok + "sqcup" entity_ok + "sqsub" entity_ok + "sqsube" entity_ok + "sqsup" entity_ok + "sqsupe" entity_ok + "squ" entity_ok + "square" entity_ok + "squf" entity_ok + "ssetmn" entity_ok + "ssmile" entity_ok + "sstarf" entity_ok + "star" entity_ok + "starf" entity_ok + "sub" entity_ok + "subE" entity_ok + "sube" entity_ok + "subnE" entity_ok + "subne" entity_ok + "sum" entity_ok + "sung" entity_ok + "sup" entity_ok + "sup1" entity_ok + "sup2" entity_ok + "sup3" entity_ok + "supE" entity_ok + "supe" entity_ok + "supnE" entity_ok + "supne" entity_ok + "szlig" entity_ok + "target" entity_ok + "tau" entity_ok + "tcaron" entity_ok + "tcedil" entity_ok + "tcy" entity_ok + "tdot" entity_ok + "telrec" entity_ok + "tgr" entity_ok + "there4" entity_ok + "theta" entity_ok + "thetas" entity_ok + "thetasym" entity_ok + "thetav" entity_ok + "thgr" entity_ok + "thinsp" entity_ok + "thkap" entity_ok + "thksim" entity_ok + "thorn" entity_ok + "tilde" entity_ok + "times" entity_ok + "timesb" entity_ok + "top" entity_ok + "tprime" entity_ok + "trade" entity_ok + "trie" entity_ok + "tscy" entity_ok + "tshcy" entity_ok + "tstrok" entity_ok + "twixt" entity_ok + "uArr" entity_ok + "uacgr" entity_ok + "uacute" entity_ok + "uarr" entity_ok + "uarr2" entity_ok + "ubrcy" entity_ok + "ubreve" entity_ok + "ucirc" entity_ok + "ucy" entity_ok + "udblac" entity_ok + "udiagr" entity_ok + "udigr" entity_ok + "ugr" entity_ok + "ugrave" entity_ok + "uharl" entity_ok + "uharr" entity_ok + "uhblk" entity_ok + "ulcorn" entity_ok + "ulcrop" entity_ok + "umacr" entity_ok + "uml" entity_ok + "uogon" entity_ok + "uplus" entity_ok + "upsi" entity_ok + "upsih" entity_ok + "upsilon" entity_ok + "urcorn" entity_ok + "urcrop" entity_ok + "uring" entity_ok + "utilde" entity_ok + "utri" entity_ok + "utrif" entity_ok + "uuml" entity_ok + "vArr" entity_ok + "vDash" entity_ok + "varr" entity_ok + "vcy" entity_ok + "vdash" entity_ok + "veebar" entity_ok + "vellip" entity_ok + "verbar" entity_ok + "vltri" entity_ok + "vprime" entity_ok + "vprop" entity_ok + "vrtri" entity_ok + "vsubnE" entity_ok + "vsubne" entity_ok + "vsupnE" entity_ok + "vsupne" entity_ok + "wcirc" entity_ok + "wedgeq" entity_ok + "weierp" entity_ok + "wreath" entity_ok + "xcirc" entity_ok + "xdtri" entity_ok + "xgr" entity_ok + "xhArr" entity_ok + "xharr" entity_ok + "xi" entity_ok + "xlArr" entity_ok + "xrArr" entity_ok + "xutri" entity_ok + "yacute" entity_ok + "yacy" entity_ok + "ycirc" entity_ok + "ycy" entity_ok + "yen" entity_ok + "yicy" entity_ok + "yucy" entity_ok + "yuml" entity_ok + "zacute" entity_ok + "zcaron" entity_ok + "zcy" entity_ok + "zdot" entity_ok + "zeta" entity_ok + "zgr" entity_ok + "zhcy" entity_ok + "zwj" entity_ok + "zwnj" entity_ok +done + ".0-9A-Za-z" entity_name + +:entity_ok Entity + * mistake_entity noeat recolor=-1 + ";" entity_end noeat recolor=-1 + +:mistake_entity Mystery + * idle noeat + +.end diff --git a/dotfiles/joe/syntax/htmlerb.jsf b/dotfiles/joe/syntax/htmlerb.jsf new file mode 100644 index 0000000..13b3dd3 --- /dev/null +++ b/dotfiles/joe/syntax/htmlerb.jsf @@ -0,0 +1,11 @@ +# JOE syntax highlight file for HTML embedded ERB + +=Idle +=Keyword bold +=Bad bold red +=Brace magenta + +=ERB yellow + +:begin Idle + * NULL noeat call=html.html(erb) diff --git a/dotfiles/joe/syntax/ini.jsf b/dotfiles/joe/syntax/ini.jsf new file mode 100644 index 0000000..aa67c30 --- /dev/null +++ b/dotfiles/joe/syntax/ini.jsf @@ -0,0 +1,104 @@ +# JOE syntax highlight file for INI files +# License: GPL v2 or any later version +# by Christian Nicolai (http://mycrobase.de) +# contributions by Todd Lewis (https://github.com/utoddl) + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Bad bold red + +=Key +=Separator bold +=Section bold magenta +=SectionBracket bold magenta + +:line_start Idle + * key noeat mark + "\n" line_start + " \t\r" line_start # leading spaces + ";#" line_comment recolor=-1 + "[" section_start noeat + "=" missing_key recolor=-1 + +:line_comment Comment + * line_comment + "\n" line_start + +:section_start SectionBracket + * section mark noeat + "[" section_start + +:section Section + * section + "]" section_end noeat + "\n" unexpected_end noeat recolormark + +:section_end SectionBracket + * unexpected_end noeat + "]" section_end mark + "\n" line_start + +:unexpected_end Bad + * unexpected_end + "\n" line_start + +:missing_key Bad + * value_pre noeat + +:key Key + * key + "=:" sep noeat mark + "\n" unexpected_end noeat recolormark + +:sep Separator + * value_pre noeat + "=:" value_pre + +:value_pre Idle + * value noeat mark + " \t\r" value_pre + "\n" unexpected_end noeat recolormark + +:value Constant + * value + "\\" value_esc mark + "\n" line_start + " " value_maybe_comment recolor=-1 + +:value_maybe_comment Idle + * value noeat + ";#" line_comment recolor=-1 + +:value_esc Escape + * value_esc_bad noeat recolormark + "0abtrn;#=:\\" value_esc_end recolormark + "x" value_esc_unicode1 + "\n" value mark + +:value_esc_bad Bad + * value noeat mark + +:value_esc_end Escape + * value noeat mark + +:value_esc_unicode1 Escape + * value_esc_bad noeat recolormark + "0-9a-fA-F" value_esc_unicode2 + "\n" unexpected_end noeat recolormark + +:value_esc_unicode2 Escape + * value_esc_bad noeat recolormark + "0-9a-fA-F" value_esc_unicode3 + "\n" unexpected_end noeat recolormark + +:value_esc_unicode3 Escape + * value_esc_bad noeat recolormark + "0-9a-fA-F" value_esc_unicode4 + "\n" unexpected_end noeat recolormark + +:value_esc_unicode4 Escape + * value_esc_bad noeat recolormark + "0-9a-fA-F" value_esc_end recolormark + "\n" unexpected_end noeat recolormark diff --git a/dotfiles/joe/syntax/iptables.jsf b/dotfiles/joe/syntax/iptables.jsf new file mode 100644 index 0000000..cc30734 --- /dev/null +++ b/dotfiles/joe/syntax/iptables.jsf @@ -0,0 +1,128 @@ +# JOE syntax highlight file for ip(6)tables-save and -restore + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Bad bold red + +=Table bold +=Policy bold blue +=Option fg_310 # brown +=Module yellow + +:line_start Idle + * rest noeat + "#" line_comment recolor=-1 + "*" maybe_table buffer + ":" default_policy recolor=-1 + "C" maybe_commit buffer + "-" command + +:rest Idle + * rest + "\n" line_start + +:line_comment Comment + * line_comment + "\n" line_start + +:maybe_table Idle + * bad noeat strings + "*filter" table_name + "*mangle" table_name + "*nat" table_name + "*raw" table_name +done + "a-z" maybe_table + +:table_name Table + * bad noeat + "\n" line_start + +:default_policy Policy + * default_policy + "\n" line_start + +:maybe_commit Idle + * bad noeat strings + "COMMIT" commit +done + "A-Z" maybe_commit + +:commit Table + * bad noeat + "\n" line_start + +:command Idle + * bad noeat + "ADINX" chain_name_pre + +:chain_name_pre Idle + * chain_name noeat + " " chain_name_pre + +:chain_name Option + * chain_name + " " rule_spec noeat + "\n" line_start + +:rule_spec Idle + * rule_option noeat + " " rule_spec + "\n" line_start + +:rule_option Idle + * rule_option + " " rule_spec noeat + "\n" line_start + "-" rule_flag + +:rule_flag Idle + * rule_option + "-" rule_flag_flag + "iojp" rule_iojp_pre + "sd" rule_sd_pre + "m" rule_m_pre + +:rule_flag_flag Idle + * rule_flag_flag1 buffer + +:rule_flag_flag1 Idle + * rule_option noeat strings + "sport" rule_sd_pre + "dport" rule_sd_pre +done + "a-z-_" rule_flag_flag1 + + +:rule_iojp_pre Idle + * rule_iojp noeat + " " rule_iojp_pre + +:rule_iojp Option + * rule_iojp + " " rule_option noeat + "\n" line_start + +:rule_sd_pre Idle + * rule_sd noeat + " " rule_sd_pre + +:rule_sd Constant + * rule_sd + " " rule_option noeat + "\n" line_start + +:rule_m_pre Idle + * rule_m noeat + " " rule_m_pre + +:rule_m Module + * rule_m + " " rule_option noeat + "\n" line_start + +:bad Bad + * bad + "\n" line_start diff --git a/dotfiles/joe/syntax/java.jsf b/dotfiles/joe/syntax/java.jsf new file mode 100644 index 0000000..7b49ecd --- /dev/null +++ b/dotfiles/joe/syntax/java.jsf @@ -0,0 +1,284 @@ +# JOE syntax highlight file for JAVA + +# Needs: \uXXXX for unicode in strings +# improve escape parsing + +=Idle +=Comment green +=CommentLabel bold green +=Constant cyan +=Escape bold cyan +=Type bold +=Keyword bold +=Operator bold +=Bad bold red +=Brace magenta +=Control + +=Methods + +:begin Idle + * begin noeat call=.java() + +# +# Java as a subroute- for use as java script in html +# + +.subr java + +:idle Idle + * idle + "\n" idle + "/" slash + "0" first_digit recolor=-1 + "1-9" decimal recolor=-1 + "." maybe_float + "\"" string recolor=-1 + "'" char recolor=-1 + "a-zA-Z_" ident mark buffer + "{}" brace recolor=-1 + ",:;=()><[]*&|!~+\-%^" control recolor=-1 + +:maybe_done Control + * idle noeat + "/" idle noeat return recolor=-2 + +:brace Brace + * idle noeat + +:control Control + * idle noeat + +:slash Idle + * idle noeat + "*" comment recolor=-2 + "/" line_comment recolor=-2 + +:comment Comment + * comment + # might be TODO label + "BFHNTX" comment noeat call=.comment_todo() + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment noeat + "/" idle + "*" maybe_end_comment + +:line_comment Comment + * line_comment + # might be TODO label + "BFHNTX" line_comment noeat call=.comment_todo() + "\n" idle + +:first_digit Constant + * idle noeat + "xX" hex + "." float + "eE" epart + "0-7" octal + "89" bad_number recolor=-1 + +:bad_number Bad + * idle noeat + "0-9" bad_number + +:octal Constant + * idle noeat + "0-7" octal + "89" bad_number recolor=-1 + +:hex Constant + * idle noeat + "0-9A-Fa-f" hex + +:decimal Constant + * idle noeat + "0-9" decimal + "eE" epart + "." float + +:maybe_float Constant + * idle recolor=-2 noeat + "0-9" float recolor=-2 + +:float Constant + * idle noeat + "eE" epart + "0-9" float + +:epart Constant + * idle noeat + "0-9+\-" enum + +:enum Constant + * idle noeat + "0-9" enum + +:string Constant + * string + "\"" idle + "\\" string_escape recolor=-1 + "%" string_control recolor=-1 + +:string_escape Escape + * string + "x" string_hex1 + "0-7" string_octal2 + "\n" string recolor=-2 + +:string_hex1 Escape + * string noeat + "0-9a-fA-F" string_hex2 + +:string_hex2 Escape + * string noeat + "0-9a-fA-F" string + +:string_octal2 Escape + * string noeat + "0-7" string_octal3 + +:string_octal3 Escape + * string noeat + "0-7" string + +:string_control Escape + * string_control + "\n" reset + "diouxXeEfFgGaAcspn%SC" string + +:char Constant + * char + "\n" reset + "'" idle + "\\" char_escape recolor=-1 + +:char_escape Escape + * char + "x" char_hex1 + "0-7" char_octal2 + "\n" char recolor=-2 + +:char_hex1 Escape + * char noeat + "0-9a-fA-F" char_hex2 + +:char_hex2 Escape + * char noeat + "0-9a-fA-F" char + +:char_octal2 Escape + * char noeat + "0-7" char_octal3 + +:char_octal3 Escape + * char noeat + "0-7" char + +:ident Idle + * ident_end noeat markend strings + "abstract" kw + "assert" kw + "boolean" type + "break" kw + "byte" type + "case" kw + "catch" kw + "char" type + "class" kw + "const" bad_kw + "continue" kw + "default" kw + "do" kw + "double" type + "else" kw + "enum" kw + "extends" kw + "false" lit + "final" kw + "finally" kw + "float" type + "for" kw + "goto" bad_kw + "if" kw + "implements" kw + "import" kw + "instanceof" operator + "int" type + "interface" kw + "long" type + "native" kw + "new" operator + "null" lit + "package" kw + "private" kw + "protected" kw + "public" kw + "return" kw + "short" type + "static" kw + "strictfp" kw + "super" kw + "switch" kw + "synchronized" kw + "this" kw + "throw" kw + "throws" kw + "transient" kw + "true" lit + "try" kw + "void" kw + "volatile" kw + "while" kw +done + "a-zA-Z0-9_" ident + +:type Type + * idle noeat + +:kw Keyword + * idle noeat + +:bad_kw Bad + * idle noeat + +:lit Constant + * idle noeat + +:operator Operator + * idle noeat + +:ident_end Idle + * idle noeat + " " ident_end + "(" method_end noeat recolormark + +:method_end Methods + * idle noeat + +.end + +.subr comment_todo +# initial state +:comment_todo_init Comment + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Comment + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Comment + * NULL noeat return + +:comment_todo CommentLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/js.jsf b/dotfiles/joe/syntax/js.jsf new file mode 100644 index 0000000..6fb493d --- /dev/null +++ b/dotfiles/joe/syntax/js.jsf @@ -0,0 +1,548 @@ +# JOE syntax highlight file for JavaScript + +# Define colors + +=Idle +=Comment green +=CommentLabel bold green +=Constant cyan +=String cyan +=StringEscape bold cyan +=Regexp cyan +=RegexpEscape bold cyan +=RegexpOptions cyan +=Number cyan +=Type bold +=CustomType +=Keyword bold +=Global bold +=Exports +=ExportItem +=Operator bold +=Bad inverse bold red +=Brace magenta +=Assign bold +=Paren +=Bracket +=Semicolon +=Comma +=PropSep +=Syntax +=Ident +=Method + +# from html.jsf to support embedded languages +=TagEdge green + +:begin Idle + * begin noeat call=.js() + "#" shebang recolor=-1 + +:shebang Comment + * shebang + "\n" begin + +.subr js + +:idle Idle + * idle + "/" re_or_comment recolor=-1 + "0" first_digit recolor=-1 + "1-9" decimal recolor=-1 + "." maybe_float + "\"" string recolor=-1 save_c + "'" string recolor=-1 save_c + "A-Z" type_match mark buffer recolor=-1 + "$a-z_" ident mark buffer recolor=-1 + "{}" brace recolor=-1 + "()" paren noeat recolor=-1 + ";" semicolon recolor=-1 + "," comma recolor=-1 + "=" assign_maybe recolor=-1 + "[]" bracket noeat recolor=-1 + "\-" subtract recolor=-1 + "+" add recolor=-1 + "*|&^%" mutate_maybe recolor=-1 + ":?~" syntax recolor=-1 +.ifdef html + "<" maybe_done recolor=-1 + ">!" eqmixer_maybe recolor=-1 +.else +.ifdef php + "<" maybe_done recolor=-1 + ">!" eqmixer_maybe recolor=-1 +.else +.ifdef mason + "<" maybe_done recolor=-1 + ">!" eqmixer_maybe recolor=-1 +.else + "<>!" eqmixer_maybe recolor=-1 +.endif +.endif +.endif + +:subtract Assign + * mutate_maybe noeat + "\-" assign recolor=-2 + +:add Assign + * mutate_maybe noeat + "+" assign recolor=-2 + +:mutate_maybe Assign + * syntax recolor=-2 noeat + "=" assign recolor=-2 + +:syntax Syntax + * idle recolor=-1 noeat + +:assign Assign + * idle recolor=-1 noeat + +:eqmixer_maybe Syntax + * idle recolor=-1 noeat + "=" eqmixer_maybe + +:assign_maybe Assign + * idle recolor=-1 noeat + "=" equality recolor=-2 + +:equality Syntax + * idle recolor=-1 noeat + "=" syntax + +:maybe_done TagEdge + * eqmixer_maybe noeat + "/" idle noeat return recolor=-2 +.ifdef php + "?" rtn_embed call=php.php() +.endif +.ifdef mason + "&%" rtn_embed call=perl.perl() +.endif + +:rtn_embed TagEdge + * idle noeat + +:no_regex Idle + * idle noeat + "/" maybe_comment recolor=-1 + " " no_regex + +:after_term Idle + * after_term + "\n" idle + "/" maybe_comment recolor=-1 + "." prop_sep recolor=-1 + "a-z" infix_operator buffer recolor=-1 + "\"'A-Z_0-9" bad_after_term recolor=-1 + "{}" brace recolor=-1 + "()" paren noeat recolor=-1 + ";" semicolon recolor=-1 + "=" assign_maybe recolor=-1 + "," comma recolor=-1 + "[]" bracket noeat recolor=-1 + "\-" subtract recolor=-1 + "+" add recolor=-1 + "*|&^%" mutate_maybe recolor=-1 + ":?~" syntax recolor=-1 +.ifdef html + "<" maybe_done recolor=-1 + ">!" eqmixer_maybe recolor=-1 +.else +.ifdef php + "<" maybe_done recolor=-1 + ">!" eqmixer_maybe recolor=-1 +.else +.ifdef mason + "<" maybe_done recolor=-1 + ">!" eqmixer_maybe recolor=-1 +.else + "<>!" eqmixer_maybe recolor=-1 +.endif +.endif +.endif + +:ident_only Idle + * bad_after_term recolor=-1 + "A-Z" type_match mark buffer recolor=-1 + "$a-z_" ident mark buffer recolor=-1 + " \t" ident_only + "\n" idle + +:bad_after_term Bad + * after_term noeat markend strings +done + "\"'" after_term + "a-zA-Z0-9_." bad_after_term + +:re_or_comment Syntax + * regex noeat recolor=-2 + "*/" maybe_comment noeat + +:maybe_comment Syntax + * syntax noeat + "*" comment recolor=-2 + "/" line_comment recolor=-2 + "=" assign recolor=-2 + +:comment Comment + * comment + # might be TODO label + "BFHNTX" comment noeat call=.comment_todo() + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment noeat + "/" idle + "*" maybe_end_comment + +:line_comment Comment + * line_comment + # might be TODO label + "BFHNTX" line_comment noeat call=.comment_todo() + "\n" idle + +:regex Regexp + * regex + "\\" regex_quote recolor=-1 + "[" regex_charclass + "/" regex_mod + "\n" regex_bad + +:regex_quote RegexpEscape + * regex + "\n" regex_bad + +:regex_charclass Regexp + * regex_charclass + "\\" regex_cc_quote recolor=-1 + "\n" regex_bad_cc + "]" regex + +:regex_cc_quote RegexpEscape + * regex_charclass + "\n" regex_bad_cc + +:regex_bad Bad + * regex_bad + "\\" regex_bad_quote + "[" regex_bad_cc + "/" after_term + +:regex_bad_quote Bad + * regex_bad + +:regex_bad_cc Bad + * regex_bad_cc + "\\" regex_bad_quote_cc + "]" regex_bad + +:regex_bad_quote_cc Bad + * regex_bad_cc + +:regex_mod RegexpOptions + * after_term noeat + "igm" regex_mod + +:brace Brace + * idle noeat + +:paren Paren + "(" idle + ")" no_regex + +:bracket Bracket + "[" idle + "]" after_term + +:syntax Syntax + * idle noeat + +:comma Comma + * idle noeat + +:semicolon Semicolon + * idle noeat + +:first_digit Number + * after_term noeat + "xX" hex + "." float + "eE" epart + "0-7" octal + "89" bad_number recolor=-1 + +:bad_number Bad + * after_term noeat + "0-9" bad_number + +:octal Number + * after_term noeat + "0-7" octal + "89" bad_number recolor=-1 + +:hex Number + * after_term noeat + "0-9A-Fa-f" hex + +:decimal Number + * after_term noeat + "0-9" decimal + "eE" epart + "." float + +:maybe_float Number + * prop_sep noeat recolor=-2 + "0-9" float recolor=-2 + +:prop_sep PropSep + * ident_only noeat + +:float Number + * after_term noeat + "eE" epart + "0-9" float + +:epart Number + * after_term noeat + "0-9+\-" enum + +:enum Number + * after_term noeat + "0-9" enum + +:string String + * string_body noeat mark + +:string_body String + * string + "\n" string_bad + & after_term + "\\" string_escape recolor=-1 + +:string_bad Bad + * string_bad + "\\" string_bad_escape + & after_term + +:string_bad_escape Bad + * string_bad + +:string_escape StringEscape + * string + "x" string_hex1 + "0-7" string_octal2 + "\n" string_bad noeat + +:string_hex1 StringEscape + * string noeat + "0-9a-fA-F" string_hex2 + +:string_hex2 StringEscape + * string noeat + "0-9a-fA-F" string + +:string_octal2 StringEscape + * string noeat + "0-7" string_octal3 + +:string_octal3 StringEscape + * string noeat + "0-7" string + +:infix_operator Bad + * bad_op noeat markend strings + "in" operator + "instanceof" operator +done + "a-zA-Z0-9_" infix_operator + +:bad_op Bad + * idle noeat + "a-zA-Z0-9_" bad_op + +:operator Operator + * idle noeat + +:type_match CustomType + * type_end noeat markend strings + "Infinity" lit + "NaN" lit + "Array" type + "ArrayBuffer" type + "Boolean" type + "DataView" type + "Date" type + "Error" type + "EvalError" type + "Function" type + "Float32Array" type + "Float64Array" type + "Int16Array" type + "Int32Array" type + "Int8Array" type + "JSON" type + "Math" type + "Number" type + "Object" type + "RangeError" type + "ReferenceError" type + "RegExp" type + "String" type + "SyntaxError" type + "TypeError" type + "Uint16Array" type + "Uint32Array" type + "Uint8Array" type + "Uint8ClampedArray" type + "URIError" type + # node.js + "Buffer" type +done + "a-zA-Z0-9_" type_match + +:type_end Idle + * after_term noeat + " " type_end + "." prop_sep recolor=-1 + +:ident Ident + * ident_end noeat markend strings + "delete" operator + "in" operator + "instanceof" operator + "typeof" operator + "new" operator + "arguments" kw + "break" kw + "case" kw + "catch" kw + "continue" kw + "default" kw + "do" kw + "else" kw + "finally" kw + "for" kw + "function" kw + "if" kw + "let" kw + "return" kw + "switch" kw + "throw" kw + "try" kw + "var" kw + "void" kw + "while" kw + "with" kw + "false" lit + "null" lit + "true" lit + "const" global + "decodeURI" global + "decodeURIComponent" global + "encodeURI" global + "encodeURIComponent" global + "escape" global + "eval" global + "isFinite" global + "isNaN" global + "parseFloat" global + "parseInt" global + "undefined" global + "unescape" global + "setImmediate" global + "this" quasikw + "prototype" quasikw + # node.js + "exports" export + "module" global + "process" global + "global" global + "console" global + "setTimeout" global + "setInterval" global + "clearInterval" global + "clearTimeout" global + "require" quasikw + "__filename" quasikw + "__dirname" quasikw + # By convention... + "self" quasikw +done + "$a-zA-Z0-9_" ident + +:ident_end Idle + * after_term noeat + " " ident_end + "." prop_sep recolor=-1 + "(" method_start recolor=-1 + +:method_start Paren + * method_end noeat recolormark + +:method_end Method + * idle noeat + +:type Type + * after_term noeat + +:kw Keyword + * idle noeat + +:quasikw Keyword + * after_term noeat + +:global Global + * after_term noeat + +:export Exports + * export_end noeat + +:export_end Exports + * after_term noeat + " " export_end + "." export_item_start + +:export_item_start ExportItem + * bad_after_term recolor=-1 noeat + " " export_item_start + "a-zA-Z_" export_item + +:export_item ExportItem + * after_term noeat + "a-zA-Z0-9_" export_item + +:lit Constant + * lit_end noeat + +:lit_end Constant + * after_term noeat + " " lit_end + "." prop_sep recolor=-1 + +.end + +.subr comment_todo +# initial state +:todo_init Comment + * todo_guess buffer + +# highlight common TODO labels +:todo_guess Comment + * todo_unknown noeat strings + "BUG" todo + "FIXME" todo + "HACK" todo + "NOTE" todo + "TODO" todo + "XXX" todo +done + "A-Z" todo_guess + +:todo_unknown Comment + * NULL noeat return + +:todo CommentLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/json.jsf b/dotfiles/joe/syntax/json.jsf new file mode 100644 index 0000000..d104dd2 --- /dev/null +++ b/dotfiles/joe/syntax/json.jsf @@ -0,0 +1,261 @@ +# JSON highlighter per json.org + +# Written by Rebecca Turner (@ReBecaOrg) + +# Define colors + +=Idle +=Comma +=PairSep +=Bracket magenta +=Brace magenta +=Number cyan +=String cyan +=StringEscape cyan bold +=Boolean cyan +=Null cyan + +=Bad red bold inverse # Syntax errors detected by the highlighter + +=ERROR bold yellow bg_red # Errors in the highlighter itself + +:json Idle + * end noeat call=.value() + " \t\n" json + +:end Idle + * endBAD noeat + " \t\n" end + +:endBAD Bad + * end + +.subr value + +:value Idle + * valueBAD noeat + "\"" end noeat call=.string() + "-0-9" end noeat call=.number() + "tfn" end noeat call=.bareword() + "{" end noeat call=.object() + "[" end noeat call=.array() + +:valueBAD Bad + * value + +:end Idle + * NULL noeat return + +.end + +.subr object + +:object Brace + * objectBAD noeat + "{" maybeempty + +:objectBAD ERROR + * end + +:maybeempty Brace + * key noeat + " \t\n" maybeempty + "}" end recolor=-1 + +:key Idle + * keyBAD noeat + "\"" pairsep noeat call=.string() + " \t\n" key + +:keyBAD Bad + * key + +:pairsep PairSep + * pairsepBAD noeat + ":" value + " \t\n" pairsep + +:pairsepBAD Bad + * pairsep + +:value Idle + * nextpair noeat call=.value() + " \t\n" value + +:nextpair Comma + * nextpairBAD noeat + "}" end recolor=-1 + "," key + " \t\n" nextpair + +:nextpairBAD Bad + * nextpair + +:end Brace + * NULL noeat return +.end + +.subr array + +:array Bracket + * arrayBAD noeat + "[" maybeempty + +:arrayBAD ERROR + * end + +:maybeempty Bracket + * value noeat + " \t\n" maybeempty + "]" end recolor=-1 + +:value Idle + * nextvalue noeat call=.value() + " \t\n" value + +:nextvalue Comma + * nextvalueBAD noeat + "]" end recolor=-1 + "," value + " \t\n" nextvalue + +:nextvalueBAD Bad + * nextvalue + +:end Bracket + * NULL noeat return + +.end + +.subr string + +:string String + * stringBAD noeat + "\"" body + +:stringBAD ERROR + * end + +:body String + * body + "\"" end + "\\" escape recolor=-1 + +:escape StringEscape + * escapeBAD recolor=-2 noeat + "\"/bfnrt\\" body + "u" unicode1 + +:escapeBAD Bad + * body + +:unicode1 StringEscape + * unicodeBAD recolor=-3 noeat + "0-9a-fA-F" unicode2 + +:unicode2 StringEscape + * unicodeBAD recolor=-4 noeat + "0-9a-fA-F" unicode3 + +:unicode3 StringEscape + * unicodeBAD recolor=-5 noeat + "0-9a-fA-F" unicode4 + +:unicode4 StringEscape + * unicodeBAD recolor=-6 noeat + "0-9a-fA-F" body + +:unicodeBAD Bad + * body + +:end Idle + * NULL noeat return + +.end + +.subr bareword + +:bareword Idle + * body noeat mark buffer + +:body Bad + * end noeat markend strings + "true" boolean + "false" boolean + "null" null + +done + "truefalsn" body + +:boolean Boolean + * end noeat + +:null Null + * end noeat + +:end Idle + * NULL noeat return + +.end + +.subr number + +:number Number + * numberBAD + "0-9" numberA noeat + "-" numberA + +:numberBAD ERROR + * end + +:numberA Number + "0" decimalpoint + "1-9" integer + +:integer Number + * end noeat + "0-9" integer + "." decimalpart + "eE" exponentpart + +:decimalpoint Number + * end noeat + "0-9" decimalpointBAD + "eE" exponentpart + "." decimalpart + +:decimalpointBAD Bad + * end + +:decimalpart Number + * decimalpartBAD + "0-9" decimalpartA + +:decimalpartBAD Bad + * end + +:decimalpartA Number + * end noeat + "0-9" decimalpartA + "eE" exponentpart + +:exponentpart Number + * exponentpartBAD + "-+" exponentpartA + "0-9" exponentpartB + +:exponentpartBAD Bad + * end + +:exponentpartA Number + * exponentpartBAD + "0-9" exponentpartB + +:exponentpartB Number + * end noeat + "0-9" exponentpartB + +:end Idle + * NULL noeat return + +.end diff --git a/dotfiles/joe/syntax/lsl.jsf b/dotfiles/joe/syntax/lsl.jsf new file mode 100644 index 0000000..7f01605 --- /dev/null +++ b/dotfiles/joe/syntax/lsl.jsf @@ -0,0 +1,884 @@ +# Linden Scripting Language (LSL) highlighter for JOE +# by Zai Lynch - https://wiki.secondlife.com/wiki/User:Zai_Lynch +# is a modification of the PASCAL highlighter by Michael Van Canneyt +# Last update: March 26th 2009 +# Since JOE is released under GPL 1, this file is also released as GPL 1 + + +=Idle +=Comment green +=Constant cyan +=Type bold +=Keyword bold # for, if, then, else... +=Operator bold blue # events +=Function bold + +# cyan, green, magenta, red, blue +# bold + +:idle Idle + * idle + "a-zA-Z" ident buffer + "/" maybe_linecomment + "\"" string recolor=-1 + "0-9" number recolor=-1 + +# Comments + +:maybe_comment Idle + * idle noeat + "*" comment recolor=-2 + +:maybe_linecomment Idle + * idle noeat + "/" line_comment recolor=-2 + "*" comment recolor=-2 + +:line_comment Comment + * line_comment + "\n" idle + +:comment Comment + * comment + "*" maybe_end_comment + +:comment Comment + * comment + "*" maybe_end_comment + + +:maybe_end_comment Comment + * comment noeat + "/" idle + + + +# String constant + +:string Constant + * string +# "\n" idle + "\"" maybe_end_string + "\\" maybe_end_string_mask + +:maybe_end_string Constant + * idle #string ended + "\"" string #new string begins + +# Numeric constant + +:maybe_end_string_mask Constant + * string + +:number Constant + * idle noeat + "0-9" number + "eE" epart + "." dot + +:dot Constant + * idle noeat + "0-9" float + + +:float Constant + * idle noeat + "eE" epart + "0-9" float + +:epart Constant + * idle noeat + "0-9+\-" enum + +:enum Constant + * idle noeat + "0-9" enum + + +# Keywords + +:ident Idle + * idle noeat istrings +# LSL types + "string" type + "integer" type + "list" type + "key" type + "float" type + "rotation" type + "vector" type +# LSL keywords +"default" constant +"do while" kw +"if" kw +"else" kw +"for" kw +"jump" kw +"return" kw +"state" kw +"while" kw +# LSL events + "attach" event + "at_rot_target" event + "at_target" event + "changed" event + "collision" event + "collision end" event + "collision start" event + "control" event + "dataserver" event + "email" event + "http_request" event + "http_response" event + "land_collision" event + "land_collision end" event + "land_collision start" event + "link_message" event + "listen" event + "money" event + "moving_end" event + "moving_start" event + "no_sensor" event + "not_at_rot_target" event + "not_at_target" event + "object_rez" event + "on_rez" event + "remote_data" event + "run_time_permissions" event + "sensor" event + "state_entry" event + "state_exit" event + "timer" event + "touch" event + "touch_end" event + "touch_start" event +# LSL constants + "ACTIVE" constant + "AGENT" constant + "AGENT_ALWAYS_RUN" constant + "AGENT_ATTACHMENTS" constant + "AGENT_AWAY" constant + "AGENT_BUSY" constant + "AGENT_CROUCHING" constant + "AGENT_FLYING" constant + "AGENT_IN_AIR" constant + "AGENT_MOUSELOOK" constant + "AGENT_ON_OBJECT" constant + "AGENT_SCRIPTED" constant + "AGENT_SITTING" constant + "AGENT_TYPING" constant + "AGENT_WALKING" constant + "ALL_SIDES" constant + "ANIM_ON" constant + "ATTACH_BACK" constant + "ATTACH_BELLY" constant + "ATTACH_CHEST" constant + "ATTACH_CHIN" constant + "ATTACH_HEAD" constant + "ATTACH_HUD_BOTTOM" constant + "ATTACH_HUD_BOTTOM_LEFT" constant + "ATTACH_HUD_BOTTOM_RIGHT" constant + "ATTACH_HUD_CENTER_1" constant + "ATTACH_HUD_TOP_CENTER" constant + "ATTACH_HUD_TOP_LEFT" constant + "ATTACH_HUD_TOP_RIGHT" constant + "ATTACH_LEAR" constant + "ATTACH_LEYE" constant + "ATTACH_LFOOT" constant + "ATTACH_LHAND" constant + "ATTACH_LHIP" constant + "ATTACH_LLARM" constant + "ATTACH_LLLEG" constant + "ATTACH_LSHOULDER" constant + "ATTACH_LUARM" constant + "ATTACH_LULEG" constant + "ATTACH_MOUTH" constant + "ATTACH_NOSE" constant + "ATTACH_PELVIS" constant + "ATTACH_REAR" constant + "ATTACH_REYE" constant + "ATTACH_RFOOT" constant + "ATTACH_RHAND" constant + "ATTACH_RHIP" constant + "ATTACH_RLARM" constant + "ATTACH_RLLEG" constant + "ATTACH_RSHOULDER" constant + "ATTACH_RUARM" constant + "ATTACH_RULEG" constant + "CAMERA_ACTIVE" constant + "CAMERA_BEHINDNESS_ANGLE" constant + "CAMERA_BEHINDNESS_LAG" constant + "CAMERA_DISTANCE" constant + "CAMERA_FOCUS" constant + "CAMERA_FOCUS_LOCKED" constant + "CAMERA_FOCUS_OFFSET" constant + "CAMERA_POSITION" constant + "CAMERA_POSITION_LAG" constant + "CAMERA_POSITION_LOCKED" constant + "CAMERA_POSITION_THRESHOLD" constant + "CHANGED_ALLOWED_DROP" constant + "CHANGED_COLOR" constant + "CHANGED_INVENTORY" constant + "CHANGED_LINK" constant + "CHANGED_OWNER" constant + "CHANGED_REGION_START" constant + "CHANGED_SCALE" constant + "CHANGED_SHAPE" constant + "CHANGED_TELEPORT" constant + "CHANGED_TEXTURE" constant + "CLICK_ACTION_BUY" constant + "CLICK_ACTION_NONE" constant + "CLICK_ACTION_OPEN" constant + "CLICK_ACTION_OPEN_MEDIA" constant + "CLICK_ACTION_PAY" constant + "CLICK_ACTION_PLAY" constant + "CLICK_ACTION_SIT" constant + "CONTROL_BACK" constant + "CONTROL_DOWN" constant + "CONTROL_LBUTTON" constant + "CONTROL_LEFT" constant + "CONTROL_ML_LBUTTON" constant + "CONTROL_RIGHT" constant + "CONTROL_ROT_LEFT" constant + "CONTROL_ROT_RIGHT" constant + "CONTROL_UP" constant + "DATA_NAME" constant + "DATA_ONLINE" constant + "DATA_PAYINFO" constant + "DATA_SIM_POS" constant + "DATA_SIM_RATING" constant + "DATA_SIM_STATUS" constant + "DEBUG_CHANNEL" constant + "DEG_TO_RAD" constant + "EOF" constant + "FALSE" constant + "HTTP_BODY_MAXLENGTH" constant + "HTTP_METHOD" constant + "HTTP_MIMETYPE" constant + "HTTP_VERIFY_CERT" constant + "INVENTORY_ALL" constant + "INVENTORY_ANIMATION" constant + "INVENTORY_BODYPART" constant + "INVENTORY_CLOTHING" constant + "INVENTORY_GESTURE" constant + "INVENTORY_LANDMARK" constant + "INVENTORY_NONE" constant + "INVENTORY_NOTECARD" constant + "INVENTORY_OBJECT" constant + "INVENTORY_SCRIPT" constant + "INVENTORY_SOUND" constant + "INVENTORY_TEXTURE" constant + "LAND_LEVEL" constant + "LAND_LOWER" constant + "LAND_NOISE" constant + "LAND_RAISE" constant + "LAND_REVERT" constant + "LAND_SMOOTH" constant + "LINK_ALL_CHILDREN" constant + "LINK_ALL_OTHERS" constant + "LINK_ROOT" constant + "LINK_SET" constant + "LINK_THIS" constant + "LIST_STAT_GEOMETRIC_MEAN" constant + "LIST_STAT_MAX" constant + "LIST_STAT_MEAN" constant + "LIST_STAT_MIN" constant + "LIST_STAT_RANGE" constant + "LIST_STAT_STD_DEV" constant + "LIST_STAT_SUM" constant + "LIST_STAT_SUM_SQUARES" constant + "LOOP" constant + "MASK_BASE" constant + "MASK_EVERYONE" constant + "MASK_GROUP" constant + "MASK_NEXT" constant + "MASK_OWNER" constant + "NULL_KEY" constant + "OBJECT_CREATOR" constant + "OBJECT_DESC" constant + "OBJECT_GROUP" constant + "OBJECT_NAME" constant + "OBJECT_OWNER" constant + "OBJECT_ROT" constant + "OBJECT_UNKNOWN_DETAIL" constant + "OBJECT_VELOCITY" constant + "PARCEL_DETAILS_AREA" constant + "PARCEL_DETAILS_DESC" constant + "PARCEL_DETAILS_GROUP" constant + "PARCEL_DETAILS_NAME" constant + "PARCEL_DETAILS_OWNER" constant + "PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY" constant + "PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS" constant + "PARCEL_FLAG_ALLOW_CREATE_OBJECTS" constant + "PARCEL_FLAG_ALLOW_DAMAGE" constant + "PARCEL_FLAG_ALLOW_FLY" constant + "PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY" constant + "PARCEL_FLAG_ALLOW_GROUP_SCRIPTS" constant + "PARCEL_FLAG_ALLOW_LANDMARK" constant + "PARCEL_FLAG_ALLOW_SCRIPTS" constant + "PARCEL_FLAG_ALLOW_TERRAFORM" constant + "PARCEL_FLAG_LOCAL_SOUND_ONLY" constant + "PARCEL_FLAG_RESTRICT_PUSHOBJECT" constant + "PARCEL_FLAG_USE_ACCESS_GROUP" constant + "PARCEL_FLAG_USE_ACCESS_LIST" constant + "PARCEL_FLAG_USE_BAN_LIST" constant + "PARCEL_FLAG_USE_LAND_PASS_LIST" constant + "PARCEL_MEDIA_COMMAND_AGENT" constant + "PARCEL_MEDIA_COMMAND_AUTO_ALIGN" constant + "PARCEL_MEDIA_COMMAND_DESC" constant + "PARCEL_MEDIA_COMMAND_LOOP" constant + "PARCEL_MEDIA_COMMAND_LOOP_SET" constant + "PARCEL_MEDIA_COMMAND_PAUSE" constant + "PARCEL_MEDIA_COMMAND_PLAY" constant + "PARCEL_MEDIA_COMMAND_SIZE" constant + "PARCEL_MEDIA_COMMAND_STOP" constant + "PARCEL_MEDIA_COMMAND_TEXTURE" constant + "PARCEL_MEDIA_COMMAND_TIME" constant + "PARCEL_MEDIA_COMMAND_TYPE" constant + "PARCEL_MEDIA_COMMAND_URL" constant + "PASSIVE" constant + "PAYMENT_INFO_ON_FILE" constant + "PAYMENT_INFO_USED" constant + "PAY_DEFAULT" constant + "PAY_HIDE" constant + "PERMISSION_ATTACH" constant + "PERMISSION_CHANGE_LINKS" constant + "PERMISSION_CONTROL_CAMERA" constant + "PERMISSION_DEBIT" constant + "PERMISSION_TAKE_CONTROLS" constant + "PERMISSION_TRACK_CAMERA" constant + "PERMISSION_TRIGGER_ANIMATION" constant + "PERM_ALL" constant + "PERM_COPY" constant + "PERM_MOVE" constant + "PERM_TRANSFER" constant + "PI" constant + "PI_BY_TWO" constant + "PRIM_BUMP_BARK" constant + "PRIM_BUMP_BLOBS" constant + "PRIM_BUMP_BRICKS" constant + "PRIM_BUMP_BRIGHT" constant + "PRIM_BUMP_CHECKER" constant + "PRIM_BUMP_CONCRETE" constant + "PRIM_BUMP_DARK" constant + "PRIM_BUMP_DISKS" constant + "PRIM_BUMP_GRAVEL" constant + "PRIM_BUMP_LARGETILE" constant + "PRIM_BUMP_NONE" constant + "PRIM_BUMP_SHINY" constant + "PRIM_BUMP_SIDING" constant + "PRIM_BUMP_STONE" constant + "PRIM_BUMP_STUCCO" constant + "PRIM_BUMP_SUCTION" constant + "PRIM_BUMP_TILE" constant + "PRIM_BUMP_WEAVE" constant + "PRIM_BUMP_WOOD" constant + "PRIM_COLOR" constant + "PRIM_FLEXIBLE" constant + "PRIM_FULLBRIGHT" constant + "PRIM_GLOW" constant + "PRIM_HOLE_CIRCLE" constant + "PRIM_HOLE_DEFAULT" constant + "PRIM_HOLE_SQUARE" constant + "PRIM_HOLE_TRIANGLE" constant + "PRIM_MATERIAL" constant + "PRIM_MATERIAL_FLESH" constant + "PRIM_MATERIAL_GLASS" constant + "PRIM_MATERIAL_METAL" constant + "PRIM_MATERIAL_PLASTIC" constant + "PRIM_MATERIAL_RUBBER" constant + "PRIM_MATERIAL_STONE" constant + "PRIM_MATERIAL_WOOD" constant + "PRIM_PHANTOM" constant + "PRIM_PHYSICS" constant + "PRIM_POINT_LIGHT" constant + "PRIM_POSITION" constant + "PRIM_ROTATION" constant + "PRIM_SCULPT_FLAG_INVERT" constant + "PRIM_SCULPT_FLAG_MIRROR" constant + "PRIM_SCULPT_TYPE_CYLINDER" constant + "PRIM_SCULPT_TYPE_MASK" constant + "PRIM_SCULPT_TYPE_PLANE" constant + "PRIM_SCULPT_TYPE_SPHERE" constant + "PRIM_SCULPT_TYPE_TORUS" constant + "PRIM_SHINY_HIGH" constant + "PRIM_SHINY_LOW" constant + "PRIM_SHINY_MEDIUM" constant + "PRIM_SHINY_NONE" constant + "PRIM_SIZE" constant + "PRIM_TEMP_ON_REZ" constant + "PRIM_TEXGEN" constant + "PRIM_TEXGEN_DEFAULT" constant + "PRIM_TEXGEN_PLANAR" constant + "PRIM_TEXTURE" constant + "PRIM_TYPE" constant + "PRIM_TYPE_BOX" constant + "PRIM_TYPE_CYLINDER" constant + "PRIM_TYPE_PRISM" constant + "PRIM_TYPE_RING" constant + "PRIM_TYPE_SCULPT" constant + "PRIM_TYPE_SPHERE" constant + "PRIM_TYPE_TORUS" constant + "PRIM_TYPE_TUBE" constant + "PUBLIC_CHANNEL" constant + "RAD_TO_DEG" constant + "REGION_FLAG_ALLOW_DAMAGE" constant + "REGION_FLAG_ALLOW_DIRECT_TELEPORT" constant + "REGION_FLAG_BLOCK_FLY" constant + "REGION_FLAG_BLOCK_TERRAFORM" constant + "REGION_FLAG_DISABLE_COLLISIONS" constant + "REGION_FLAG_DISABLE_PHYSICS" constant + "REGION_FLAG_FIXED_SUN" constant + "REGION_FLAG_RESTRICT_PUSHOBJECT" constant + "REGION_FLAG_SANDBOX" constant + "REMOTE_DATA_CHANNEL" constant + "REMOTE_DATA_REPLY" constant + "REMOTE_DATA_REQUEST" constant + "REVERSE" constant + "ROTATE" constant + "Rotation" constant + "SCALE" constant + "SCRIPTED" constant + "SMOOTH" constant + "SQRT2" constant + "STATUS_BLOCK_GRAB" constant + "STATUS_CAST_SHADOWS" constant + "STATUS_DIE_AT_EDGE" constant + "STATUS_PHANTOM" constant + "STATUS_PHYSICS" constant + "STATUS_RETURN_AT_EDGE" constant + "STATUS_ROTATE_X" constant + "STATUS_ROTATE_Y" constant + "STATUS_ROTATE_Z" constant + "STATUS_SANDBOX" constant + "STRING_TRIM" constant + "STRING_TRIM_HEAD" constant + "STRING_TRIM_TAIL" constant + "TEXTURE_DEFAULT" constant + "TEXTURE_BLANK" constant + "TEXTURE_MEDIA" constant + "TEXTURE_PLYWOOD" constant + "TEXTURE_TRANSPARENT" constant + "TOUCH_INVALID_FACE" constant + "TOUCH_INVALID_TEXCOORD" constant + "TOUCH_INVALID_VECTOR" constant + "TRUE" constant + "TWO_PI" constant + "TYPE_FLOAT" constant + "TYPE_INTEGER" constant + "TYPE_INVALID" constant + "TYPE_KEY" constant + "TYPE_ROTATION" constant + "TYPE_STRING" constant + "TYPE_VECTOR" constant + "URL_REQUEST_DENIED" constant + "URL_REQUEST_GRANTED" constant + "VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY" constant + "VEHICLE_ANGULAR_DEFLECTION_TIMESCALE" constant + "VEHICLE_ANGULAR_FRICTION_TIMESCALE" constant + "VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE" constant + "VEHICLE_ANGULAR_MOTOR_DIRECTION" constant + "VEHICLE_ANGULAR_MOTOR_TIMESCALE" constant + "VEHICLE_BANKING_EFFICIENCY" constant + "VEHICLE_BANKING_MIX" constant + "VEHICLE_BANKING_TIMESCALE" constant + "VEHICLE_BUOYANCY" constant + "VEHICLE_FLAG_CAMERA_DECOUPLED" constant + "VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT" constant + "VEHICLE_FLAG_HOVER_TERRAIN_ONLY" constant + "VEHICLE_FLAG_HOVER_UP_ONLY" constant + "VEHICLE_FLAG_HOVER_WATER_ONLY" constant + "VEHICLE_FLAG_LIMIT_MOTOR_UP" constant + "VEHICLE_FLAG_LIMIT_ROLL_ONLY" constant + "VEHICLE_FLAG_MOUSELOOK_BANK" constant + "VEHICLE_FLAG_MOUSELOOK_STEER" constant + "VEHICLE_FLAG_NO_DEFLECTION_UP" constant + "VEHICLE_HOVER_EFFICIENCY" constant + "VEHICLE_HOVER_GLOBAL_HEIGHT" constant + "VEHICLE_HOVER_HEIGHT" constant + "VEHICLE_HOVER_TIMESCALE" constant + "VEHICLE_HOVER_WATER_ONLY" constant + "VEHICLE_LINEAR_DEFLECTION_EFFICIENCY" constant + "VEHICLE_LINEAR_DEFLECTION_TIMESCALE" constant + "VEHICLE_LINEAR_FRICTION_TIMESCALE" constant + "VEHICLE_LINEAR_MOTOR_DIRECTION" constant + "VEHICLE_LINEAR_MOTOR_OFFSET" constant + "VEHICLE_LINEAR_MOTOR_TIMESCALE" constant + "VEHICLE_REFERENCE_FRAME" constant + "VEHICLE_TYPE_AIRPLANE" constant + "VEHICLE_TYPE_BALLOON" constant + "VEHICLE_TYPE_BOAT" constant + "VEHICLE_TYPE_CAR" constant + "VEHICLE_TYPE_NONE" constant + "VEHICLE_TYPE_SLED" constant + "VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY" constant + "VEHICLE_VERTICAL_ATTRACTION_TIMESCALE" constant + "ZERO_ROTATION" constant +# LSL functions + "llAbs" function + "llAcos" function + "llAddToLandBanList" function + "llAddToLandPassList" function + "llAdjustSoundVolume" function + "llAllowInventoryDrop" function + "llAngleBetween" function + "llApplyImpulse" function + "llApplyRotationalImpulse" function + "llAsin" function + "llAtan2" function + "llAttachToAvatar" function + "llAvatarOnSitTarget" function + "llAxes2Rot" function + "llAxisAngle2Rot" function + "llBase64ToInteger" function + "llBase64ToString" function + "llBreakAllLinks" function + "llBreakLink" function + "llCeil" function + "llClearCameraParams" function + "llCloseRemoteDataChannel" function + "llCloud" function + "llCollisionFilter" function + "llCollisionSound" function + "llCollisionSprite" function + "llCos" function + "llCreateLink" function + "llCSV2List" function + "llDeleteSubList" function + "llDeleteSubString" function + "llDetachFromAvatar" function + "llDetectedGrab" function + "llDetectedGroup" function + "llDetectedKey" function + "llDetectedLinkNumber" function + "llDetectedName" function + "llDetectedOwner" function + "llDetectedPos" function + "llDetectedRot" function + "llDetectedTouchBinormal" function + "llDetectedTouchFace" function + "llDetectedTouchNormal" function + "llDetectedTouchPos" function + "llDetectedTouchST" function + "llDetectedTouchUV" function + "llDetectedType" function + "llDetectedVel" function + "llDialog" function + "llDie" function + "llDumpList2String" function + "llEdgeOfWorld" function + "llEjectFromLand" function + "llEmail" function + "llEscapeURL" function + "llEuler2Rot" function + "llFabs" function + "llFloor" function + "llForceMouselook" function + "llFrand" function + "llGetAccel" function + "llGetAgentInfo" function + "llGetAgentLanguage" function + "llGetAgentSize" function + "llGetAlpha" function + "llGetAndResetTime" function + "llGetAnimation" function + "llGetAnimationList" function + "llGetAttached" function + "llGetBoundingBox" function + "llGetCameraPos" function + "llGetCameraRot" function + "llGetCenterOfMass" function + "llGetColor" function + "llGetCreator" function + "llGetDate" function + "llGetEnergy" function + "llGetForce" function + "llGetFreeMemory" function + "llGetGeometricCenter" function + "llGetGMTclock" function + "llGetInventoryCreator" function + "llGetInventoryKey" function + "llGetInventoryName" function + "llGetInventoryNumber" function + "llGetInventoryPermMask" function + "llGetInventoryType" function + "llGetKey" function + "llGetLandOwnerAt" function + "llGetLinkKey" function + "llGetLinkName" function + "llGetLinkNumber" function + "llGetListEntryType" function + "llGetListLength" function + "llGetLocalPos" function + "llGetLocalRot" function + "llGetMass" function + "llGetNextEmail" function + "llGetNotecardLine" function + "llGetNumberOfNotecardLines" function + "llGetNumberOfPrims" function + "llGetNumberOfSides" function + "llGetObjectDesc" function + "llGetObjectDetails" function + "llGetObjectMass" function + "llGetObjectName" function + "llGetObjectPermMask" function + "llGetObjectPrimCount" function + "llGetOmega" function + "llGetOwner" function + "llGetOwnerKey" function + "llGetParcelDetails" function + "llGetParcelFlags" function + "llGetParcelMaxPrims" function + "llGetParcelPrimCount" function + "llGetParcelPrimOwners" function + "llGetPermissions" function + "llGetPermissionsKey" function + "llGetPos" function + "llGetPrimitiveParams" function + "llGetRegionAgentCount" function + "llGetRegionCorner" function + "llGetRegionFlags" function + "llGetRegionFPS" function + "llGetRegionName" function + "llGetRegionTimeDilation" function + "llGetRootPosition" function + "llGetRootRotation" function + "llGetRot" function + "llGetScale" function + "llGetScriptName" function + "llGetScriptState" function + "llGetSimulatorHostname" function + "llGetStartParameter" function + "llGetStatus" function + "llGetSubString" function + "llGetSunDirection" function + "llGetTexture" function + "llGetTextureOffset" function + "llGetTextureRot" function + "llGetTextureScale" function + "llGetTime" function + "llGetTimeOfDay" function + "llGetTimestamp" function + "llGetTorque" function + "llGetUnixTime" function + "llGetVel" function + "llGetWallclock" function + "llGiveInventory" function + "llGiveInventoryList" function + "llGiveMoney" function + "llGodLikeRezObject" function + "llGround" function + "llGroundContour" function + "llGroundNormal" function + "llGroundRepel" function + "llGroundSlope" function + "llHTTPRequest" function + "llInsertString" function + "llInstantMessage" function + "llIntegerToBase64" function + "llKey2Name" function + "llList2CSV" function + "llList2Float" function + "llList2Integer" function + "llList2Key" function + "llList2List" function + "llList2ListStrided" function + "llList2Rot" function + "llList2String" function + "llList2Vector" function + "llListen" function + "llListenControl" function + "llListenRemove" function + "llListFindList" function + "llListInsertList" function + "llListRandomize" function + "llListReplaceList" function + "llListSort" function + "llListStatistics" function + "llLoadURL" function + "llLog" function + "llLog10" function + "llLookAt" function + "llLoopSound" function + "llLoopSoundMaster" function + "llLoopSoundSlave" function + "llMakeExplosion" function + "llMakeFire" function + "llMakeFountain" function + "llMakeSmoke" function + "llMapDestination" function + "llMD5String" function + "llMessageLinked" function + "llMinEventDelay" function + "llModifyLand" function + "llModPow" function + "llMoveToTarget" function + "llOffsetTexture" function + "llOpenRemoteDataChannel" function + "llOverMyLand" function + "llOwnerSay" function + "llParcelMediaCommandList" function + "llParcelMediaQuery" function + "llParseString2List" function + "llParseStringKeepNulls" function + "llParticleSystem" function + "llPassCollisions" function + "llPassTouches" function + "llPlaySound" function + "llPlaySoundSlave" function + "llPointAt" function + "llPow" function + "llPreloadSound" function + "llPushObject" function + "llRefreshPrimURL" function + "llRegionSay" function + "llReleaseCamera" function + "llReleaseControls" function + "llRemoteDataReply" function + "llRemoteDataSetRegion" function + "llRemoteLoadScript" function + "llRemoteLoadScriptPin" function + "llRemoveFromLandBanList" function + "llRemoveFromLandPassList" function + "llRemoveInventory" function + "llRemoveVehicleFlags" function + "llRequestAgentData" function + "llRequestInventoryData" function + "llRequestPermissions" function + "llRequestSimulatorData" function + "llResetLandBanList" function + "llResetLandPassList" function + "llResetOtherScript" function + "llResetScript" function + "llResetTime" function + "llRezAtRoot" function + "llRezObject" function + "llRot2Angle" function + "llRot2Axis" function + "llRot2Euler" function + "llRot2Fwd" function + "llRot2Left" function + "llRot2Up" function + "llRotateTexture" function + "llRotBetween" function + "llRotLookAt" function + "llRotTarget" function + "llRotTargetRemove" function + "llRound" function + "llSameGroup" function + "llSay" function + "llScaleTexture" function + "llScriptDanger" function + "llSendRemoteData" function + "llSensor" function + "llSensorRemove" function + "llSensorRepeat" function + "llSetAlpha" function + "llSetBuoyancy" function + "llSetCameraAtOffset" function + "llSetCameraEyeOffset" function + "llSetCameraParams" function + "llSetClickAction" function + "llSetColor" function + "llSetDamage" function + "llSetForce" function + "llSetForceAndTorque" function + "llSetHoverHeight" function + "llSetInventoryPermMask" function + "llSetLinkAlpha" function + "llSetLinkColor" function + "llSetLinkPrimitiveParams" function + "llSetLinkTexture" function + "llSetLocalRot" function + "llSetObjectDesc" function + "llSetObjectName" function + "llSetObjectPermMask" function + "llSetParcelMusicURL" function + "llSetPayPrice" function + "llSetPos" function + "llSetPrimitiveParams" function + "llSetPrimURL" function + "llSetRemoteScriptAccessPin" function + "llSetRot" function + "llSetScale" function + "llSetScriptState" function + "llSetSitText" function + "llSetSoundQueueing" function + "llSetSoundRadius" function + "llSetStatus" function + "llSetText" function + "llSetTexture" function + "llSetTextureAnim" function + "llSetTimerEvent" function + "llSetTorque" function + "llSetTouchText" function + "llSetVehicleFlags" function + "llSetVehicleFloatParam" function + "llSetVehicleRotationParam" function + "llSetVehicleType" function + "llSetVehicleVectorParam" function + "llSHA1String" function + "llShout" function + "llSin" function + "llSitTarget" function + "llSleep" function + "llSound" function + "llSoundPreload" function + "llSqrt" function + "llStartAnimation" function + "llStopAnimation" function + "llStopHover" function + "llStopLookAt" function + "llStopMoveToTarget" function + "llStopPointAt" function + "llStopSound" function + "llStringLength" function + "llStringToBase64" function + "llStringTrim" function + "llSubStringIndex" function + "llTakeCamera" function + "llTakeControls" function + "llTan" function + "llTarget" function + "llTargetOmega" function + "llTargetRemove" function + "llTeleportAgentHome" function + "llTextBox" function + "llToLower" function + "llToUpper" function + "llTriggerSound" function + "llTriggerSoundLimited" function + "llUnescapeURL" function + "llUnSit" function + "llVecDist" function + "llVecMag" function + "llVecNorm" function + "llVolumeDetect" function + "llWater" function + "llWhisper" function + "llWind" function + "llXorBase64Strings" function + "llXorBase64StringsCorrect" function +done + "a-zA-Z0-9_" ident + +:kw Keyword + * idle noeat + +:type Type + * idle noeat + +:operator Operator + * idle noeat + +:event Operator + * idle noeat + +:word_constant Constant + * idle noeat + +:constant Constant + * idle noeat + +:function Function + * idle noeat diff --git a/dotfiles/joe/syntax/makefile.jsf b/dotfiles/joe/syntax/makefile.jsf new file mode 100644 index 0000000..8c4187b --- /dev/null +++ b/dotfiles/joe/syntax/makefile.jsf @@ -0,0 +1,97 @@ +# JOE syntax highlight file for Makefile + +=Idle +=Comment green +=CommentLabel bold green +=Constant cyan +=Escape bold cyan +=Bad bold red + +=RecipeCont bold cyan +=TargetPhony yellow +=TargetOther fg_310 # brown +=TargetRest + +:line_start Idle + * idle noeat + "#" line_comment recolor=-1 + "a-zA-Z0-9._" maybe_target mark buffer + "\t" recipe + +:idle Idle + * idle + "$" maybe_substitute + "\n" line_start + +:maybe_substitute Idle + * idle noeat + "(" substitute recolor=-2 + +:substitute Constant + * substitute + ")" idle + +:recipe Idle + * recipe + "$" maybe_r_substitute + "\\" recipe_cont recolor=-1 + "\n" line_start + +:recipe_cont RecipeCont + * recipe noeat + "\n" recipe + +:maybe_r_substitute Idle + * recipe noeat + "(" r_substitute recolor=-2 + +:r_substitute Constant + * r_substitute + ")" recipe + +:line_comment Comment + * line_comment + # might be TODO label + "BFHNTX" line_comment noeat call=.comment_todo() + "\n" line_start + +:maybe_target Idle + * idle noeat + ":" target_other noeat recolormark strings + ".PHONY" target_phony +done + "a-zA-Z0-9._-" maybe_target + +:target_phony TargetPhony + * target_rest noeat + +:target_other TargetOther + * target_rest noeat + +:target_rest TargetRest + * target_rest + "\n" line_start + +.subr comment_todo +# initial state +:comment_todo_init Comment + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Comment + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Comment + * NULL noeat return + +:comment_todo CommentLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/md.jsf b/dotfiles/joe/syntax/md.jsf new file mode 100644 index 0000000..8abf7a8 --- /dev/null +++ b/dotfiles/joe/syntax/md.jsf @@ -0,0 +1,153 @@ +# JOE syntax highlight file for Markdown +# by Christian Nicolai (http://mycrobase.de) + +# And yes, this *is* a joke :p + +# bold parsing is not that perfect since this works: **bold__ + +=Idle +=Tag green +=Escape bold +=Bad bold red + +=Bold bold +=Headline bold yellow +=Quote green +=Code green +=List yellow +=LinkDesc green +=Link blue +=Rule inverse + +:line_start Idle + * idle noeat + "#" headline_prefix recolor=-1 + ">" quote recolor=-1 + " " maybe_code1 + "\t" code + "-*" maybe_list + +:idle Idle + * idle + "\n" line_start + "<" tag recolor=-1 + "\\" escape recolor=-1 + "*_" maybe_bold1 + "[" maybe_link_desc1 + "`" backtick buffer noeat + +:headline_prefix Idle + * headline + "#" headline_prefix + +:headline Headline + * headline + "\n" line_start + +:quote Quote + * quote + "\n" line_start + +:maybe_code1 Idle + * idle + " " maybe_code2 + +:maybe_code2 Idle + * idle + " " maybe_code3 + +:maybe_code3 Idle + * idle + " " code recolor=-4 + +:code Code + * code + "\n" line_start + +:maybe_list Idle + * idle + " " list + "-*" maybe_rule1 + +:list List + * list + "\n" line_start + +:maybe_rule1 Idle + * idle + "-*" rule recolor=-3 + +:rule Rule + * rule + "\n" line_start + +:tag Tag + * idle + "a-z0-9 /" tag + ">" idle + +# do escaping of *_ and so on +:escape Escape + * idle + +:maybe_bold1 Idle + * idle noeat + "*_" bold recolor=-2 + +:bold Bold + * bold + "\n" line_start # end if we reach newline during bold + "*_" maybe_end_bold + +:maybe_end_bold Bold + * bold + "*_" end_bold + +:end_bold Bold + * idle noeat + +:maybe_link_desc1 Idle + * maybe_link_desc mark + +:maybe_link_desc Idle + * maybe_link_desc + "]" maybe_end_link_desc markend + +:maybe_end_link_desc Idle + * idle + "(" link_inline1 recolormark + "[" link_ref1 recolormark + +:link_inline1 LinkDesc + * link_inline noeat + +:link_inline Link + * link_inline + ")" link_end noeat + +:link_ref1 LinkDesc + * link_ref noeat + +:link_ref Link + * link_ref + "]" link_end noeat + +:link_end Idle + * idle + +:backtick Quote + * backtick_body save_s noeat + "`" backtick + +:backtick_body Code + * backtick_body + "`" backtick_end_maybe buffer + +:backtick_end_maybe Code + * backtick_body strings + "&" backtick_end +done + "`" backtick_end_maybe + +:backtick_end Quote + * idle noeat diff --git a/dotfiles/joe/syntax/php.jsf b/dotfiles/joe/syntax/php.jsf new file mode 100644 index 0000000..8872709 --- /dev/null +++ b/dotfiles/joe/syntax/php.jsf @@ -0,0 +1,293 @@ +# JOE syntax highlight file for PHP +# modified by Eric Lin + +# TODO: +# * heredoc support (as good as possible) +# * highlight function and class names? + +# Define no. sync lines +# You can say: +# -200 means 200 lines +# - means always start parsing from beginning of file when we lose sync +# if nothing is specified, the default is -50 + +- + +# Define colors + +=Idle +=Comment green +=Constant cyan +=Constant_sq blue +=Escape bold cyan +=Keyword bold +=Var red +=Methods bold + +# Call HTML highlighter. It will call the PHP highlighter subroutine in this file. + +:begin Idle + * call_failed noeat call=html.html(php) + +:call_failed Var + * call_failed + +# PHP highlighter. + +.subr php + +:idle Idle + * idle + "<" idle_done + "?" idle_qmark + "%" idle_hash + "#" sh_comment recolor=-1 + "/" slash + "0-9" first_digit recolor=-1 + "'" string_sq recolor=-1 + "\"" string_dq recolor=-1 + "\`" string_bq recolor=-1 + "a-zA-Z_" ident buffer + "$" php_var recolor=-1 + "-" maybe_method + "{}" brace recolor=-1 + +:idle_done Idle + * idle noeat + "/" idle noeat recolor=-2 return + "<" idle_here + +:idle_here Idle + * idle noeat + "<" here_doc + +:here_doc Idle + * idle noeat + " " here_doc + "A-Za-z_" here_name buffer + +:here_name Idle + * inhere_doc save_s + "A-Za-z_0-9" here_name + +:inhere_doc Constant + * inhere_not_eol + "\n" inhere_doc + "A-Za-z_" inhere_name buffer + +:inhere_not_eol Constant + * inhere_not_eol + "\n" inhere_doc + +:inhere_name Constant + * inhere_doc + ";" inhere_doc strings + "&" idle +done + "A-Za-z_0-9" inhere_name + +:brace Methods + * idle noeat + +:php_var Var + * idle noeat + "a-zA-Z_0-9-ÿ" php_var + +:var_indqstring Var + * string_dq recolor=-1 + "a-zA-Z_" var_indqstring + "\"" string_dq noeat + "\\" string_dq_esc recolor=-1 + +:var_inbqstring Var + * string_bq recolor=-1 + "a-zA-Z_" var_inbqstring + "\`" string_sq noeat + "\\" string_bq_esc recolor=-1 + +:maybe_method Methods + * idle recolor=-1 + "?" idle_qmark + "%" idle_hash + "#" sh_comment recolor=-1 + "/" slash + "0-9" first_digit recolor=-1 + "'" string_sq recolor=-1 + "\"" string_dq recolor=-1 + "a-zA-Z_" ident buffer + "$" php_var recolor=-1 + "{}" brace recolor=-1 + ">" method recolor=-2 + +:method Methods + * idle recolor=-1 + "a-zA-Z_" method recolor=-1 + +:idle_qmark Idle + * idle noeat + ">" idle recolor=-2 return + +:idle_hash Idle + * idle noeat + ">" idle recolor=-2 return + +:sh_comment Comment + * sh_comment + "\n" idle + +:slash Idle + * idle noeat + "*" comment recolor=-2 + "/" line_comment recolor=-2 + +:comment Comment + * comment + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment + "/" idle + "*" maybe_end_comment + +:line_comment Comment + * line_comment + "\n" idle + + +:string_sq Constant_sq + * string_sq + "\'" idle + "\\" string_sq_esc recolor=-1 + +:string_sq_esc Escape + * string_sq + "\n" string_sq recolor=-2 + +:string_dq Constant + * string_dq + "$" var_indqstring recolor=-1 + "\"" idle + "\\" string_dq_esc recolor=-1 + +:string_dq_esc Escape + * string_dq + "\n" string_dq recolor=-2 + +:string_bq Constant + * string_bq + "$" var_inbqstring recolor=-1 + "\`" idle + "\\" string_bq_esc recolor=-1 + +:string_bq_esc Escape + * string_bq + "\n" string_bq recolor=-2 + +:first_digit Constant + * idle noeat + "xX" hex + "." float + "0" octal + "1-9" first_number + +:octal Constant + * idle noeat + "0-7" octal + +:hex Constant + * idle noeat + "0-9A-Fa-f" hex + +:first_number Constant + * idle noeat + "0-9" first_number + "." float + +:maybe_float Constant + * idle recolor=-2 noeat + "0-9" float recolor=-2 + +:float Constant + * idle noeat + "eE" epart + "0-9" float + +:epart Constant + * idle noeat + "0-9+\-" enum + +:enum Constant + * idle noeat + "0-9" enum + +:ident Idle + * idle noeat strings + "addslashes" meth + "array" meth + "array_keys" meth + "count" meth + "date" meth + "chr" meth + "empty" meth + "end" meth + "header" meth + "highlight_file" meth + "htmlspecialchars" meth + "isset" meth + "shuffle" meth + "strip_tags" meth + "strlen" meth + "strpos" meth + "strrpos" meth + "substr" meth + "trim" meth + "and" kw + "as" kw + "break" kw + "case" kw + "class" kw + "continue" kw + "declare" kw + "default" kw + "die" kw + "do" kw + "echo" kw + "else" kw + "elseif" kw + "eval" kw + "exception" kw + "exit" kw + "extends" kw + "for" kw + "foreach" kw + "function" kw + "global" kw + "if" kw + "include" kw + "include_once" kw + "list" kw + "new" kw + "or" kw + "print" kw + "private" kw + "public" kw + "require" kw + "require_once" kw + "return" kw + "static" kw + "switch" kw + "unset" kw + "while" kw +done + "a-zA-Z0-9_" ident + +:kw Keyword + * idle noeat + +:meth Methods + * idle noeat + +:var Var + * mark noeat + +.end diff --git a/dotfiles/joe/syntax/powershell.jsf b/dotfiles/joe/syntax/powershell.jsf new file mode 100644 index 0000000..3c0563f --- /dev/null +++ b/dotfiles/joe/syntax/powershell.jsf @@ -0,0 +1,259 @@ +# PowerShell syntax highlighting for Joe's Own Editor +# Oskar Liljeblad , 2014-02-11 +# +# PowerShell is the poor man's[1] replacement for a real shell such as Bash. +# [1] Someone who has to use Windows for whatever reason. +# +# Reference: http://www.microsoft.com/en-us/download/details.aspx?id=36389 +# Status: +# 1 100% +# 2.1 100% +# 2.2.1 100% except signature support +# 2.2.2 100% +# 2.2.3 100% except requires support +# 2.2.4 100% +# 2.3.1 100% +# 2.3.2 100% except automatic variables +# 2.3.3 100% no coloring +# 2.3.4 100% no coloring +# 2.3.5 100% no coloring +# 2.3.6 100% + +=Idle +=Comment green +=Constant cyan +=ConstEscape bold cyan +=Keyword bold +=Var magenta +=VarEscape bold magenta + +:idle Idle + * idle + "#" comment recolor=-1 + "$" var recolor=-1 + "@" var_array recolor=-1 + "<" idle1 + "\"" string_dq recolor=-1 + "'" string_sq recolor=-1 + "@" idle2 + "a-zA-Z_-" ident buffer + +:idle1 Idle + * idle noeat + "#" delim_comment recolor=-2 + +:idle2 Idle + * idle noeat + "\"" herestr_dq recolor=-2 + "'" herestr_sq recolor=-2 + +:comment Comment + * comment + "\r\n" idle + +:var_array Var + * idle noeat + "$?^" idle + "a-zA-Z_" var_name + +:var Var + * idle noeat + "{" var_brack + "$?^" idle + "a-zA-Z_" var_name + +:var_name Var + * idle noeat recolor=-1 + "a-zA-Z0-9_:?" var_name + +:var_brack Var + * var_brack + "`" var_escape recolor=-1 + "}" idle + +:var_escape VarEscape + * var_brack + +:delim_comment Comment + * delim_comment + "#" delim_comment1 + +:delim_comment1 Comment + * delim_comment noeat + ">" idle + +:kw Keyword + * idle noeat + +:string_dq Constant + * string_dq + "\"\n" idle + "$" string_dq_subst recolor=-1 + "`" string_dq_esc recolor=-1 + +:string_dq_subst Var + * string_dq noeat recolor=-2 + "a-zA-Z_" string_dq_subst_name + "{" string_dq_subst_brack + "(" string_dq_subst_parens + "`" string_dq_subst_escape recolor=-1 + +:string_dq_subst_name Var + * string_dq recolor=-1 noeat + "a-zA-Z0-9_:" string_dq_subst_name + "`" string_dq_subst_escape recolor=-1 + +:string_dq_subst_escape VarEscape + * string_dq_subst_name + +:string_dq_subst_brack Var + * string_dq_subst_brack + "}" string_dq + +:string_dq_subst_parens Var + * string_dq_sustr_parens + ")" string_dq + +:string_sq Constant + * string_sq + "\'\n" idle + +:string_dq_esc ConstEscape + * string_dq + +:string_sq_esc ConstEscape + * string_sq + +:herestr_dq Constant + * herestr_dq + "\"" herestr_dq1 + "$" herestr_dq_subst recolor=-1 + +:herestr_dq1 Constant + * herestr_dq noeat + "@" idle + +:herestr_dq_subst Var + * herestr_dq noeat recolor=-2 + "a-zA-Z_" herestr_dq_subst_name + "(" herestr_dq_subst_parens + "`" herestr_dq_subst_escape recolor=-1 + +:herestr_dq_subst_name Var + * herestr_dq recolor=-1 noeat + "a-zA-Z0-9_:" herestr_dq_subst_name + "`" herestr_dq_subst_escape recolor=-1 + +:herestr_dq_subst_escape VarEscape + * herestr_dq_subst_name + +:herestr_dq_subst_parens Var + * herestr_dq_subst_parens + ")" herestr_dq + +:herestr_sq Constant + * herestr_sq + "\'" herestr_sq1 + +:herestr_sq1 Constant + * herestr_sq noeat + "@" idle + +:ident Idle + * idle noeat istrings + "-and" kw + "-band" kw + "-bnot" kw + "-bor" kw + "-bxor" kw + "-not" kw + "-or" kw + "-xor" kw + "-f" kw + "-as" kw + "-ccontains" kw + "-ceq" kw + "-cge" kw + "-cgt" kw + "-cle" kw + "-clike" kw + "-clt" kw + "-cmatch" kw + "-cne" kw + "-cnotcontains" kw + "-cnotlike" kw + "-cnotmatch" kw + "-contains" kw + "-creplace" kw + "-csplit" kw + "-eq" kw + "-ge" kw + "-gt" kw + "-icontains" kw + "-ieq" kw + "-ige" kw + "-igt" kw + "-ile" kw + "-ilike" kw + "-ilt" kw + "-imatch" kw + "-in" kw + "-ine" kw + "-inotcontains" kw + "-inotlike" kw + "-inotmatch" kw + "-ireplace" kw + "-is" kw + "-isnot" kw + "-isplit" kw + "-join" kw + "-le" kw + "-like" kw + "-lt" kw + "-match" kw + "-ne" kw + "-notcontains" kw + "-notin" kw + "-notlike" kw + "-notmatch" kw + "-replace" kw + "-shl" kw + "-shr" kw + "-split" kw + "begin" kw + "break" kw + "catch" kw + "class" kw + "continue" kw + "data" kw + "define" kw + "do" kw + "dynamicparam" kw + "else" kw + "elseif" kw + "end" kw + "exit" kw + "filter" kw + "finally" kw + "for" kw + "foreach" kw + "from" kw + "function" kw + "if" kw + "in" kw + "inlinescript" kw + "parallel" kw + "param" kw + "process" kw + "return" kw + "switch" kw + "throw" kw + "trap" kw + "try" kw + "until" kw + "using" kw + "var" kw + "while" kw + "workflow" kw +done + "a-zA-Z_" ident diff --git a/dotfiles/joe/syntax/prolog.jsf b/dotfiles/joe/syntax/prolog.jsf new file mode 100644 index 0000000..3a6cf9c --- /dev/null +++ b/dotfiles/joe/syntax/prolog.jsf @@ -0,0 +1,154 @@ +# JOE syntax highlight file for Prolog + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Keyword bold +=Bad bold red + +=Brace #magenta +=Variable fg_310 +=Predicate red + +:idle Idle + * idle + "\n" idle + "%" line_comment recolor=-1 + "/" maybe_comment + "0-9" first_digit recolor=-1 + "'" string_sq_1 recolor=-1 + "\"" string_dq_1 recolor=-1 + + # marking -> predicate hilite + # buffering -> keyword hilite + "a-z" atom mark buffer + + "A-Z" variable recolor=-1 + "_" _variable + "[]" brace recolor=-1 + +:line_comment Comment + * line_comment + "\n" idle + +:maybe_comment Idle + * idle noeat + "*" comment recolor=-2 + +:comment Comment + * comment + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment + "/" idle + "*" maybe_end_comment + +:brace Brace + * idle noeat + +:string_sq_1 Constant + * string_sq noeat + +:string_sq Constant + * string_sq + "\'" idle + "\\" string_sq_esc recolor=-1 + +:string_sq_esc Escape + * string_sq + "\n" string_sq recolor=-2 + +:string_dq_1 Constant + * string_dq noeat + +:string_dq Constant + * string_dq + "\"" idle + "\\" string_dq_esc recolor=-1 + +:string_dq_esc Escape + * string_dq + "\n" string_dq recolor=-2 + +:first_digit Constant + * idle noeat + # no float support +# "." float + "0-9" first_number + +:first_number Constant + * idle noeat + "0-9" first_number + "." float + +:float Constant + * idle noeat + "eE" epart + "0-9" float + +:epart Constant + * idle noeat + "0-9+\-" enum + +:enum Constant + * idle noeat + "0-9" enum + +# list of keywords includes some predicates... +:atom Idle + * atom_end noeat markend strings + "append" kw + "atom" kw + "atomic" kw + "call" kw + "catch" kw + "clause" kw + "close" kw + "fail" kw + "findall" kw + "float" kw + "halt" kw + "integer" kw + "is" kw + "member" kw + "nl" kw + "nonvar" kw + "number" kw + "once" kw + "op" kw + "open" kw + "read" kw + "repeat" kw + "throw" kw + "true" kw + "var" kw + "write" kw +done + "a-zA-Z0-9_" atom + +:kw Keyword + * idle noeat + +:atom_end Idle + * idle noeat + " " atom_end + "(" pred_end recolormark + ":" maybe_pred_end + +:pred_end Predicate + * idle noeat + +:maybe_pred_end Idle + * idle noeat + "-" pred_end recolormark + +:variable Variable + * idle noeat + "a-zA-Z0-9_" variable + +:_variable Idle + * idle noeat + # if it's not only _, color it + "a-zA-Z0-9_" variable recolor=-2 diff --git a/dotfiles/joe/syntax/properties.jsf b/dotfiles/joe/syntax/properties.jsf new file mode 100644 index 0000000..3ae0948 --- /dev/null +++ b/dotfiles/joe/syntax/properties.jsf @@ -0,0 +1,85 @@ +# JOE syntax highlight file for properties files + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Bad bold red + +=Key +=KeyEscape bold +=Separator bold + +:line_start Idle + * key noeat + "\n" line_start + " \t\r" line_start # leading spaces + "#!" line_comment recolor=-1 + "=:" missing_key recolor=-1 + +:line_comment Comment + * line_comment + "\n" line_start + +:missing_key Bad + * value_pre noeat + +:key Key + * key + "\\" key_esc recolor=-1 + " \t\r" key_post noeat + "=:" sep recolor=-1 + "\n" key_error recolor=-2 + +# one escaped char +:key_esc KeyEscape + * key + "\n" key_error recolor=-2 + +:key_post Idle + * value_pre noeat + " \t\r" key_post + "=:" sep recolor=-1 + +:key_error Bad + * key noeat + +:sep Separator + * value_pre noeat + +:value_pre Idle + * value noeat + " \t\r" value_pre + +:value Constant + * value + "\\" value_esc recolor=-1 + "\n" line_start + +:value_esc Escape + * value_error recolor=-2 + "u" value_unicode_hex1 + "\n" value_cont + +:value_unicode_hex1 Escape + * value_error recolor=-3 + "A-Fa-f0-9" value_unicode_hex2 + +:value_unicode_hex2 Escape + * value_error recolor=-4 + "A-Fa-f0-9" value_unicode_hex3 + +:value_unicode_hex3 Escape + * value_error recolor=-5 + "A-Fa-f0-9" value_unicode_hex4 + +:value_unicode_hex4 Escape + * value_error recolor=-6 + "A-Fa-f0-9" value + +:value_cont Constant + * value + " \t\r" value_cont # leading spaces + +:value_error Bad + * value noeat diff --git a/dotfiles/joe/syntax/puppet.jsf b/dotfiles/joe/syntax/puppet.jsf new file mode 100644 index 0000000..3a8e9e4 --- /dev/null +++ b/dotfiles/joe/syntax/puppet.jsf @@ -0,0 +1,159 @@ +# JOE syntax highlight file for Puppet + +=Idle +=Comment green +=CommentLabel bold green +=Constant cyan +=Escape bold cyan +=Type bold +=Keyword bold +=Bad bold red +=Var fg_310 # brown +=Brace magenta + +=KeywordAttr bold + +:idle Idle + * idle + "\n" idle + "#" line_comment recolor=-1 + "{[]}" brace recolor=-1 + "0" first_digit recolor=-1 + "1-9" decimal recolor=-1 + "\"" string recolor=-1 + "'" char recolor=-1 + "/" slash + "$" variable recolor=-1 + "A-Z" type recolor=-1 + "a-z" ident buffer + +:line_comment Comment + * line_comment + "\n" idle + +:comment Comment + * comment + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment noeat + "/" idle + "*" maybe_end_comment + +:brace Brace + * idle noeat + +# that's not completely accurate since a regex may start with a * too +:slash Idle + * regex noeat recolor=-2 + "*" comment recolor=-2 + +:first_digit Constant + * idle noeat + "0-7" octal + "89" bad_number recolor=-1 + +:bad_number Bad + * idle noeat + "0-9" bad_number + +:octal Constant + * idle noeat + "0-7_" octal + "89" bad_number recolor=-1 + +:decimal Constant + * idle noeat + "0-9_" decimal + +:char Constant + * char + "'" idle + +:string Constant + * string + "\"" idle + "$" maybe_string_subst recolor=-1 + +:maybe_string_subst Constant + * string noeat + "{" string_subst recolor=-2 + +:string_subst Escape + * string_subst + "}" string + +:regex Constant + * regex + "\\" regex_quote recolor=-1 + "/" idle + +:regex_quote Escape + * regex + +:variable Var + * idle noeat + "a-zA-Z0-9_" variable + +:type Type + * idle noeat + "a-zA-Z0-9_" type + +:ident Idle + * idle noeat strings + "case" kw + "class" kw + "define" kw + "else" kw + "elsif" kw + "false" kw + "if" kw + "in" kw + "inherits" kw + "true" kw + "undef" kw + # prominent attrs + "ensure" kw_attr + "default" kw_attr + # methods + "alert" method + "create_resources" method + "crit" method + "debug" method + "defined" method + "emerg" method + "err" method + "extlookup" method + "fail" method + "file" method + "fqdn_rand" method + "generate" method + "include" method + "info" method + "inline_template" method + "md5" method + "notice" method + "realize" method + "regsubst" method + "require" method + "search" method + "sha1" method + "shellquote" method + "split" method + "sprintf" method + "tag" method + "tagged" method + "template" method + "versioncmp" method + "warning" method +done + "a-zA-Z0-9_" ident + +:kw Keyword + * idle noeat + +:kw_attr KeywordAttr + * idle noeat + +:method Keyword + * idle noeat diff --git a/dotfiles/joe/syntax/python.jsf b/dotfiles/joe/syntax/python.jsf new file mode 100644 index 0000000..bad098a --- /dev/null +++ b/dotfiles/joe/syntax/python.jsf @@ -0,0 +1,248 @@ +# JOE syntax highlight file for Python + +# TODO: +# * octal escape sequences +# * highlight function and class names? + +=Idle +=Comment green +=CommentLabel bold green +=Docstring green +=DocstringLabel bold green +=DocEscape bold cyan +=Constant cyan +=Escape bold cyan +=Keyword bold +=Bad bold red +=Brace magenta + +=PrivateMember fg_310 # brown +=Decorator red + +:idle Idle + * idle + "#" comment recolor=-1 + "0-9" first_digit recolor=-1 + "'" string_sq_1 recolor=-1 + "\"" string_dq_1 recolor=-1 + "a-zA-Z_" ident noeat + "{}" brace recolor=-1 + "@" decorator recolor=-1 + +:brace Brace + * idle noeat + +# annotations +:decorator Decorator + * decorator + " (\t\r\n" idle noeat + +:comment Comment + * comment + # might be TODO label + "BFHNTX" comment noeat call=.comment_todo() + "\n" idle + +:string_sq_1 Constant + * string_sq noeat + "'" string_sq_2 + +:string_sq_2 Constant + * idle noeat + "'" docstr_sq recolor=-3 + +:string_sq Constant + * string_sq + "\'" idle + "\\" string_sq_esc recolor=-1 + +:string_sq_esc Escape + * string_sq + "\n" string_sq recolor=-2 + +:docstr_sq Docstring + * docstr_sq + # might be TODO label + "BFHNTX" docstr_sq noeat call=.comment_todo_docstr() + "\\" docstr_sq_esc recolor=-1 + "'" docstr_sq_1 + +:docstr_sq_1 Docstring + * docstr_sq noeat + "'" docstr_sq_2 + +:docstr_sq_2 Docstring + * docstr_sq noeat + "'" idle + +:docstr_sq_esc DocEscape + * docstr_sq + "\n" docstr_sq recolor=-2 + +:string_dq_1 Constant + * string_dq noeat + "\"" string_dq_2 + +:string_dq_2 Constant + * idle noeat + "\"" docstr_dq recolor=-3 + +:string_dq Constant + * string_dq + "\"" idle + "\\" string_dq_esc recolor=-1 + +:string_dq_esc Escape + * string_dq + "\n" string_dq recolor=-2 + +:docstr_dq Docstring + * docstr_dq + # might be TODO label + "BFHNTX" docstr_dq noeat call=.comment_todo_docstr() + "\\" docstr_dq_esc recolor=-1 + "\"" docstr_dq_1 + +:docstr_dq_1 Docstring + * docstr_dq noeat + "\"" docstr_dq_2 + +:docstr_dq_2 Docstring + * docstr_dq noeat + "\"" idle + +:docstr_dq_esc DocEscape + * docstr_dq + "\n" docstr_dq recolor=-2 + +:first_digit Constant + * idle noeat + "xX" hex + "." float + "0-9" first_number + +:hex Constant + * idle noeat + "0-9A-Fa-f" hex + +:first_number Constant + * idle noeat + "0-9" first_number + "." float + +:maybe_float Constant + * idle recolor=-2 noeat + "0-9" float recolor=-2 + +:float Constant + * idle noeat + "eE" epart + "0-9" float + +:epart Constant + * idle noeat + "0-9+\-" enum + +:enum Constant + * idle noeat + "0-9" enum + +:ident Idle + * ident1 noeat buffer + "_" priv_member recolor=-1 + +:ident1 Idle + * idle noeat strings + "and" kw + "assert" kw + "break" kw + "class" kw + "continue" kw + "def" kw + "del" kw + "elif" kw + "else" kw + "except" kw + "exec" kw + "finally" kw + "for" kw + "from" kw + "global" kw + "if" kw + "import" kw + "in" kw + "is" kw + "lambda" kw + "not" kw + "or" kw + "pass" kw + "print" kw + "raise" kw + "return" kw + "try" kw + "while" kw + "yield" kw + # quasi-keywords + "False" lit + "None" lit + "True" lit +done + "a-zA-Z0-9_" ident1 + +:kw Keyword + * idle noeat + +:lit Keyword + * idle noeat + +:priv_member PrivateMember + * idle noeat + "a-zA-Z0-9_" priv_member + +.subr comment_todo +# initial state +:comment_todo_init Comment + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Comment + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Comment + * NULL noeat return + +:comment_todo CommentLabel + * NULL noeat return +.end + +.subr comment_todo_docstr +# initial state +:comment_todo_init Docstring + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Docstring + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Docstring + * NULL noeat return + +:comment_todo DocstringLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/ruby.jsf b/dotfiles/joe/syntax/ruby.jsf new file mode 100644 index 0000000..447ba41 --- /dev/null +++ b/dotfiles/joe/syntax/ruby.jsf @@ -0,0 +1,596 @@ +# JOE syntax highlight file for Ruby + +# Oh No! It's another perl! + +# <" NULL recolor=-2 return + +:pod_start Idle + * pod_start + "\n" pod_block + +:pod_block POD + * pod_block + "=" pod_ident buffer + +:pod_ident POD + * pod_block noeat strings + "=end" rest +done + "a-zA-Z0-9_" pod_ident + +:maybe_inc Idle + * after_term noeat + "<" maybe_inc1 + +:maybe_inc1 Idle + * after_term noeat + "-" allow_space + "'\"" quoted_inc_start save_c recolor=-1 + "A-Za-z_" inc buffer noeat + +:allow_space Idle + * after_term noeat + "'\"" quoted_inc_start_allow save_c recolor=-1 + "A-Za-z_" inc_allow buffer noeat + +:quoted_inc_start Var + * quoted_inc buffer + +:quoted_inc_start_allow Var + * quoted_inc_allow buffer + +:quoted_inc Var + * quoted_inc + & skipline save_s + +:quoted_inc_allow Var + * quoted_inc_allow + & skipline_allow save_s + +:inc Var + * skipline save_s noeat + "A-Za-z0-9_" inc + +:inc_allow Var + * skipline_allow save_s noeat + "A-Za-z0-9_" inc_allow + +# Should be treated as a normal line here... + +:skipline Idle + * skipline + "\n" next_line + +:skipline_allow Idle + * skipline_allow + "\n" next_line_allow + +:todelim Constant + * todelim + "\n" next_line strings + "&" founddelim +done + +:todelim_allow Constant + * todelim_allow + "\n" next_line_allow strings + "&" founddelim +done + +# eat \n so it's not in string. +:next_line Constant + * todelim buffer + "\n" next_line + +:next_line_allow Constant + * todelim_allow buffer + " \t\n" next_line_allow + +:founddelim Var + * idle noeat + +:regex Constant + * regex + "\\" regex_quote recolor=-1 + "/" after_term + +:regex_quote Escape + * regex + +:not_string Idle + * rest noeat + "a-zA-Z0-9_" global_var recolor=-2 + "\"'`#/" rest + +:brace Brace + * rest noeat + +:line_comment Comment + * line_comment +.ifdef erb + "%" line_comment_maybe_erb_end +.endif + # might be TODO label + "BFHNTX" line_comment noeat call=.comment_todo() +.ifdef haml + "\n" NULL return +.else + "\n" idle +.endif + +:line_comment_maybe_erb_end Comment + ">" NULL recolor=-2 return + +:end_of_file_comment Comment + * end_of_file_comment + +:first_digit Constant + * after_term noeat + "x" hex + "b" binary + "." float + "eE" epart + "0-7" octal + "89" bad_number recolor=-1 + +:bad_number Bad + * after_term noeat + "0-9" bad_number + +:octal Constant + * after_term noeat + "0-7_" octal + "89" bad_number recolor=-1 + +:binary Constant + * after_term noeat + "01_" binary + "2-9" bad_number recolor=-1 + +:hex Constant + * after_term noeat + "0-9A-Fa-f_" hex + +:decimal Constant + * after_term noeat + "0-9_" decimal + "eE" epart + "." float + +:float Constant + * after_term noeat + "eE" epart + "0-9_" float + +:epart Constant + * after_term noeat + "0-9+\-" enum + +:enum Constant + * after_term noeat + "0-9_" enum + +:string Constant + * string + "\"" after_term + "\\" string_escape recolor=-1 + "#" maybe_string_subst recolor=-1 + +:maybe_string_subst Constant + * string noeat + "{" string_subst recolor=-2 + +:string_subst Escape + * string_subst + "}" string + +:string_escape Escape + * string + "x" string_hex1 + "c" string_ctrl + "N" string_named + "0-7" string_octal2 + "\n" string recolor=-2 + +:string_named Escape + * string + "{" string_named_rest + +:string_named_rest Escape + * string_named_rest + "}" string + +:string_ctrl Escape + * string + +:string_hex1 Escape + * string noeat + "{" string_unicode + "0-9a-fA-F" string_hex2 + +:string_unicode Escape + * string_unicode + "}" string + +:string_hex2 Escape + * string noeat + "0-9a-fA-F" string + +:string_octal2 Escape + * string noeat + "0-7" string_octal3 + +:string_octal3 Escape + * string noeat + "0-7" string + +# Only \\ and \' allowed in single quoted strings + +:char Constant + * char + "\n" reset + "'" after_term + "\\" char_escape recolor=-1 + +:char_escape Escape + * char recolor=-2 + "\\'" char + +:backtick Constant + * backtick + "`" after_term + "\\" backtick_escape recolor=-1 + "$@" backtick_subst recolor=-1 + +:backtick_subst Escape + * backtick noeat recolor=-1 + "a-zA-Z_0-9" backtick_subst + +:backtick_escape Escape + * backtick + "x" backtick_hex1 + "c" backtick_ctrl + "N" backtick_named + "0-7" backtick_octal2 + "\n" backtick recolor=-2 + +:backtick_named Escape + * backtick + "{" backtick_named_rest + +:backtick_named_rest Escape + * backtick_named_rest + "}" backtick + +:backtick_ctrl Escape + * backtick + +:backtick_hex1 Escape + * backtick noeat + "{" backtick_unicode + "0-9a-fA-F" backtick_hex2 + +:backtick_unicode Escape + * backtick_unicode + "}" backtick + +:backtick_hex2 Escape + * backtick noeat + "0-9a-fA-F" backtick + +:backtick_octal2 Escape + * backtick noeat + "0-7" backtick_octal3 + +:backtick_octal3 Escape + * backtick noeat + "0-7" backtick + +:ident_no_kw Idle + * after_term noeat + "0" first_digit recolor=-1 + "1-9" decimal recolor=-1 + "a-zA-Z_" ident_no_kw1 + +:ident_no_kw1 Idle + * after_term noeat + "a-zA-Z0-9_?!" ident_no_kw1 + +:ident Idle + * after_term noeat strings + "BEGIN" kw + "END" kw + "alias" kw + "and" kw + "begin" kw + "break" kw + "case" kw + "catch" kw + "class" kw_class + "def" kw + "defined" kw + "do" kw + "else" kw + "elsif" kw + "end" kw + "ensure" kw + "fail" kw + "false" kw + "for" kw + "if" kw + "in" kw + "lambda" kw + "module" kw + "next" kw + "nil" kw + "not" kw + "or" kw + "private" kw + "proc" kw + "protected" kw + "public" kw + "raise" kw + "redo" kw + "rescue" kw + "retry" kw + "return" kw + "self" kw + "super" kw + "then" kw + "throw" kw + "true" kw + "undef" kw + "unless" kw + "until" kw + "when" kw + "while" kw + "yield" kw + # quasi-keywords (Module or Kernel methods) + "require" kw + "autoload" kw + "extend" kw + "include" kw + "puts" kw + "exit" kw + "attr_accessor" kw + "attr_reader" kw + "attr_writer" kw + "module_function" kw +done + # allowing ?! is not nearly correct but fixes more than + # it destructs + "a-zA-Z0-9_?!" ident + +:kw Keyword + * rest noeat + +:kw_class Keyword + * rest noeat + " \t\n" kw_class_space + +:kw_class_space Idle + * rest noeat + # first char should be uppercase letter + "a-zA-Z_" kw_class_decl noeat + " \t\n" kw_class_space + +:kw_class_decl ClassDecl + * rest noeat + "a-zA-Z0-9_" kw_class_decl + +:pstring Idle + * match noeat + " \t" after_term noeat + "xrqQwW" match +.ifdef erb + ">" NULL recolor=-2 return +.endif + +:match Idle + * inmatch save_c recolor=-1 + " \t" match + +:inmatch Constant + * inmatch + & after_term + "\\" inmatch_quote recolor=-1 + +:inmatch_quote Escape + * inmatch + +:subst Idle + * insubst save_c recolor=-1 + "<([{`" delim_insubst save_c recolor=-1 + " \t" subst + +:insubst Constant + * insubst + & inrepl + "\\" insubst_quote recolor=-1 + +:insubst_quote Escape + * insubst + +:inrepl Constant + * inrepl + & after_term + "\\" inrepl_quote + +:inrepl_quote Escape + * inrepl + +:delim_insubst Constant + * delim_insubst + & delim_repl + "\\" delim_quote + +:delim_quote Escape + * delim_insubst + +:delim_repl Constant + * repl save_c recolor=-1 + " \t" delim_repl + +:repl Constant + * repl + & after_term + "\\" repl_quote + +:repl_quote Escape + * repl + +:maybe_symbol Idle + * rest noeat + # prevent wrong Module::Member detection + ":" rest + # first char mustn't be 0-9 + "a-zA-Z_" symbol recolor=-2 + "\"" symbol_str recolor=-2 + "'" symbol_str_sq recolor=-2 + +:symbol Symbol + * rest noeat + "a-zA-Z0-9_?!" symbol + +:symbol_str Symbol + * symbol_str + "\"" after_term + "#" symbol_maybe_str_subst recolor=-1 + +:symbol_maybe_str_subst Symbol + * symbol_str + "{" symbol_str_subst recolor=-2 + +:symbol_str_subst SymbolEscape + * symbol_str_subst + "}" symbol_str + +:symbol_str_sq Symbol + * symbol_str_sq + "'" after_term + +:proc_arg ProcArg + * rest noeat + "," proc_arg_sep noeat + "a-zA-Z_" proc_arg + +:proc_arg_sep Idle + * proc_arg + +:class_member1 Idle + * rest noeat + "a-zA-Z_" class_member recolor=-2 + "@" class_member2 + +:class_member2 ClassMember + * rest noeat + "a-zA-Z_" class_member recolor=-3 + +:class_member ClassMember + * rest noeat + "a-zA-Z0-9_" class_member + +:global_var GlobalVar + * rest noeat + "a-zA-Z0-9_" global_var + +.end + +.subr comment_todo +# initial state +:comment_todo_init Comment + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Comment + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Comment + * NULL noeat return + +:comment_todo CommentLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/scheme.jsf b/dotfiles/joe/syntax/scheme.jsf new file mode 100644 index 0000000..efe1376 --- /dev/null +++ b/dotfiles/joe/syntax/scheme.jsf @@ -0,0 +1,74 @@ +# JOE syntax highlight file for Scheme + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Bad bold red + +=Keyword bold +=Symbol red + +:idle Idle + * idle + ";" line_comment recolor=-1 + "1-9" number recolor=-1 + "\"" string recolor=-1 + "'" symbol recolor=-1 + "#" maybe_bool + "a-zA-Z_" ident buffer + +:line_comment Comment + * line_comment + "\n" idle + +:number Constant + * idle noeat + "0-9" number + +:string Constant + * string + "\"" idle + +:symbol Symbol + * idle noeat + "(" special_symbol + "a-zA-Z0-9_-" symbol + +:special_symbol Symbol + * idle noeat + ")" symbol + +:maybe_bool Idle + * idle noeat + "tf" bool recolor=-2 + +:bool Constant + * idle noeat + +:ident Idle + * idle noeat strings + "call-with-current-continuation" kw + "car" kw + "cdr" kw + "cons" kw + "define" kw + "even?" kw + "exact?" kw + "if" kw + "lambda" kw + "let" kw + "letrec" kw + "let*" kw + "list" kw + "map" kw + "null?" kw + "odd?" kw + "s" kw + "set!" kw + "zero?" kw +done + "a-zA-Z0-9_*!?-" ident + +:kw Keyword + * idle noeat diff --git a/dotfiles/joe/syntax/sieve.jsf b/dotfiles/joe/syntax/sieve.jsf new file mode 100644 index 0000000..1b31994 --- /dev/null +++ b/dotfiles/joe/syntax/sieve.jsf @@ -0,0 +1,105 @@ +# JOE syntax highlight file for Sieve + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Keyword bold +=Bad bold red +=Brace magenta + +=TaggedArgument red + +:idle Idle + * idle + "#" line_comment recolor=-1 + "/" maybe_comment + "1-9" decimal recolor=-1 + "\"" string recolor=-1 + "[]{}" brace recolor=-1 + ":" maybe_tagged_arg + "a-zA-Z_" ident buffer + +:brace Brace + * idle noeat + +:line_comment Comment + * line_comment + "\n" idle + +:maybe_comment Idle + * idle noeat + "*" comment recolor=-2 + +:comment Comment + * comment + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment noeat + "/" idle + +:decimal Constant + * idle noeat + "0-9" decimal + "KMG" decimal_suffix + +:decimal_suffix Constant + * idle noeat + +:string Constant + * string + "\"" idle + "\\" string_escape recolor=-1 + +:string_escape Escape + * string_bad_escape recolor=-1 + "\\" string + "\"" string + +:string_bad_escape Bad + * string noeat + +:maybe_tagged_arg Idle + * idle noeat + "a-zA-Z_" tagged_arg recolor=-2 + +:tagged_arg TaggedArgument + * idle noeat + "a-zA-Z0-9_" tagged_arg + +:ident Idle + * idle noeat strings + # control" + "else" kw + "elsif" kw + "if" kw + "require" kw + "stop" kw + # commands + "discard" cmd + "fileinto" cmd + "keep" cmd + "redirect" cmd + # tests + "address" test + "allof" test + "anyof" test + "envelope" test + "exists" test + "false" test + "header" test + "not" test + "size" test + "true" test +done + "a-zA-Z0-9_" ident + +:kw Keyword + * idle noeat + +:cmd Idle + * idle noeat + +:test Idle + * idle noeat diff --git a/dotfiles/joe/syntax/sql.jsf b/dotfiles/joe/syntax/sql.jsf new file mode 100644 index 0000000..8af44a1 --- /dev/null +++ b/dotfiles/joe/syntax/sql.jsf @@ -0,0 +1,497 @@ +# JOE syntax highlight file for SQL + +# See c.jsf for more documentation + +# Define no. sync lines +# You can say: +# -200 means 200 lines +# - means always start parsing from beginning of file when we lose sync +# if nothing is specified, the default is -50 +- + +=Idle +=Bad bold red +=Preproc blue +=Define bold blue +=Comment green +=IncLocal cyan +=IncSystem bold cyan +=Constant cyan +=Escape bold cyan +=Type bold +=Keyword bold +=CppKeyword bold +=Brace magenta +=Control + +:idle Idle + * idle + "\n" idle + "#" line_comment recolor=-1 + "/" slash + "-" dash + "0" first_digit recolor=-1 + "1-9" decimal recolor=-1 + "." maybe_float + "\"" string recolor=-1 + "'" char recolor=-1 + "a-zA-Z_@" ident buffer + "{}" brace recolor=-1 + ",:;=()><[]*&|!~+%^" control recolor=-1 + +:brace Brace + * idle noeat + +:control Control + * idle noeat + +:slash Idle + * idle noeat recolor=-2 # Not sure about this + "*" comment recolor=-2 + "/" line_comment recolor=-2 + +:dash Idle + * idle noeat recolor=-2 # Not sure about this + "-" line_comment recolor=-2 + +:comment Comment + * comment + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment + "/" idle + "*" maybe_end_comment + +:line_comment Comment + * line_comment + "\n" idle + +:first_digit Constant + * idle noeat + "xX" hex + "." float + "eE" epart + "0-7" octal + "89" bad_number recolor=-1 + +:bad_number Bad + * idle noeat + "0-9" bad_number + +:octal Constant + * idle noeat + "0-7" octal + "89" bad_number recolor=-1 + +:hex Constant + * idle noeat + "0-9A-Fa-f" hex + +:decimal Constant + * idle noeat + "0-9" decimal + "eE" epart + "." float + +:maybe_float Constant + * idle recolor=-2 noeat + "0-9" float recolor=-2 + +:float Constant + * idle noeat + "eE" epart + "0-9" float + +:epart Constant + * idle noeat + "0-9+\-" enum + +:enum Constant + * idle noeat + "0-9" enum + +:string Constant + * string + "\"" idle + "\\" string_escape recolor=-1 + "%" string_control recolor=-1 + +:string_escape Escape + * string + "x" string_hex1 + "0-7" string_octal2 + "\n" string recolor=-2 + +:string_hex1 Escape + * string noeat + "0-9a-fA-F" string_hex2 + +:string_hex2 Escape + * string noeat + "0-9a-fA-F" string + +:string_octal2 Escape + * string noeat + "0-7" string_octal3 + +:string_octal3 Escape + * string noeat + "0-7" string + +:string_control Escape + * string + "\"" string noeat + "\n" idle + "0-9.\-+ #hjILtz$" string_control + +:char Constant + * char + "\n" idle + "'" idle + "\\" char_escape recolor=-1 + +:char_escape Escape + * char + "x" char_hex1 + "0-7" char_octal2 + "\n" char recolor=-2 + +:char_hex1 Escape + * char noeat + "0-9a-fA-F" char_hex2 + +:char_hex2 Escape + * char noeat + "0-9a-fA-F" char + +:char_octal2 Escape + * char noeat + "0-7" char_octal3 + +:char_octal3 Escape + * char noeat + "0-7" char + +:ident Idle + * idle noeat istrings + "absolute" kw + "add" kw + "admindb" kw + "all" kw + "alphanumeric" kw + "alter" kw + "and" kw + "any" kw + "are" kw + "as" kw + "asc" kw + "assertion" kw + "authorization" kw + "autoincrement" kw + "avg" kw + "begin" kw + "between" kw + "binary" kw + "bit" kw + "bit_length" kw + "boolean" kw + "both" kw + "by" kw + "byte" kw + "cascade" kw + "catalog" kw + "char," kw + "character" kw + "character_length" kw + "char_length" kw + "check" kw + "clause" kw + "close" kw + "clustered" kw + "coalesce" kw + "collate" kw + "collation" kw + "column" kw + "commit" kw + "comp," kw + "compression" kw + "connect" kw + "connection" kw + "constraint," kw + "constraints" kw + "container" kw + "contains" kw + "convert" kw + "count" kw + "counter" kw + "create" kw +# "currency" kw + "current_date" kw + "current_time" kw + "current_timestamp" kw + "current_user" kw + "cursor" kw + "d" kw + "database" kw + "date" kw + "datetime" kw + "day" kw + "dec," kw + "decimal" kw + "declare" kw + "delete" kw + "desc" kw + "disallow" kw + "disconnect" kw + "distinct" kw + "distinctrow" kw + "domain" kw + "double" kw + "drop" kw + "eqv" kw + "exclusiveconnect" kw + "exec," kw + "execute" kw + "exists" kw + "extract" kw + "false" kw + "fetch" kw + "first" kw + "float," kw + "float4" kw + "float8" kw + "foreign" kw + "from" kw + "general" kw + "grant" kw + "group" kw + "guid" kw + "having" kw + "hour" kw + "i" kw + "identity" kw + "ieeedouble" kw + "ieeesingle" kw + "ignore" kw + "image" kw + "imp" kw + "in" kw + "in" kw + "index" kw + "indexcreatedb" kw + "inner" kw + "input" kw + "insensitive" kw + "insert" kw + "int," kw + "integer," kw + "integer1" kw + "integer2" kw + "integer4" kw + "interval" kw + "into" kw + "is" kw + "isolation" kw + "join" kw + "key" kw + "language" kw + "last" kw + "left" kw + "level" kw + "like" kw + "logical," kw + "logical1" kw + "long" kw + "longbinary" kw + "longchar" kw + "longtext" kw + "lower" kw + "match" kw + "max" kw + "memo" kw + "min" kw + "minute" kw + "mod" kw + "money" kw + "month" kw + "national" kw + "nchar" kw + "nonclustered" kw + "not" kw + "ntext" kw + "null" kw + "number" kw + "numeric" kw + "nvarchar" kw + "octet_length" kw + "oleobject" kw + "on" kw + "open" kw + "option" kw + "or" kw + "order" kw + "outer" kw + "output" kw + "owneraccess" kw + "pad" kw + "parameters" kw + "partial" kw + "password" kw + "percent" kw + "pivot" kw + "position" kw + "precision" kw + "prepare" kw + "primary" kw + "privileges" kw + "proc," kw + "procedure" kw + "public" kw + "real" kw + "references" kw + "restrict" kw + "revoke" kw + "right" kw + "rollback" kw + "schema" kw + "second" kw + "select" kw + "selectschema" kw + "selectsecurity" kw + "set" kw + "short" kw + "single" kw + "size" kw + "smalldatetime" kw + "smallint" kw + "smallmoney" kw + "some" kw + "space" kw + "sql" kw + "sqlcode," kw + "sqlerror," kw + "sqlstate" kw + "stdev" kw + "stdevp" kw + "string" kw + "substring" kw + "sum" kw + "sysname" kw + "system_user" kw + "table" kw + "tableid" kw + "temporary" kw + "text" kw + "time" kw + "timestamp" kw + "timezone_hour" kw + "timezone_minute" kw + "tinyint" kw + "to" kw + "top" kw + "trailing" kw + "transaction" kw + "transform" kw + "translate" kw + "translation" kw + "trim" kw + "true" kw + "union" kw + "unique" kw + "uniqueidentifier" kw + "unknown" kw + "update" kw + "updateidentity" kw + "updateowner" kw + "updatesecurity" kw + "upper" kw + "usage" kw + "user" kw + "using" kw +# "value" kw + "values" kw + "var" kw + "varbinary" kw + "varchar" kw + "varp" kw + "varying" kw + "view" kw + "when" kw + "whenever" kw + "where" kw + "with" kw + "work" kw + "xor" kw + "year" kw + "yesno" kw + "zone" kw + "begin" kw + "end" kw +# T-SQl + "if" kw + "then" kw + "else" kw + "print" kw + "case" kw + "go" kw + "cross" kw + "exec" kw + "use" kw +# mysql + "int" kw + "char" kw + "default" kw + "type" kw + "float" kw + "begint" kw + "mediumint" kw + "longint" kw + "blob" kw + "tinyblob" kw + "mediumblob" kw + "longblob" kw + "tinytext" kw + "mediumtext" kw + "longtext" kw + "show" kw + "explain" kw + "enum" kw + "bigint" kw + "unsigned" kw + "constraint" kw + "serial" kw + "engine" kw + "charset" kw + "returns" kw + "truncate" kw + "modifies" kw + "sql" kw + "data" kw + "start" kw + "function" kw + "reads" kw + "return" kw + "repeat" kw + "until" kw + "call" kw + "action" kw + "delimiter" kw +# olbsql + "weakly" kw + "aliases" kw + "map" kw + "row" kw + "deterministic" kw + "list" kw +done + "a-zA-Z0-9_" ident + +:type Type + * idle noeat + +:kw Keyword + * idle noeat + +:cppkw CppKeyword + * idle noeat diff --git a/dotfiles/joe/syntax/terraform.jsf b/dotfiles/joe/syntax/terraform.jsf new file mode 100644 index 0000000..518a8fb --- /dev/null +++ b/dotfiles/joe/syntax/terraform.jsf @@ -0,0 +1,174 @@ +# JOE syntax highlight file for Terraform (or "HashiCorp configuration language") + +=Idle +=Comment green +=CommentLabel bold green +=Constant cyan +=Escape bold cyan +=Bad bold red + +=Keyword fg_310 # brown +=Interpolate magenta +=InterpolateVar bold magenta + +:idle Idle + * idle + "#" line_comment recolor=-1 + "/" maybe_comment + "0-9" number recolor=-1 + "\"" string recolor=-1 + "a-zA-Z_" ident buffer + +:line_comment Comment + * line_comment + "\n" idle + +:maybe_comment Idle + * idle noeat + "*" comment recolor=-2 + +:comment Comment + * comment + # might be TODO label + "BFHNTX" comment noeat call=.comment_todo() + "*" maybe_end_comment + +:maybe_end_comment Comment + * comment noeat + "/" idle + "*" maybe_end_comment + +:number Constant + * idle noeat + "0-9" number + +:string Constant + * string + "$" maybe_interpolate + "\"" idle + +:maybe_interpolate Constant + * idle noeat + "{" interpolate recolor=-2 + +:interpolate Interpolate + * interpolate + "\"" interpolate_string recolor=-1 + "0-9" interpolate_number recolor=-1 + "*" interpolate_star recolor=-1 + "a-zA-Z" interpolate_ident buffer + "}" string + +:interpolate_string Constant + * interpolate_string + "\"" interpolate + +:interpolate_number Constant + * interpolate noeat + "0-9" interpolate_number + +:interpolate_star Constant + * interpolate noeat + +:interpolate_ident Interpolate + * interpolate noeat strings + "basename" func + "ceil" func + "chomp" func + "cidrhost" func + "cidrnetmask" func + "cidrsubnet" func + "coalesce" func + "compact" func + "concat" func + "count" var + "data" var + "dirname" func + "distinct" func + "element" func + "file" func + "floor" func + "format" func + "formatlist" func + "index" func + "join" func + "keys" func + "length" func + "list" func + "lookup" func + "lower" func + "map" func + "max" func + "merge" func + "min" func + "module" var + "path" var + "pathexpand" func + "replace" func + "self" var + "signum" func + "slice" func + "sort" func + "split" func + "substr" func +# "terraform" var + "timestamp" func + "title" func + "trimspace" func + "upper" func + "uuid" func + "values" func + "var" var + "zipmap" func +done + "a-zA-Z" interpolate_ident + +:var InterpolateVar + * interpolate noeat + +:func InterpolateVar + * interpolate noeat + +:ident Idle + * idle noeat strings + "data" kw + "false" bool + "module" kw + "output" kw + "provider" kw + "resource" kw + "terraform" kw + "true" bool + "variable" kw +done + "a-zA-Z_" ident + +:kw Keyword + * idle noeat + +:bool Constant + * idle noeat + +.subr comment_todo +# initial state +:comment_todo_init Comment + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Comment + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Comment + * NULL noeat return + +:comment_todo CommentLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/tex.jsf b/dotfiles/joe/syntax/tex.jsf new file mode 100644 index 0000000..c575669 --- /dev/null +++ b/dotfiles/joe/syntax/tex.jsf @@ -0,0 +1,108 @@ +# joe [La]TeX syntax highlighting + +=Idle +=Comment green +=CommentLabel bold green +=Keyword bold +=Mathmode cyan +=Brace magenta +=Parameter bold blue +=Bad bold red + +:idle Idle + * idle + "%" comment recolor=-1 + "$" math recolor=-1 + "\\" command recolor=-1 + "{[]}" brace recolor=-1 + "#" parameter recolor=-1 + +:comment Comment + * comment + # might be TODO label + "BFHNTX" comment noeat call=.comment_todo() + "\n" idle + +:math Mathmode + * math + "\\" math_command recolor=-1 + "{[]}" math_brace recolor=-1 + "$" idle + +:math_command Keyword + * math + "a-zA-Z@" math_command2 + +:math_command2 Keyword + * math noeat + "a-zA-Z@" math_command2 + +:parameter Parameter + * idle noeat + "0-9" idle + +:brace Brace + * idle noeat + +:math_brace Brace + * math noeat + +:command Keyword + * idle + "a-zA-Z@" command2 buffer + +:command2 Keyword + * idle noeat strings +# "begin" env_begin + "verb" verbatim +done + "a-zA-Z@" command2 + +:verbatim Keyword + * verbatim1 save_c + +:verbatim1 Idle + * verbatim1 + & end_verbatim recolor=-1 + +:end_verbatim Keyword + * idle noeat + +#:env_begin Keyword +# * env_begin1 noeat + +#:env_begin1 Idle +# * env_begin1 +# "{" env_begin_brace recolor=-1 + +#:env_begin_brace Brace +# * env_begin_name noeat buffer + +#:env_begin_name Bad +# * env_begin_name +# "}" idle noeat + + +.subr comment_todo +# initial state +:comment_todo_init Comment + * comment_todo_guess buffer + +# highlight common TODO labels +:comment_todo_guess Comment + * comment_todo_unknown noeat strings + "BUG" comment_todo + "FIXME" comment_todo + "HACK" comment_todo + "NOTE" comment_todo + "TODO" comment_todo + "XXX" comment_todo +done + "A-Z" comment_todo_guess + +:comment_todo_unknown Comment + * NULL noeat return + +:comment_todo CommentLabel + * NULL noeat return +.end diff --git a/dotfiles/joe/syntax/whitespace.jsf b/dotfiles/joe/syntax/whitespace.jsf new file mode 100644 index 0000000..3b11bf5 --- /dev/null +++ b/dotfiles/joe/syntax/whitespace.jsf @@ -0,0 +1,16 @@ +# JOE syntax highlight file for Whitespace + +=Idle +=Space inverse red +=Tab inverse green + +:idle Idle + * idle + " " space recolor=-1 + "\t" tab recolor=-1 + +:space Space + * idle noeat + +:tab Tab + * idle noeat diff --git a/dotfiles/joe/syntax/yaml.jsf b/dotfiles/joe/syntax/yaml.jsf new file mode 100644 index 0000000..317bf51 --- /dev/null +++ b/dotfiles/joe/syntax/yaml.jsf @@ -0,0 +1,166 @@ +# JOE syntax highlight file for YAML +# by Christian Nicolai (http://mycrobase.de) + +=Idle +=Comment green +=Constant cyan +=Escape bold cyan +=Type bold +=Keyword bold +=Bad bold red +=Brace magenta + +=Directive red +=Reference yellow +=LocalType fg_310 # brown +=BlockDelim bold blue + +=BadTab inverse red + +:line_start Idle + * maybe_key noeat + "\t" bad_tab recolor=-1 + "#" line_comment recolor=-1 + " " line_start + +:idle Constant + * plain_scalar noeat + "\n" line_start + "%" directive recolor=-1 + " " maybe_idle_comment + "'" string_sq_1 recolor=-1 + "\"" string_dq_1 recolor=-1 + "{[]}" brace recolor=-1 + "." maybe_block_end1 + "*&" maybe_reference + "!" maybe_typecast + +:plain_scalar Constant + * plain_scalar + "\t" bad_tab recolor=-1 + "\n" line_start noeat + " " maybe_plain_scalar_comment + +:maybe_key Idle + * maybe_key1 recolor=-1 mark + "\n" line_start + "%#'\"{[]}*&!" idle noeat + "-" maybe_block1 mark + +:maybe_key1 Constant + * idle noeat + ":" key + "a-zA-Z0-9_-" maybe_key1 + " " maybe_key1_comment + +# necessary to include the : +:key Idle + * key_end noeat recolormark + +:key_end Idle + * idle noeat + +# mark bad tabs until the first non-whitespace +:bad_tab BadTab + * line_start noeat + +:maybe_plain_scalar_comment Comment + * plain_scalar noeat + "#" line_comment + +:maybe_key1_comment Comment + * maybe_key1 noeat + "#" line_comment + +:maybe_idle_comment Comment + * idle noeat + "#" line_comment + +:line_comment Comment + * line_comment + "\n" line_start + +:brace Brace + * idle noeat + +:directive Directive + * directive + "\n" line_start + +:string_sq_1 Constant + * string_sq noeat + +:string_sq Constant + * string_sq + "\'" idle + "\\" string_sq_esc recolor=-1 + +:string_sq_esc Escape + * string_sq + "\n" string_sq recolor=-2 + +:string_dq_1 Constant + * string_dq noeat + +:string_dq Constant + * string_dq + "\"" idle + "\\" string_dq_esc recolor=-1 + +:string_dq_esc Escape + * string_dq + "\n" string_dq recolor=-2 + +:maybe_block1 Constant + * maybe_key1 noeat + "-" maybe_block2 + +:maybe_block2 Constant + * maybe_key1 noeat + "-" block recolor=-3 + +:block BlockDelim + * idle noeat + +:maybe_block_end1 Constant + * idle noeat + "." maybe_block_end2 + +:maybe_block_end2 Constant + * idle noeat + "." block_end recolor=-3 + +:block_end BlockDelim + * idle noeat + +:maybe_reference Constant + * idle + "a-zA-Z_" reference recolor=-2 + +:reference Reference + * idle noeat + "a-zA-Z0-9_" reference + +:maybe_typecast Constant + * idle noeat + "a-zA-Z_" local_type recolor=-1 + "!" builtin_type + +:builtin_type Idle + * idle noeat + "a-zA-Z" builtin_type2 buffer + +:builtin_type2 Idle + * idle noeat strings + "str" type + "float" type + "binary" type +done + "a-zA-Z_" builtin_type2 + +:type Type + * idle noeat + +:local_type LocalType + * idle noeat + "a-zA-Z_" local_type diff --git a/dotfiles/joerc b/dotfiles/joerc new file mode 100644 index 0000000..0e118fe --- /dev/null +++ b/dotfiles/joerc @@ -0,0 +1,10 @@ +:include /usr/local/etc/joe/joerc + +* +-autoindent +-tab 2 +-istep 2 +-indentc 32 +-wordwrap +-nonotice +-colors solarized \ No newline at end of file diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 1e52c19..a3e0b00 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -56,7 +56,7 @@ gblame() { } parse_git_branch() { - git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' + gitbranch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } HISTFILE=~/.histfile