dotfiles

My dotfiles.
Log | Files | Refs | LICENSE

commit 941fc684c4e95db7938189fa47ba0bfbfc01abd5
parent c7f2fff8e4ea445ba10c61bbdaec6e34fb13bd98
Author: Ryan Jeffrey <ryan@ryanmj.xyz>
Date:   Tue,  9 Feb 2021 01:31:19 -0800

Delete files, minor emacs changes

Diffstat:
M.config/bspwm/bspwmrc | 4++--
M.config/emacs/config.org | 13++++++++++++-
D.config/joestar/colors/default.jcf | 53-----------------------------------------------------
D.config/joestar/colors/gruvbox.jcf | 205-------------------------------------------------------------------------------
D.config/joestar/colors/ir_black.jcf | 130-------------------------------------------------------------------------------
D.config/joestar/colors/manoj_dark.jcf | 211-------------------------------------------------------------------------------
D.config/joestar/colors/molokai.jcf | 129-------------------------------------------------------------------------------
D.config/joestar/colors/rgb.jcf | 662-------------------------------------------------------------------------------
D.config/joestar/colors/solarized.jcf | 169-------------------------------------------------------------------------------
D.config/joestar/colors/wombat.jcf | 87-------------------------------------------------------------------------------
D.config/joestar/colors/xoria.jcf | 60------------------------------------------------------------
D.config/joestar/colors/zenburn-hc.jcf | 149-------------------------------------------------------------------------------
D.config/joestar/colors/zenburn.jcf | 147-------------------------------------------------------------------------------
D.config/joestar/ftyperc | 937-------------------------------------------------------------------------------
D.config/joestar/joestarrc | 1354-------------------------------------------------------------------------------
D.config/joestar/syntax/4gl.jsf | 219-------------------------------------------------------------------------------
D.config/joestar/syntax/ada.jsf | 193-------------------------------------------------------------------------------
D.config/joestar/syntax/ant.jsf | 30------------------------------
D.config/joestar/syntax/asm.jsf | 257-------------------------------------------------------------------------------
D.config/joestar/syntax/avr.jsf | 197-------------------------------------------------------------------------------
D.config/joestar/syntax/awk.jsf | 237-------------------------------------------------------------------------------
D.config/joestar/syntax/batch.jsf | 186-------------------------------------------------------------------------------
D.config/joestar/syntax/c.jsf | 910-------------------------------------------------------------------------------
D.config/joestar/syntax/clojure.jsf | 1497-------------------------------------------------------------------------------
D.config/joestar/syntax/cobol.jsf | 697-------------------------------------------------------------------------------
D.config/joestar/syntax/coffee.jsf | 580-------------------------------------------------------------------------------
D.config/joestar/syntax/comment_todo.jsf | 29-----------------------------
D.config/joestar/syntax/conf.jsf | 86-------------------------------------------------------------------------------
D.config/joestar/syntax/context.jsf | 61-------------------------------------------------------------
D.config/joestar/syntax/csh.jsf | 248-------------------------------------------------------------------------------
D.config/joestar/syntax/csharp.jsf | 506-------------------------------------------------------------------------------
D.config/joestar/syntax/css.jsf | 169-------------------------------------------------------------------------------
D.config/joestar/syntax/d.jsf | 560-------------------------------------------------------------------------------
D.config/joestar/syntax/debian.jsf | 67-------------------------------------------------------------------
D.config/joestar/syntax/diff.jsf | 427-------------------------------------------------------------------------------
D.config/joestar/syntax/dockerfile.jsf | 171-------------------------------------------------------------------------------
D.config/joestar/syntax/elixir.jsf | 239-------------------------------------------------------------------------------
D.config/joestar/syntax/erb.jsf | 31-------------------------------
D.config/joestar/syntax/erlang.jsf | 506-------------------------------------------------------------------------------
D.config/joestar/syntax/filename.jsf | 21---------------------
D.config/joestar/syntax/fortran.jsf | 822-------------------------------------------------------------------------------
D.config/joestar/syntax/git-commit.jsf | 17-----------------
D.config/joestar/syntax/go.jsf | 361-------------------------------------------------------------------------------
D.config/joestar/syntax/groovy.jsf | 502-------------------------------------------------------------------------------
D.config/joestar/syntax/haml.jsf | 124-------------------------------------------------------------------------------
D.config/joestar/syntax/haskell.jsf | 445-------------------------------------------------------------------------------
D.config/joestar/syntax/html.jsf | 1358-------------------------------------------------------------------------------
D.config/joestar/syntax/htmlerb.jsf | 7-------
D.config/joestar/syntax/ini.jsf | 79-------------------------------------------------------------------------------
D.config/joestar/syntax/iptables.jsf | 129-------------------------------------------------------------------------------
D.config/joestar/syntax/java.jsf | 311-------------------------------------------------------------------------------
D.config/joestar/syntax/jcf.jsf | 86-------------------------------------------------------------------------------
D.config/joestar/syntax/joerc.jsf | 122-------------------------------------------------------------------------------
D.config/joestar/syntax/js.jsf | 704-------------------------------------------------------------------------------
D.config/joestar/syntax/jsf.jsf | 627-------------------------------------------------------------------------------
D.config/joestar/syntax/jsf_check.jsf | 6------
D.config/joestar/syntax/json.jsf | 309-------------------------------------------------------------------------------
D.config/joestar/syntax/lisp.jsf | 26--------------------------
D.config/joestar/syntax/lua.jsf | 349-------------------------------------------------------------------------------
D.config/joestar/syntax/m4.jsf | 122-------------------------------------------------------------------------------
D.config/joestar/syntax/mail.jsf | 198-------------------------------------------------------------------------------
D.config/joestar/syntax/mason.jsf | 8--------
D.config/joestar/syntax/matlab.jsf | 97-------------------------------------------------------------------------------
D.config/joestar/syntax/md.jsf | 135-------------------------------------------------------------------------------
D.config/joestar/syntax/ocaml.jsf | 406-------------------------------------------------------------------------------
D.config/joestar/syntax/pascal.jsf | 241-------------------------------------------------------------------------------
D.config/joestar/syntax/perl.jsf | 487-------------------------------------------------------------------------------
D.config/joestar/syntax/php.jsf | 339-------------------------------------------------------------------------------
D.config/joestar/syntax/powershell.jsf | 329-------------------------------------------------------------------------------
D.config/joestar/syntax/prolog.jsf | 160-------------------------------------------------------------------------------
D.config/joestar/syntax/properties.jsf | 89-------------------------------------------------------------------------------
D.config/joestar/syntax/ps.jsf | 380-------------------------------------------------------------------------------
D.config/joestar/syntax/puppet.jsf | 167-------------------------------------------------------------------------------
D.config/joestar/syntax/python.jsf | 403-------------------------------------------------------------------------------
D.config/joestar/syntax/r.jsf | 175-------------------------------------------------------------------------------
D.config/joestar/syntax/rexx.jsf | 82-------------------------------------------------------------------------------
D.config/joestar/syntax/ruby.jsf | 703-------------------------------------------------------------------------------
D.config/joestar/syntax/rust.jsf | 402-------------------------------------------------------------------------------
D.config/joestar/syntax/scala.jsf | 357-------------------------------------------------------------------------------
D.config/joestar/syntax/sed.jsf | 152-------------------------------------------------------------------------------
D.config/joestar/syntax/sh.jsf | 363-------------------------------------------------------------------------------
D.config/joestar/syntax/sieve.jsf | 121-------------------------------------------------------------------------------
D.config/joestar/syntax/skill.jsf | 107-------------------------------------------------------------------------------
D.config/joestar/syntax/sml.jsf | 415-------------------------------------------------------------------------------
D.config/joestar/syntax/sql.jsf | 471-------------------------------------------------------------------------------
D.config/joestar/syntax/swift.jsf | 354-------------------------------------------------------------------------------
D.config/joestar/syntax/tcl.jsf | 278-------------------------------------------------------------------------------
D.config/joestar/syntax/tex.jsf | 82-------------------------------------------------------------------------------
D.config/joestar/syntax/troff.jsf | 83-------------------------------------------------------------------------------
D.config/joestar/syntax/typescript.jsf | 6------
D.config/joestar/syntax/verilog.jsf | 284-------------------------------------------------------------------------------
D.config/joestar/syntax/vhdl.jsf | 219-------------------------------------------------------------------------------
D.config/joestar/syntax/whitespace.jsf | 17-----------------
D.config/joestar/syntax/xml.jsf | 312-------------------------------------------------------------------------------
D.config/joestar/syntax/yaml.jsf | 152-------------------------------------------------------------------------------
M.config/kitty/kitty.conf | 6+++---
M.config/zsh/zshrc | 6+++++-
97 files changed, 22 insertions(+), 27504 deletions(-)

diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc @@ -6,8 +6,8 @@ ws1=("Web" "Music" "Mail" "_>" "Msg") ws2=("_>" "_>" "_>" "_>" "Prop") if [ "$HOST" = "Southpark" ]; then - bspc monitor "HDMI-A-2" -d $ws1 - bspc monitor "DisplayPort-1" -d $ws2 + #bspc monitor "HDMI-A-2" -d $ws1 + bspc monitor "DisplayPort-1" -d $ws1 $ws2 xset -display :0.0 s off xset -display :0.0 s noblank else diff --git a/.config/emacs/config.org b/.config/emacs/config.org @@ -107,6 +107,15 @@ (setq vc-follow-symlinks t) ; Otherwise emacs asks (setq tramp-terminal-type "tramp") ; See zshrc +(add-to-list 'display-buffer-alist + '("\\`\\*Man .*\\*\\'" . + (display-buffer-reuse-mode-window + (inhibit-same-window . nil) + (mode . Man-mode)))) + +(setenv "MANWIDTH" "80") ; For man mode + + ;; TODO Smithets (global-set-key (kbd "M-SPC") #'(lambda () (interactive) @@ -323,7 +332,9 @@ :init ; (add-hook 'after-init-hook '(lambda () ; (global-magit-file-mode -1))) -) + + (add-hook 'diff-mode-hook 'whitespace-mode)) + #+end_src ** Misc #+BEGIN_SRC emacs-lisp diff --git a/.config/joestar/colors/default.jcf b/.config/joestar/colors/default.jcf @@ -1,53 +0,0 @@ - -.colors 16 - --selection default/default inverse --menusel default/default inverse --linum default dim --curlinum default bold - -=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 -=Brace magenta -=Control -=Ident -=Tag bold blue -=TagName +Tag -=TODO default/default inverse -=Title bold - -=diff.DelLine red -=diff.AddLine green -=diff.ChgLine magenta -=diff.Garbage dim white -=diff.FileOld bold red -=diff.FileNew bold green -=diff.Hunk bold blue - -# For backwards compatibility with older syntaxes that specify colors, -# the scheme must specify termcolors. Yes this is a bit of a kludge. --term 0 0 --term 1 1 --term 2 2 --term 3 3 --term 4 4 --term 5 5 --term 6 6 --term 7 7 --term 8 8 --term 9 9 --term 10 10 --term 11 11 --term 12 12 --term 13 13 --term 14 14 --term 15 15 diff --git a/.config/joestar/colors/gruvbox.jcf b/.config/joestar/colors/gruvbox.jcf @@ -1,205 +0,0 @@ - -# Gruvbox is a VIM scheme written by Pavel Pertsev -# and can be found in its original version at https://github.com/morhetz/gruvbox - -.colors 256 - -# Palette -.set bg 235 -.set dark_red 124 -.set dark_green 106 -.set dark_yellow 172 -.set dark_blue 66 -.set dark_purple 132 -.set dark_aqua 72 -.set dark_gray 246 -.set light_gray 245 -.set light_red 167 -.set light_green 142 -.set light_yellow 214 -.set light_blue 109 -.set light_purple 175 -.set light_aqua 108 -.set fg 223 - -.set bg0_h 234 -.set bg0 235 -.set bg1 237 -.set bg2 239 -.set bg3 241 -.set bg4 243 -.set dark_orange 166 -.set bg0_s 236 -.set fg4 246 -.set fg3 248 -.set fg2 250 -.set fg1 223 -.set fg0 229 -.set light_orange 208 - --text [fg]/[bg] --selection /[bg3] --status [fg2]/[bg2] bold --menusel /[bg2] bold --linum [bg4]/[bg1] --curlinum [dark_yellow]/[bg1] --curlin /[bg1] --cursor [bg]/[fg] - -=Comment [light_gray] italic -=TODO inverse bold italic -=Bad [light_red] bold inverse - -=DefinedIdent [light_blue] -=DefinedFunction [light_green] -=Builtin [light_green] - -=Preproc [light_aqua] -=IncSystem [dark_aqua] - -=Keyword [light_red] -=Operator -=Escape [light_orange] -=Label +Keyword -=Loop [light_red] -=Conditional +Keyword -=Statement +Keyword -=Type [light_yellow] -=StorageClass [light_orange] -=Structure [light_aqua] - -=Constant [light_purple] -=String [fg2]/[bg1] -=StringEscape /[bg1] -=Character +Constant -=CharacterEscape +Escape -=Variable [light_blue] -=StringVariable [light_blue]/[bg1] - -=Tag [light_blue] -=TagName [light_aqua] bold -=TagEnd +Tag - -=Define [dark_blue] -=diff.AddLine [bg0]/[light_green] -=diff.DelLine [bg0]/[dark_red] -=Ignore [dark_gray] - -# Terminal colors --term 0 [bg0] --term 1 [dark_red] --term 2 [dark_green] --term 3 [dark_yellow] --term 4 [dark_blue] --term 5 [dark_purple] --term 6 [dark_aqua] --term 7 [dark_gray] --term 8 [light_gray] --term 9 [light_red] --term 10 [light_green] --term 11 [light_yellow] --term 12 [light_blue] --term 13 [light_purple] --term 14 [light_aqua] --term 15 [fg] - -.colors * - -# Palette -.set bg $282828 -.set dark_red $cc241d -.set dark_green $98971a -.set dark_yellow $d79921 -.set dark_blue $458588 -.set dark_purple $b16286 -.set dark_aqua $689d6a -.set dark_gray $a89984 -.set light_gray $928374 -.set light_red $fb4934 -.set light_green $b8bb26 -.set light_yellow $fabd2f -.set light_blue $83a598 -.set light_purple $d3869b -.set light_aqua $8ec07c -.set fg $ebdbb2 - -.set bg0_h $1d2021 -.set bg0 $282828 -.set bg1 $3c3836 -.set bg2 $504945 -.set bg3 $665c54 -.set bg4 $7c6f64 -.set dark_orange $d65d0e -.set bg0_s $32302f -.set fg4 $a89984 -.set fg3 $bdae93 -.set fg2 $d5c4a1 -.set fg1 $ebdbb2 -.set fg0 $fbf1c7 -.set light_orange $fe8019 - --text [fg]/[bg] --selection /[bg3] --status [fg2]/[bg2] bold --menusel /[bg2] bold --linum [bg4]/[bg1] --curlinum [dark_yellow]/[bg1] --curlin /[bg1] --cursor [bg]/[fg] - -=Comment [light_gray] italic -=TODO inverse bold italic -=Bad [light_red] bold inverse - -=DefinedIdent [light_blue] -=DefinedFunction [light_green] -=Builtin [light_green] - -=Preproc [light_aqua] -=IncSystem [dark_aqua] - -=Keyword [light_red] -=Operator -=Escape [light_orange] -=Label +Keyword -=Loop [light_red] -=Conditional +Keyword -=Statement +Keyword -=Type [light_yellow] -=StorageClass [light_orange] -=Structure [light_aqua] - -=Constant [light_purple] -=String [fg2]/[bg1] -=StringEscape /[bg1] -=Character +Constant -=CharacterEscape +Escape -=Variable [light_blue] -=StringVariable [light_blue]/[bg1] - -=Tag [light_blue] -=TagName [light_aqua] bold -=TagEnd +Tag - -=Define [dark_blue] -=diff.AddLine [bg0]/[light_green] -=diff.DelLine [bg0]/[dark_red] -=Ignore [dark_gray] - -# Terminal colors --term 0 [bg0] --term 1 [dark_red] --term 2 [dark_green] --term 3 [dark_yellow] --term 4 [dark_blue] --term 5 [dark_purple] --term 6 [dark_aqua] --term 7 [dark_gray] --term 8 [light_gray] --term 9 [light_red] --term 10 [light_green] --term 11 [light_yellow] --term 12 [light_blue] --term 13 [light_purple] --term 14 [light_aqua] --term 15 [fg] diff --git a/.config/joestar/colors/ir_black.jcf b/.config/joestar/colors/ir_black.jcf @@ -1,130 +0,0 @@ - -# 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/.config/joestar/colors/manoj_dark.jcf b/.config/joestar/colors/manoj_dark.jcf @@ -1,211 +0,0 @@ - -# Manoj dark is an emacs theme created by Manoj Srivastava -# It can be found at https://github.com/emacs-mirror/emacs/blob/master/etc/themes/manoj-dark-theme.el - - -.colors 256 - -# Palette -.set bg 000 -.set dark_red 124 -.set dark_green 106 -.set dark_yellow 172 -.set dark_blue 66 -.set dark_purple 132 -.set dark_aqua 72 -.set dark_gray 246 -.set light_gray 245 -.set light_red 167 -.set light_green 142 -.set light_yellow 214 -.set light_blue 109 -.set light_purple 175 -.set light_aqua 108 -.set fg 223 - -.set bg0_h 234 -.set bg0 235 -.set bg1 237 -.set bg2 239 -.set bg3 241 -.set bg4 243 -.set dark_orange 166 -.set bg0_s 236 -.set fg4 246 -.set fg3 248 -.set fg2 250 -.set fg1 223 -.set fg0 229 -.set light_orange 208 - --text [fg]/[bg] --selection /[bg3] --status [fg2]/[bg2] bold --menusel /[bg2] bold --linum [bg4]/[bg1] --curlinum [dark_yellow]/[bg1] --curlin /[bg1] --cursor [bg]/[fg] - -=Comment [light_gray] italic -=TODO inverse bold italic -=Bad [light_red] bold inverse - -=DefinedIdent [light_blue] -=DefinedFunction [light_green] -=Builtin [light_green] - -=Preproc [light_aqua] -=IncSystem [dark_aqua] - -=Keyword [light_red] -=Operator -=Escape [light_orange] -=Label +Keyword -=Loop [light_red] -=Conditional +Keyword -=Statement +Keyword -=Type [light_yellow] -=StorageClass [light_orange] -=Structure [light_aqua] - -=Constant [light_purple] -=String [fg2]/[bg1] -=StringEscape /[bg1] -=Character +Constant -=CharacterEscape +Escape -=Variable [light_blue] -=StringVariable [light_blue]/[bg1] - -=Tag [light_blue] -=TagName [light_aqua] bold -=TagEnd +Tag - -=Define [dark_blue] -=diff.AddLine [bg0]/[light_green] -=diff.DelLine [bg0]/[dark_red] -=Ignore [dark_gray] - -# Terminal colors --term 0 [bg0] --term 1 [dark_red] --term 2 [dark_green] --term 3 [dark_yellow] --term 4 [dark_blue] --term 5 [dark_purple] --term 6 [dark_aqua] --term 7 [dark_gray] --term 8 [light_gray] --term 9 [light_red] --term 10 [light_green] --term 11 [light_yellow] --term 12 [light_blue] --term 13 [light_purple] --term 14 [light_aqua] --term 15 [fg] - -.colors * - -# Palette -.set bg $000000 -.set cyan1 $00ffff -.set white_smoke $f5f5f5 -.set light_orange $ff7f24 -.set dark_red $cc241d -.set dark_green $98971a -.set steel_blue1 $63b8ff -.set dark_yellow $d79921 -.set dark_blue $458588 -.set dark_purple $b16286 -.set dark_aqua $689d6a -.set dark_gray $a89984 -.set light_gray $928374 -.set light_red $fb4934 -.set light_green $b8bb26 -.set light_yellow $fabd2f -.set light_blue $83a598 -.set light_cyan $00FFD0 -.set light_purple $d3869b -.set light_aqua $8ec07c -.set fg [white_smoke] - -.set bg0_h $1d2021 -.set bg0 $282828 -.set bg1 $3c3836 -.set bg2 $504945 -.set bg3 $665c54 -.set bg4 $7c6f64 -.set dark_orange $d65d0e -.set bg0_s $32302f -.set fg4 $a89984 -.set fg3 $bdae93 -.set fg2 $d5c4a1 -.set fg1 $ebdbb2 -.set fg0 $fbf1c7 -.set light_orange $fe8019 - --text [fg]/[bg] --selection /[bg3] --status [fg2]/[bg2] bold --menusel /[bg2] bold --linum [bg4]/[bg1] --curlinum [dark_yellow]/[bg1] --curlin /[bg1] --cursor [bg]/[fg] - -=Comment [firebrick4] italic -=TODO inverse bold italic -=Bad [light_red] bold inverse - -=DefinedIdent [light_blue] -=DefinedFunction [light_green] -=Builtin [light_green] - -=Preproc [light_orange] italic -=IncSystem [light_orange] italic - -=Keyword [cyan1] -=Operator -=Escape [light_orange] -=Label +Keyword -=Loop [light_red] -=Conditional +Keyword -=Statement +Keyword -=Type [gray98] -=StorageClass [light_orange] -=Structure [light_aqua] - -=Constant [light_purple] -=String [fg2]/[bg1] -=StringEscape /[bg1] -=Character +Constant -=CharacterEscape +Escape -=Variable [light_blue] -=StringVariable [light_blue]/[bg1] - -=Tag [light_blue] -=TagName [light_aqua] bold -=TagEnd +Tag - -=Define [dark_blue] -=diff.AddLine [bg0]/[light_green] -=diff.DelLine [bg0]/[dark_red] -=Ignore [dark_gray] - -# Terminal colors --term 0 [bg0] --term 1 [dark_red] --term 2 [dark_green] --term 3 [dark_yellow] --term 4 [dark_blue] --term 5 [dark_purple] --term 6 [dark_aqua] --term 7 [dark_gray] --term 8 [light_gray] --term 9 [light_red] --term 10 [light_green] --term 11 [light_yellow] --term 12 [light_blue] --term 13 [light_purple] --term 14 [light_aqua] --term 15 [fg] diff --git a/.config/joestar/colors/molokai.jcf b/.config/joestar/colors/molokai.jcf @@ -1,129 +0,0 @@ - -# Based on Molokai vim scheme by Tomas Restrepo <tomas@winterdom.com> -# 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/.config/joestar/colors/rgb.jcf b/.config/joestar/colors/rgb.jcf @@ -1,662 +0,0 @@ -# Colors from rgb.txt. These values and names come from https://www.dongrays.com/btd/X11rgb.cgi -# The names have been altered to fit with the conventions of JOE (PascalCase to snake_case). - -.colors * - -.set black $000000 -.set gray0 $000000 -.set grey0 $000000 -.set gray1 $030303 -.set grey1 $030303 -.set gray2 $050505 -.set grey2 $050505 -.set gray3 $080808 -.set grey3 $080808 -.set navy_blue $000080 -.set navy $000080 -.set gray4 $0a0a0a -.set grey4 $0a0a0a -.set dark_blue $00008b -.set blue4 $00008b -.set gray5 $0d0d0d -.set grey5 $0d0d0d -.set medium_blue $0000cd -.set blue3 $0000cd -.set gray6 $0f0f0f -.set grey6 $0f0f0f -.set blue2 $0000ee -.set gray7 $121212 -.set grey7 $121212 -.set blue1 $0000ff -.set blue $0000ff -.set gray8 $141414 -.set grey8 $141414 -.set gray9 $171717 -.set grey9 $171717 -.set gray10 $1a1a1a -.set grey10 $1a1a1a -.set gray11 $1c1c1c -.set grey11 $1c1c1c -.set dark_red $8b0000 -.set red4 $8b0000 -.set gray12 $1f1f1f -.set grey12 $1f1f1f -.set midnight_blue $191970 -.set gray13 $212121 -.set grey13 $212121 -.set gray14 $242424 -.set grey14 $242424 -.set gray15 $262626 -.set grey15 $262626 -.set dark_magenta $8b008b -.set magenta4 $8b008b -.set gray16 $292929 -.set grey16 $292929 -.set deep_pink4 $8b0a50 -.set gray17 $2b2b2b -.set grey17 $2b2b2b -.set red3 $cd0000 -.set gray18 $2e2e2e -.set grey18 $2e2e2e -.set dark_violet $9400d3 -.set purple4 $551a8b -.set gray19 $303030 -.set grey19 $303030 -.set firebrick4 $8b1a1a -.set red2 $ee0000 -.set gray20 $333333 -.set grey20 $333333 -.set gray21 $363636 -.set grey21 $363636 -.set red1 $ff0000 -.set red $ff0000 -.set gray22 $383838 -.set grey22 $383838 -.set orange_red4 $8b2500 -.set dark_orchid4 $68228b -.set maroon4 $8b1c62 -.set brown4 $8b2323 -.set magenta3 $cd00cd -.set gray23 $3b3b3b -.set grey23 $3b3b3b -.set violet_red4 $8b2252 -.set gray24 $3d3d3d -.set grey24 $3d3d3d -.set deep_pink3 $cd1076 -.set gray25 $404040 -.set grey25 $404040 -.set royal_blue4 $27408b -.set firebrick $b22222 -.set gray26 $424242 -.set grey26 $424242 -.set medium_violet_red $c71585 -.set magenta2 $ee00ee -.set slate_blue4 $473c8b -.set brown $a52a2a -.set purple3 $7d26cd -.set dark_slate_blue $483d8b -.set gray27 $454545 -.set grey27 $454545 -.set dodger_blue4 $104e8b -.set tomato4 $8b3626 -.set gray28 $474747 -.set grey28 $474747 -.set dark_green $006400 -.set dark_slate_gray $2f4f4f -.set dark_slate_grey $2f4f4f -.set magenta1 $ff00ff -.set magenta $ff00ff -.set deep_pink2 $ee1289 -.set firebrick3 $cd2626 -.set gray29 $4a4a4a -.set grey29 $4a4a4a -.set purple $a020f0 -.set indian_red4 $8b3a3a -.set medium_orchid4 $7a378b -.set blue_violet $8a2be2 -.set gray30 $4d4d4d -.set grey30 $4d4d4d -.set coral4 $8b3e2f -.set violet_red $d02090 -.set hot_pink4 $8b3a62 -.set maroon $b03060 -.set dark_orange4 $8b4500 -.set gray31 $4f4f4f -.set grey31 $4f4f4f -.set deep_pink1 $ff1493 -.set deep_pink $ff1493 -.set purple2 $912cee -.set saddle_brown $8b4513 -.set chocolate4 $8b4513 -.set medium_purple4 $5d478b -.set gray32 $525252 -.set grey32 $525252 -.set orange_red3 $cd3700 -.set dark_orchid $9932cc -.set sienna4 $8b4726 -.set dark_orchid3 $9a32cd -.set maroon3 $cd2990 -.set brown3 $cd3333 -.set gray33 $545454 -.set grey33 $545454 -.set deep_sky_blue4 $00688b -.set firebrick2 $ee2c2c -.set purple1 $9b30ff -.set gray34 $575757 -.set grey34 $575757 -.set pale_violet_red4 $8b475d -.set violet_red3 $cd3278 -.set salmon4 $8b4c39 -.set gray35 $595959 -.set grey35 $595959 -.set orchid4 $8b4789 -.set gray36 $5c5c5c -.set grey36 $5c5c5c -.set firebrick1 $ff3030 -.set steel_blue4 $36648b -.set orange4 $8b5a00 -.set gray37 $5e5e5e -.set grey37 $5e5e5e -.set royal_blue3 $3a5fcd -.set sienna $a0522d -.set orange_red2 $ee4000 -.set dark_orchid2 $b23aee -.set light_salmon4 $8b5742 -.set maroon2 $ee30a7 -.set gray38 $616161 -.set grey38 $616161 -.set tan4 $8b5a2b -.set brown2 $ee3b3b -.set dark_olive_green $556b2f -.set gray39 $636363 -.set grey39 $636363 -.set green4 $008b00 -.set slate_blue3 $6959cd -.set slate_blue $6a5acd -.set gray40 $666666 -.set grey40 $666666 -.set violet_red2 $ee3a8c -.set dark_goldenrod4 $8b6508 -.set dodger_blue3 $1874cd -.set dark_orchid1 $bf3eff -.set orange_red1 $ff4500 -.set orange_red $ff4500 -.set tomato3 $cd4f39 -.set maroon1 $ff34b3 -.set spring_green4 $008b45 -.set brown1 $ff4040 -.set light_pink4 $8b5f65 -.set dim_gray $696969 -.set dim_grey $696969 -.set gray41 $696969 -.set grey41 $696969 -.set royal_blue $4169e1 -.set sky_blue4 $4a708b -.set turquoise4 $00868b -.set goldenrod4 $8b6914 -.set gray42 $6b6b6b -.set grey42 $6b6b6b -.set pink4 $8b636c -.set forest_green $228b22 -.set violet_red1 $ff3e96 -.set dark_cyan $008b8b -.set cyan4 $008b8b -.set gray43 $6e6e6e -.set grey43 $6e6e6e -.set royal_blue2 $436eee -.set indian_red3 $cd5555 -.set medium_orchid3 $b452cd -.set gray44 $707070 -.set grey44 $707070 -.set rosy_brown4 $8b6969 -.set plum4 $8b668b -.set gold4 $8b7500 -.set coral3 $cd5b45 -.set chartreuse4 $458b00 -.set gray45 $737373 -.set grey45 $737373 -.set sea_green4 $2e8b57 -.set sea_green $2e8b57 -.set medium_orchid $ba55d3 -.set indian_red $cd5c5c -.set dark_orange3 $cd6600 -.set slate_blue2 $7a67ee -.set gray46 $757575 -.set grey46 $757575 -.set medium_slate_blue $7b68ee -.set burlywood4 $8b7355 -.set royal_blue1 $4876ff -.set medium_purple3 $8968cd -.set light_sky_blue4 $607b8b -.set chocolate3 $cd661d -.set dodger_blue2 $1c86ee -.set gray47 $787878 -.set grey47 $787878 -.set steel_blue $4682b4 -.set slate_gray4 $6c7b8b -.set tomato2 $ee5c42 -.set light_steel_blue4 $6e7b8b -.set chocolate $d2691e -.set peach_puff4 $8b7765 -.set gray48 $7a7a7a -.set grey48 $7a7a7a -.set sienna3 $cd6839 -.set aquamarine4 $458b74 -.set hot_pink3 $cd6090 -.set navajo_white4 $8b795e -.set pale_green4 $548b54 -.set cadet_blue4 $53868b -.set olive_drab4 $698b22 -.set deep_sky_blue3 $009acd -.set gray49 $7d7d7d -.set grey49 $7d7d7d -.set slate_blue1 $836fff -.set slate_gray $708090 -.set slate_grey $708090 -.set light_blue4 $68838b -.set light_slate_blue $8470ff -.set bisque4 $8b7d6b -.set olive_drab $6b8e23 -.set dark_slate_gray4 $528b8b -.set gray50 $7f7f7f -.set grey50 $7f7f7f -.set wheat4 $8b7e66 -.set medium_purple $9370db -.set dark_olive_green4 $6e8b3d -.set light_goldenrod4 $8b814c -.set thistle4 $8b7b8b -.set dodger_blue1 $1e90ff -.set dodger_blue $1e90ff -.set misty_rose4 $8b7d7b -.set pale_violet_red3 $cd6889 -.set indian_red2 $ee6363 -.set yellow4 $8b8b00 -.set dark_sea_green4 $698b69 -.set medium_orchid2 $d15fee -.set salmon3 $cd7054 -.set gray51 $828282 -.set grey51 $828282 -.set tomato1 $ff6347 -.set tomato $ff6347 -.set khaki4 $8b864e -.set pale_turquoise4 $668b8b -.set antique_white4 $8b8378 -.set coral2 $ee6a50 -.set lavender_blush4 $8b8386 -.set gray52 $858585 -.set grey52 $858585 -.set orchid3 $cd69c9 -.set light_slate_gray $778899 -.set light_slate_grey $778899 -.set seashell4 $8b8682 -.set dark_orange2 $ee7600 -.set gray53 $878787 -.set grey53 $878787 -.set light_cyan4 $7a8b8b -.set cornsilk4 $8b8878 -.set lemon_chiffon4 $8b8970 -.set dark_goldenrod $b8860b -.set honeydew4 $838b83 -.set pale_violet_red $db7093 -.set azure4 $838b8b -.set chocolate2 $ee7621 -.set snow4 $8b8989 -.set steel_blue3 $4f94cd -.set medium_purple2 $9f79ee -.set indian_red1 $ff6a6a -.set light_yellow4 $8b8b7a -.set gray54 $8a8a8a -.set grey54 $8a8a8a -.set ivory4 $8b8b83 -.set hot_pink2 $ee6aa7 -.set orange3 $cd8500 -.set medium_orchid1 $e066ff -.set gray55 $8c8c8c -.set grey55 $8c8c8c -.set orchid $da70d6 -.set sienna2 $ee7942 -.set coral1 $ff7256 -.set hot_pink $ff69b4 -.set light_salmon3 $cd8162 -.set gray56 $8f8f8f -.set grey56 $8f8f8f -.set peru $cd853f -.set tan3 $cd853f -.set deep_sky_blue2 $00b2ee -.set cadet_blue $5f9ea0 -.set cornflower_blue $6495ed -.set gray57 $919191 -.set grey57 $919191 -.set dark_orange1 $ff7f00 -.set hot_pink1 $ff6eb4 -.set light_sea_green $20b2aa -.set green3 $00cd00 -.set chocolate1 $ff7f24 -.set medium_purple1 $ab82ff -.set gray58 $949494 -.set grey58 $949494 -.set pale_violet_red2 $ee799f -.set medium_sea_green $3cb371 -.set gray59 $969696 -.set grey59 $969696 -.set salmon2 $ee8262 -.set coral $ff7f50 -.set dark_goldenrod3 $cd950c -.set light_coral $f08080 -.set sienna1 $ff8247 -.set rosy_brown $bc8f8f -.set salmon $fa8072 -.set gray60 $999999 -.set grey60 $999999 -.set spring_green3 $00cd66 -.set dark_orange $ff8c00 -.set light_pink3 $cd8c95 -.set orchid2 $ee7ae9 -.set deep_sky_blue1 $00bfff -.set deep_sky_blue $00bfff -.set turquoise3 $00c5cd -.set gray61 $9c9c9c -.set grey61 $9c9c9c -.set sky_blue3 $6ca6cd -.set goldenrod3 $cd9b1d -.set gray62 $9e9e9e -.set grey62 $9e9e9e -.set pink3 $cd919e -.set pale_violet_red1 $ff82ab -.set steel_blue2 $5cacee -.set orange2 $ee9a00 -.set violet $ee82ee -.set lime_green $32cd32 -.set gray63 $a1a1a1 -.set grey63 $a1a1a1 -.set cyan3 $00cdcd -.set salmon1 $ff8c69 -.set dark_turquoise $00ced1 -.set gray64 $a3a3a3 -.set grey64 $a3a3a3 -.set light_salmon2 $ee9572 -.set dark_salmon $e9967a -.set rosy_brown3 $cd9b9b -.set plum3 $cd96cd -.set orchid1 $ff83fa -.set gray65 $a6a6a6 -.set grey65 $a6a6a6 -.set tan2 $ee9a49 -.set goldenrod $daa520 -.set gold3 $cdad00 -.set gray66 $a8a8a8 -.set grey66 $a8a8a8 -.set chartreuse3 $66cd00 -.set dark_gray $a9a9a9 -.set dark_grey $a9a9a9 -.set sea_green3 $43cd80 -.set green2 $00ee00 -.set gray67 $ababab -.set grey67 $ababab -.set steel_blue1 $63b8ff -.set orange1 $ffa500 -.set orange $ffa500 -.set gray68 $adadad -.set grey68 $adadad -.set burlywood3 $cdaa7d -.set light_sky_blue3 $8db6cd -.set dark_sea_green $8fbc8f -.set dark_goldenrod2 $eead0e -.set gray69 $b0b0b0 -.set grey69 $b0b0b0 -.set sandy_brown $f4a460 -.set plum $dda0dd -.set light_salmon1 $ffa07a -.set light_salmon $ffa07a -.set tan1 $ffa54f -.set light_steel_blue3 $a2b5cd -.set spring_green2 $00ee76 -.set slate_gray3 $9fb6cd -.set dark_khaki $bdb76b -.set light_pink2 $eea2ad -.set gray70 $b3b3b3 -.set grey70 $b3b3b3 -.set peach_puff3 $cdaf95 -.set medium_turquoise $48d1cc -.set medium_aquamarine $66cdaa -.set aquamarine3 $66cdaa -.set turquoise2 $00e5ee -.set gray71 $b5b5b5 -.set grey71 $b5b5b5 -.set sky_blue2 $7ec0ee -.set cadet_blue3 $7ac5cd -.set navajo_white3 $cdb38b -.set goldenrod2 $eeb422 -.set pale_green3 $7ccd7c -.set green1 $00ff00 -.set green $00ff00 -.set olive_drab3 $9acd32 -.set yellow_green $9acd32 -.set tan $d2b48c -.set gray72 $b8b8b8 -.set grey72 $b8b8b8 -.set pink2 $eea9b8 -.set light_blue3 $9ac0cd -.set bisque3 $cdb79e -.set gray73 $bababa -.set grey73 $bababa -.set dark_slate_gray3 $79cdcd -.set cyan2 $00eeee -.set wheat3 $cdba96 -.set misty_rose3 $cdb7b5 -.set dark_olive_green3 $a2cd5a -.set light_goldenrod3 $cdbe70 -.set dark_goldenrod1 $ffb90f -.set thistle3 $cdb5cd -.set burlywood $deb887 -.set turquoise $40e0d0 -.set gray74 $bdbdbd -.set grey74 $bdbdbd -.set medium_spring_green $00fa9a -.set gray $bebebe -.set grey $bebebe -.set yellow3 $cdcd00 -.set dark_sea_green3 $9bcd9b -.set gray75 $bfbfbf -.set grey75 $bfbfbf -.set spring_green1 $00ff7f -.set spring_green $00ff7f -.set light_pink1 $ffaeb9 -.set plum2 $eeaeee -.set rosy_brown2 $eeb4b4 -.set sky_blue $87ceeb -.set pale_turquoise3 $96cdcd -.set khaki3 $cdc673 -.set antique_white3 $cdc0b0 -.set light_steel_blue $b0c4de -.set turquoise1 $00f5ff -.set gray76 $c2c2c2 -.set grey76 $c2c2c2 -.set light_sky_blue $87cefa -.set gold2 $eec900 -.set sky_blue1 $87ceff -.set goldenrod1 $ffc125 -.set chartreuse2 $76ee00 -.set lavender_blush3 $cdc1c5 -.set gray77 $c4c4c4 -.set grey77 $c4c4c4 -.set sea_green2 $4eee94 -.set pink1 $ffb5c5 -.set thistle $d8bfd8 -.set seashell3 $cdc5bf -.set light_pink $ffb6c1 -.set gray78 $c7c7c7 -.set grey78 $c7c7c7 -.set lemon_chiffon3 $cdc9a5 -.set cornsilk3 $cdc8b1 -.set light_cyan3 $b4cdcd -.set cyan1 $00ffff -.set cyan $00ffff -.set gray79 $c9c9c9 -.set grey79 $c9c9c9 -.set honeydew3 $c1cdc1 -.set snow3 $cdc9c9 -.set burlywood2 $eec591 -.set azure3 $c1cdcd -.set light_sky_blue2 $a4d3ee -.set light_yellow3 $cdcdb4 -.set gray80 $cccccc -.set grey80 $cccccc -.set ivory3 $cdcdc1 -.set rosy_brown1 $ffc1c1 -.set pink $ffc0cb -.set plum1 $ffbbff -.set lawn_green $7cfc00 -.set gray81 $cfcfcf -.set grey81 $cfcfcf -.set light_steel_blue2 $bcd2ee -.set slate_gray2 $b9d3ee -.set light_blue $add8e6 -.set gold1 $ffd700 -.set gold $ffd700 -.set peach_puff2 $eecbad -.set gray82 $d1d1d1 -.set grey82 $d1d1d1 -.set chartreuse1 $7fff00 -.set chartreuse $7fff00 -.set aquamarine2 $76eec6 -.set navajo_white2 $eecfa1 -.set light_gray $d3d3d3 -.set light_grey $d3d3d3 -.set cadet_blue2 $8ee5ee -.set light_green $90ee90 -.set pale_green2 $90ee90 -.set sea_green1 $54ff9f -.set gray83 $d4d4d4 -.set grey83 $d4d4d4 -.set olive_drab2 $b3ee3a -.set gray84 $d6d6d6 -.set grey84 $d6d6d6 -.set powder_blue $b0e0e6 -.set light_blue2 $b2dfee -.set bisque2 $eed5b7 -.set burlywood1 $ffd39b -.set gray85 $d9d9d9 -.set grey85 $d9d9d9 -.set light_goldenrod2 $eedc82 -.set dark_slate_gray2 $8deeee -.set light_sky_blue1 $b0e2ff -.set wheat2 $eed8ae -.set dark_olive_green2 $bcee68 -.set thistle2 $eed2ee -.set light_goldenrod $eedd82 -.set misty_rose2 $eed5d2 -.set gray86 $dbdbdb -.set grey86 $dbdbdb -.set gainsboro $dcdcdc -.set yellow2 $eeee00 -.set dark_sea_green2 $b4eeb4 -.set gray87 $dedede -.set grey87 $dedede -.set slate_gray1 $c6e2ff -.set light_steel_blue1 $cae1ff -.set green_yellow $adff2f -.set pale_green $98fb98 -.set peach_puff1 $ffdab9 -.set peach_puff $ffdab9 -.set wheat $f5deb3 -.set gray88 $e0e0e0 -.set grey88 $e0e0e0 -.set pale_turquoise2 $aeeeee -.set pale_turquoise $afeeee -.set aquamarine1 $7fffd4 -.set aquamarine $7fffd4 -.set khaki2 $eee685 -.set antique_white2 $eedfcc -.set navajo_white1 $ffdead -.set navajo_white $ffdead -.set khaki $f0e68c -.set cadet_blue1 $98f5ff -.set pale_green1 $9aff9a -.set gray89 $e3e3e3 -.set grey89 $e3e3e3 -.set lavender_blush2 $eee0e5 -.set olive_drab1 $c0ff3e -.set pale_goldenrod $eee8aa -.set gray90 $e5e5e5 -.set grey90 $e5e5e5 -.set light_blue1 $bfefff -.set moccasin $ffe4b5 -.set seashell2 $eee5de -.set lemon_chiffon2 $eee9bf -.set cornsilk2 $eee8cd -.set bisque1 $ffe4c4 -.set bisque $ffe4c4 -.set lavender $e6e6fa -.set light_cyan2 $d1eeee -.set gray91 $e8e8e8 -.set grey91 $e8e8e8 -.set wheat1 $ffe7ba -.set dark_slate_gray1 $97ffff -.set light_goldenrod1 $ffec8b -.set dark_olive_green1 $caff70 -.set misty_rose1 $ffe4e1 -.set misty_rose $ffe4e1 -.set thistle1 $ffe1ff -.set honeydew2 $e0eee0 -.set snow2 $eee9e9 -.set gray92 $ebebeb -.set grey92 $ebebeb -.set azure2 $e0eeee -.set light_yellow2 $eeeed1 -.set yellow1 $ffff00 -.set yellow $ffff00 -.set antique_white $faebd7 -.set ivory2 $eeeee0 -.set gray93 $ededed -.set grey93 $ededed -.set blanched_almond $ffebcd -.set dark_sea_green1 $c1ffc1 -.set gray94 $f0f0f0 -.set grey94 $f0f0f0 -.set khaki1 $fff68f -.set papaya_whip $ffefd5 -.set pale_turquoise1 $bbffff -.set antique_white1 $ffefdb -.set linen $faf0e6 -.set gray95 $f2f2f2 -.set grey95 $f2f2f2 -.set beige $f5f5dc -.set lavender_blush1 $fff0f5 -.set lavender_blush $fff0f5 -.set white_smoke $f5f5f5 -.set gray96 $f5f5f5 -.set grey96 $f5f5f5 -.set old_lace $fdf5e6 -.set seashell1 $fff5ee -.set seashell $fff5ee -.set alice_blue $f0f8ff -.set gray97 $f7f7f7 -.set grey97 $f7f7f7 -.set light_goldenrod_yellow $fafad2 -.set cornsilk1 $fff8dc -.set cornsilk $fff8dc -.set lemon_chiffon1 $fffacd -.set lemon_chiffon $fffacd -.set light_cyan1 $e0ffff -.set light_cyan $e0ffff -.set ghost_white $f8f8ff -.set gray98 $fafafa -.set grey98 $fafafa -.set floral_white $fffaf0 -.set honeydew1 $f0fff0 -.set honeydew $f0fff0 -.set snow1 $fffafa -.set snow $fffafa -.set azure1 $f0ffff -.set azure $f0ffff -.set gray99 $fcfcfc -.set grey99 $fcfcfc -.set mint_cream $f5fffa -.set light_yellow1 $ffffe0 -.set light_yellow $ffffe0 -.set ivory1 $fffff0 -.set ivory $fffff0 -.set gray100 $ffffff -.set grey100 $ffffff -.set white $ffffff diff --git a/.config/joestar/colors/solarized.jcf b/.config/joestar/colors/solarized.jcf @@ -1,169 +0,0 @@ - -# Port of Solarized color scheme by Ethan Schoonover -# http://ethanschoonover.com/solarized - -.colors * - -# Palette -.set base03 $002b36 -.set base02 $073642 -.set base01 $586e75 -.set base00 $657b83 -.set base0 $839496 -.set base1 $93a1a1 -.set base2 $eee8d5 -.set base3 $fdf6e3 -.set yellow $b58900 -.set orange $cb4b16 -.set red $dc322f -.set magenta $d33682 -.set violet $6c71c4 -.set blue $268bd2 -.set cyan $2aa198 -.set green $859900 - -# Uncommenting these lines changes this scheme to a light background -#.set base3 $002b36 -#.set base2 $073642 -#.set base1 $586e75 -#.set base0 $657b83 -#.set base00 $839496 -#.set base01 $93a1a1 -#.set base02 $eee8d5 -#.set base03 $fdf6e3 - --text [base0]/[base03] --status [base1]/[base02] --selection [base03]/[base01] --linum [base01]/[base02] --menu [base0]/[base02] --menusel [base01]/[base2] --curlin /[base02] --curlinum [base0] --message [blue] --cursor [base03]/[base0] - -=Comment [base01] italic -=Constant [cyan] -=DefinedIdent [blue] -=Keyword [green] -=Statement [green] -=Preproc [orange] -=Precond [orange] -=Type [yellow] -=Structure +Type -=StorageClass +Type -=Escape [red] -=Bad [red] bold -=TODO [magenta] bold -=Title [orange] bold - -=Tag [base01] -=TagName [blue] bold -=TagEnd +Tag - -=diff.AddLine [green]/[base02] bold -=diff.ChgLine [yellow]/[base02] bold -=diff.DelLine [red]/[base02] bold -=diff.Garbage [blue]/[base02] bold - -# Terminal colors --term 0 [base02] --term 1 [red] --term 2 [green] --term 3 [yellow] --term 4 [blue] --term 5 [magenta] --term 6 [cyan] --term 7 [base0] --term 8 [base03] --term 9 [red] --term 10 [base01] --term 11 [base00] --term 12 [base0] --term 13 [violet] --term 14 [base1] --term 15 [base3] - -.colors 256 - -# 256-color palette -.set base03 234 -.set base02 235 -.set base01 240 -.set base00 241 -.set base0 244 -.set base1 245 -.set base2 254 -.set base3 230 -.set yellow 136 -.set orange 166 -.set red 160 -.set magenta 125 -.set violet 61 -.set blue 33 -.set cyan 37 -.set green 64 - -# Uncommenting these lines changes this scheme to a light background -#.set base3 234 -#.set base2 235 -#.set base1 240 -#.set base0 241 -#.set base00 244 -#.set base01 245 -#.set base02 254 -#.set base03 230 - --text [base0]/[base03] --status [base1]/[base02] --selection [base03]/[base01] --linum [base01]/[base02] --menu [base0]/[base02] --menusel [base01]/[base2] --curlin /[base02] --curlinum [base0] --message [blue] --cursor [base03]/[base0] - -=Comment [base01] italic -=Constant [cyan] -=DefinedIdent [blue] -=Keyword [green] -=Statement [green] -=Preproc [orange] -=Precond [orange] -=Type [yellow] -=Structure +Type -=StorageClass +Type -=Escape [red] -=Bad [red] bold -=TODO [magenta] bold -=Title [orange] bold - -=Tag [base01] -=TagName [blue] bold -=TagEnd +Tag - -=diff.AddLine [green]/[base02] bold -=diff.ChgLine [yellow]/[base02] bold -=diff.DelLine [red]/[base02] bold -=diff.Garbage [blue]/[base02] bold - -# Terminal colors --term 0 [base02] --term 1 [red] --term 2 [green] --term 3 [yellow] --term 4 [blue] --term 5 [magenta] --term 6 [cyan] --term 7 [base0] --term 8 [base03] --term 9 [red] --term 10 [base01] --term 11 [base00] --term 12 [base0] --term 13 [violet] --term 14 [base1] --term 15 [base3] diff --git a/.config/joestar/colors/wombat.jcf b/.config/joestar/colors/wombat.jcf @@ -1,87 +0,0 @@ - -# Based on Wombat vim scheme by Lars H. Nielsen <dengmao@gmail.com> - -.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/.config/joestar/colors/xoria.jcf b/.config/joestar/colors/xoria.jcf @@ -1,60 +0,0 @@ - -# Xoria256 is a VIM scheme written by Dmitriy Y. Zotikov -# and can be found at http://www.vim.org/scripts/script.php?script_id=2140 - -# This is a straightforward port into JOE based on the 1.5 version - -.colors 256 - --text 252/234 --cursor 214 --status 231/239 bold --menu 16/250 --menusel 255/243 --selection 255/96 --prompt 149/234 --message 149/234 --linum 247/233 --curlin /237 --cursor 16/214 - -=Comment 244 -=Constant 229 -=DefinedIdent 182 -=Number 180 -=Preproc 150 -=Keyword 110 -=Type 146 -=TODO 16/184 -=Bad 231/160 -=Escape 174 -=IncSystem +Keyword -=IncLocal +Constant - -=Ignore 238 -=diff.AddLine 150 -=diff.DelLine 174 -=Garbage +Ignore - -=TagEdge 244 -=TagName +Keyword -=Key +Ident -=Value +Constant -=Title 225 - --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 diff --git a/.config/joestar/colors/zenburn-hc.jcf b/.config/joestar/colors/zenburn-hc.jcf @@ -1,149 +0,0 @@ - -# 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/.config/joestar/colors/zenburn.jcf b/.config/joestar/colors/zenburn.jcf @@ -1,147 +0,0 @@ - -# 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/.config/joestar/ftyperc b/.config/joestar/ftyperc @@ -1,937 +0,0 @@ - File Type table. This is :included by the joerc file. - Scripts can look like this '#!/usr/bin/python' or this '#! /usr/bin/env python3' - - A text file -[text] - No '.' in file name? Assume it's a text file and we want wordwrap on. -* - Text file. -*.txt - - Not a text file -[not_text] - File name with '.'? It's probably not a text file. -*.* --wordwrap - - Diff -[diff] -* -+\? [A-Za-z] -+Index: [A-Za-z] -+Only in -+Nur in -+--- -+\*\*\* -+[1-9][0-9]*[cda] -*.diff -*.patch --syntax diff - - Troff -[troff] -*.1 -*.1.in --wordwrap --syntax troff - - TeX -[tex] -*.tex -*.sty --syntax tex --tex_comment --no_double_quoted --wordwrap - - News/mail files. -[email] -*.article* -*.followup -*.letter - NN newsreader -*tmp/nn.* - mail -*tmp/Re* - elm -*tmp/snd.* - dmail -*tmp/dmt* - pine -*tmp/pico.* - Mutt -*tmp/mutt-* --wordwrap --syntax mail - - AVR assembly language -[avr] -*.avr -*.inc --syntax avr --autoindent --wordwrap --tab 8 - - Generic assembly language -[assembly] -*.asm -*.s -*.S --highlighter_context --wordwrap --syntax asm - - Mason (Perl in HTML) -[mason] -*.mas --autoindent --title --syntax mason --smarthome --smartbacks --highlighter_context - - SML -[sml] -*.sml --autoindent --title --syntax sml --smarthome --smartbacks --istep 2 --highlighter_context - - OCaml -[ocaml] -*.ml - OCaml language interface -*.mli --autoindent --title --syntax ocaml --smarthome --smartbacks --istep 2 --highlighter_context - - Ruby -[ruby] -*.rb -* -+#![ ]*[^\n]*ruby[0-9.]*\> -*.gemspec -*Gemfile -*Rakefile -*Guardfile -*.rabl --autoindent --title --pound_comment --syntax ruby --text_delimiters do=end --highlighter_context - - Perl -[perl] -* -+#![ ]*[^\n]*perl[0-9.]*\> -*.pl -*.pm -*.t --autoindent --title --syntax perl --smarthome --smartbacks --pound_comment --single_quoted --highlighter_context - - SQL -[sql] -*.sql --autoindent --title --syntax sql --smarthome --smartbacks --purify --single_quoted --c_comment --vhdl_comment --cpp_comment --text_delimiters BEGIN|Begin|begin=END|End|end --cpara >#!;*/% --highlighter_context - - AWK -[awk] -*.awk --autoindent --title --syntax awk --smarthome --smartbacks --purify --pound_comment --highlighter_context - - YACC -[yacc] -*.y --autoindent --title --syntax c --highlighter_context --smarthome --smartbacks --purify --single_quoted --c_comment --cpp_comment --text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif --cpara >#!;*/% - - Lex -[lex] -*.l -*.lex --autoindent --title --syntax c --highlighter_context --smarthome --smartbacks --purify --single_quoted --c_comment --cpp_comment --text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif --cpara >#!;*/% - - Ada -[ada] -*.adb -*.ads --syntax ada --autoindent --title --istep 2 --smarthome --smartbacks --purify --vhdl_comment --text_delimiters declare|Declare|DECLARE|exception|Exception|EXCEPTION|if|If|IF|loop|Loop|LOOP|case|Case|CASE|package|Package|PACKAGE|procedure|Procedure|PROCEDURE|record|Record|RECORD|function|Function|FUNCTION=end|End|END --highlighter_context - - COBOL -[cobol] -*.cbl -*.cob --syntax cobol --highlighter_context - - REXX -[rexx] -*.rex -*.REX -* -+#![ ]*[^\n]*rexx[0-9.]*\> --syntax rexx --autoindent --title --highlighter_context - - SED script -[sed] -*.sed --syntax sed --highlighter_context - - Postscript -[postscript] -*.ps -*.eps --syntax ps --highlighter_context - - C language -[c] -*.c -*.cpp -*.cc -*.c++ - C language header file -*.h -*.h.in -*.hpp -*.h++ -*.hh -*.mm --autoindent --title --syntax c --highlighter_context --smarthome --smartbacks --purify --single_quoted --c_comment --cpp_comment --text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif --cpara >#!;*/% - - Verilog -[verilog] -*.v - Verilog header file -*.vh --autoindent --syntax verilog --istep 2 --smarthome --smartbacks --purify --c_comment --cpp_comment --text_delimiters `ifdef|`ifndef=`else=`endif:begin=end:case|casex|casez=endcase:function=endfunction:module=endmodule:task=endtask:attribute=endattribute:primitive=endprimitive:table=endtable --cpara >#!;*/% --highlighter_context - - VHDL -[vhdl] -*.vhd --autoindent --syntax vhdl --istep 2 --smarthome --smartbacks --purify --vhdl_comment --text_delimiters entity|ENTITY|if|IF|component|COMPONENT|loop|LOOP|configuration|CONFIGURATION|units|UNITS|record|RECORD|case|CASE|function|FUNCTION|package|PACKAGE|architecture|ARCHITECTURE|block|BLOCK|process|PROCESS|generate|GENERATE=end|END --cpara >#!;*-/% --highlighter_context - - XML -[xml] -*.xml -*.xsd -* -+<.xml -*.jnlp - RESX/.NET resource files -*.resx - Ant's build.xml -*build.xml --autoindent --syntax xml --highlighter_context - - Apple plists -[plist] -*.plist --autoindent --syntax xml - - HTML -[html] -*.htm -*.html --wordwrap --autoindent --smarthome --smartbacks --syntax html - - CSS -[css] -*.css --wordwrap --autoindent --smarthome --smartbacks --syntax css - - JAVA -[java] -*.java --autoindent --title --syntax java --smarthome --smartbacks --c_comment --cpp_comment --purify --cpara >#!;*/% --highlighter_context - - Javascript -[javascript] -*.js -* -+#![ ]*[^\n]*nodejs[0-9.]*\> --autoindent --title --syntax js --smarthome --smartbacks --purify --c_comment --cpp_comment --cpara >#!;*/% --highlighter_context - - JSON -[json] -*.json --autoindent --syntax json --smarthome --smartbacks --highlighter_context - - Typescript -[typescript] -*.ts --autoindent --title --syntax typescript --smarthome --smartbacks --purify --c_comment --cpp_comment --cpara >#!;*/% --highlighter_context - - Hypertext preprocessor file -[php] -*.php --autoindent --title --syntax php --smarthome --smartbacks --purify --highlighter_context - - Python -[python] -* -+#![ ]*[^\n]*python[0-9.]*\> -*.py --autoindent --title --syntax python --highlighter_context --smarthome --smartbacks --purify --single_quoted --pound_comment - - Lisp -[lisp] -*.lisp -*.lsp -*.el --autoindent --title --syntax lisp --semi_comment --highlighter_context - - PASCAL -[pascal] -*.p -*.pas --autoindent --title --syntax pascal --smarthome --smartbacks --purify --text_delimiters begin|BEGIN|record|RECORD|case|CASE=end|END:repeat|REPEAT=until|UNTIL --highlighter_context - - Fortran -[fortran] -*.f -*.f90 -*.for -*.FOR --autoindent --title --syntax fortran --highlighter_context - - Cadence SKILL -[skill] -*.il --semi_comment --syntax skill --autoindent --title --istep 3 --indentc 32 --smartbacks --smarthome --indentfirst --highlighter_context - - Lua -[lua] -*.lua -* -+#![ ]*[^\n]*lua[0-9.]*\> --autoindent --title --syntax lua --highlighter_context - - TCL -[tcl] -*.tcl --autoindent --title --syntax tcl --highlighter_context - - Go language -[go] -*.go --autoindent --title --syntax go --smarthome --smartbacks --purify --single_quoted --c_comment --text_delimiters #if|#ifdef|#ifndef=#elif=#else=#endif --cpara >#!;*/% --highlighter_context - - CSharp -[c#] -*.cs --autoindent --title --syntax csharp --smarthome --smartbacks --purify --cpara >#!;*/% --text_delimiters #region=#endregion:#if=#elif=#else=#endif --highlighter_context - - Joe Syntax File -[jsf] -*.jsf -*.jsf.in --autoindent --title --syntax jsf --smarthome --highlighter_context - - Joe Colorscheme file -[jcf] -*.jcf --syntax jcf - - M4 / Autoconfig file -[m4] -*.ac -*.m4 --autoindent --title --syntax m4 --highlighter_context - - Matlab file (clashes with objective-C) -[matlab] -*.m --wordwrap --syntax matlab --highlighter_context - - UNIX configuration file -[conf] - Automake file -*.am -*.gitignore - System RC file -*rc - Makefile -*Makefile -*makefile.in -*.config/*/*config* -*CMakeLists.txt -*Makefile.in -*makefile -*MAKEFILE -*pacman.conf -*.conf --autoindent --syntax conf --pound_comment --highlighter_context - - Windows batch files -[bat] -*.bat -*.cmd --autoindent --syntax batch --highlighter_context - - JOERC file -[joerc] -*ftyperc -*joerc -*jmacsrc -*jstarrc -*rjoerc -*jpicorc -*joerc.in -*jmacsrc.in -*jstarrc.in -*rjoerc.in -*jpicorc.in -*jnoterc -*jnoterc.in -*joestarrc -*joestarrc.in --syntax joerc --highlighter_context - - Markdown -[markdown] -*.md --syntax md --wordwrap - - YAML -[yaml] -*.yml -*.yaml --autoindent --smarthome --smartbacks --pound_comment --syntax yaml --highlighter_context - - Debian apt -[debian] -*apt/sources.list -*sources.list.* --pound_comment --syntax debian - - Java's .properties -[java_properties] -*.properties - this is part of the specification: --encoding iso-8859-1 --pound_comment --syntax properties --highlighter_context - - INI Files -[ini] -*.ini -*.inf -*hgrc -*.gitconfig -*.git/config --syntax ini --pound_comment --semi_comment --highlighter_context - - plain ERB -[erb] -*.erb --syntax erb --highlighter_context - - ERB within HTML -[erb_html] -*.html.erb --syntax htmlerb --highlighter_context - - Haml -[haml] -*.haml --syntax haml --istep 2 --indentc 32 --autoindent --smarthome --smartbacks --highlighter_context - - Erlang -[erlang] -*.erl -*.eterm -*.app.src -*rebar.config -*.hrl -*.erlang --syntax erlang --autoindent --title --highlighter_context - - Sieve (ManageSieve) -[sieve] -*.sieve --syntax sieve --autoindent --title --highlighter_context - - Puppet -[puppet] -*.pp --syntax puppet --pound_comment --autoindent --title --highlighter_context - - ip(6)tables -[iptables] -* -+# Generated by iptables-save -+# Generated by ip6tables-save --syntax iptables --pound_comment - - PowerShell -[powershell] -*.ps1 -*.psm1 --syntax powershell --autoindent --smarthome --smartbacks --highlighter_context - - Git COMMIT_EDITMSG -[git-commit] -*COMMIT_EDITMSG --syntax git-commit - - Elixir -[elixir] -*.ex -*.exs --autoindent --smarthome --smartbacks --title --syntax elixir --pound_comment --text_delimiters do=else=end --indentc 32 --istep 2 --highlighter_context - - R -[r] -*.r --autoindent --title --syntax r --pound_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - Groovy -[groovy] -*.gvy -*.groovy -*.gy -*.gsh --autoindent --title --syntax groovy --c_comment --cpp_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - Clojure -[clojure] -*.clj -*.cljs -*.cljc -*.edn --autoindent --title --syntax clojure --semi_comment --smarthome --smartbacks --purify --highlighter_context - - Rust -[rust] -*.rs --autoindent --title --syntax rust --c_comment --cpp_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - Coffeescript -[coffee] -*.coffee --autoindent --title --syntax coffee --pound_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - Scala -[scala] -*.scala --autoindent --title --syntax scala --c_comment --cpp_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - Swift -[swift] -*.swift --autoindent --title --syntax swift --c_comment --cpp_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - D -[d] -*.d --autoindent --title --syntax d --c_comment --cpp_comment --smarthome --smartbacks --purify --single_quoted --highlighter_context - - Docker -[dockerfile] -*Dockerfile --autoindent --title --syntax dockerfile --pound_comment --highlighter_context - - RPM Spec -[spec] -*.spec --autoindent --syntax spec - - Haskell -[haskell] -*.hs --autoindent --smarthome --smartbacks --syntax haskell --vhdl_comment --highlighter_context - - - C-shell -[csh] -* -+#![ ]*[^\n ]*/csh\> -+#![ ]*[^\n ]*/tcsh\> -*.csh -*.login -*.logout -*.tcsh -*.tcshrc --autoindent --title --syntax csh --pound_comment --highlighter_context - - Shell -[sh] -* -+#![ ]*[^\n ]*/sh\> -+#![ ]*[^\n ]*/bash\> -*.sh -*.zsh -*.bash -*profile -*.bash -*.bashrc -*.bash_login -*.bash_logout -*.zshrc --autoindent --title --syntax sh --highlighter_context --pound_comment --text_delimiters do=done:if=elif=else=fi:case=esac - - Korn shell -[ksh] -* -+#![ ]*[^\n ]*/ksh\> -*.ksh --autoindent --title --syntax sh --highlighter_context --pound_comment --text_delimiters do=done:if=elif=else=fi:case=esac --highlighter_context - diff --git a/.config/joestar/joestarrc b/.config/joestar/joestarrc @@ -1,1354 +0,0 @@ - Initialization file for JOE - Standard Joe - - JOE looks for this file in: - 1 - $HOME/.joerc - 2 - /usr/local/etc/joe/joerc - - This file can include other files by placing the following include command - in the first column: - - :include filename - - FIRST SECTION: Default global options (these options can also be specified - on the command line. Also the NOXON, LINES, COLUMNS, DOPADDING and BAUD - options can be specified in environment variables): - - Override colors of lexical classes specified in syntax files: - Put each color override you want in the first column. - - Valid colors: - bold inverse blink dim underline italic - white cyan magenta blue yellow green red black - bg_white bg_cyan bg_magenta bg_blue bg_yellow bg_green bg_red bg_black - - Other colors are available: see syntax/c.jsf for documentation. - - Override all instances of class Idle: - =Idle red - - Override Idle only for c syntax file: - =c.Idle red - - The following list is from c.jsf. Look at other syntax files for more classes. - - =Idle - =Bad bold red - =Preproc blue - =Define bold blue - =IncLocal cyan - =IncSystem bold cyan - =Constant cyan - =Escape bold cyan - =Type bold - =Keyword bold - =CppKeyword bold - =Brace magenta - =Control - - Put each option you want set in the first column: - - -option Sets the option - --option Clears the option - - -help_is_utf8 Set if help text is in UTF-8 format. Leave clear if it's a raw 8-bit format. - - -mid Cursor is recentered when scrolling is necessary - -left nn Amount to jump left when scrolling is necessary (-1 for 1/4 width) - -right nn Amount to jump right when scrolling is necessary (-1 for 1/4 width) - - -marking Text between ^KB and cursor is highlighted (use with -lightoff) - - -asis Characters 128 - 255 shown as-is - - -force Force final newline when files are saved - - -nolocks If you don't want file locks to be used - --colors default - --linum_mode 3 - - -nomodcheck Disable periodic checking of disk file newer than buffer - (this checking happens on save even with this option). - - -nocurdir Do not prompt with current directory - - -nobackups If you don't want backup files to be created - --hiline Highlight the current line - --nodeadjoe If you don't want DEADJOE files to be created - - -break_hardlinks - Delete file before writing, to break hard links - (but don't break symbolic links). - - -break_links - Delete file before writing, to break hard links - and symbolic links. - - - -lightoff Turn off highlighting after block copy or move - - -exask ^KX always confirms file name - - -beep Beep on errors and when cursor goes past extremes - - -nosta Disable top-most status line - --keepup %k and %c status line escape sequences updated frequently - - -pg nnn No. lines to keep for PgUp/PgDn - - -undo_keep nnn Number of undo records to keep. 0 for infinite. - - -csmode ^KF after a pervious search does a ^L instead - - -backpath path - Directory to store backup files (one space between - 'backpath' and the 'path', no trailing spaces or comments - after the path). - - -floatmouse Clicking past end of line moves the cursor past the end - - -rtbutton Use the right mouse button for action, instead of the left - - -nonotice Disable copyright notice - - -noexmsg Disable exiting message ("File not changed so no update needed") - --noxon Attempt to turn off ^S/^Q processing - - -orphan Put extra files given on command line in orphaned buffers - instead of in windows - - -dopadding Output pad characters (for when there is no tty handshaking) - - -lines nnn Set no. screen lines - - -baud nnn Set baud rate for terminal optimizations - - -columns nnn Set no. screen columns - - -helpon Start with help on - - -skiptop nnn Don't use top nnn lines of the screen - --notite Don't send terminal initialization and termination strings: - prevents restoration of screen on exit. - - -nolinefeeds Prevent sending linefeeds to preserve screen history in terminal - emulator's scroll-back buffer. - - -usetabs Use tabs to help optimize screen update. - --assume_color Assume terminal has ANSI color support even if termcap/terminfo entry - says that it doesn't. This only applies if the terminal otherwise - looks like an ANSI terminal (support bold and capability starts with - ESC [). - --assume_256color - Assume terminal has xterm 256 color support (ESC [ 38 ; 5 ; NNN m and - ESC [ 48 ; 5 ; NNN m). - - -guess_non_utf8 Allow guess of non-UTF-8 file encoding in a UTF-8 locale. - - -guess_utf8 Allow guess of UTF-8 file encoding in non-UTF-8 locale. - --guess_utf16 Allow guess of UTF-16 encoding - --guess_crlf Automatically detect MS-DOS files and set -crlf appropriately - - -guess_indent Guess indent character (tab or space). - --menu_above Position menu/list above prompt when enabled. Otherwise position - below prompt. - --transpose Transpose rows with columns in all menus. - --menu_explorer Stay in menu system when a directory is selected (otherwise - directory is added to path and menu is closed). - --menu_jump Jump into file selection menu when tab is hit (otherwise, menu - comes up, but cursor stays in file name prompt). - - -notagsmenu Disable tags file search menu - - -icase Search is case insensitive by default. - - -wrap Search wraps - - -autoswap Swap markb with markk when necessary - --joe_state Use ~/.joe_state file - - -mouse Enable xterm mouse support. When enabled, left-click will - position the cursor and left-click-drag will select blocks - For normal xterm cut and paste, hold the shift key down. - - -joexterm If you are using XTerm version 212 or higher, and if it was - configured with --enable-paste64, set this flag: it allows - mouse cut & paste to work properly (text selected with the - mouse can be pasted into other application, and middle - button clicks paste into JOE). - --brpaste When JOE starts, send command to the terminal emulator that - enables "bracketed paste mode" (but only if the terminal - seems to have the ANSI command set). In this mode, text - pasted into the window is bracketed with ESC [ 2 0 0 ~ and - ESC [ 2 0 1 ~. - --pastehack If keyboard input comes in as one block assume it's a mouse - paste and disable autoindent and wordwrap. - - -square Rectangular block mode - - -text_color color - Set color for text. - -status_color color - Set color for status bar. - -help_color color - Set color for help. - -menu_color color - Set color for menus. - -prompt_color color - Set color for prompts. - -msg_color color - Set color for messages. - - For example: -text_color bg_blue+white - Sets the background color to blue and foreground color to white. - --restore Restore previous cursor position when files are opened - --search_prompting - Search prompts with previous search request. - - -regex Search uses standard regular expression format (otherwise it uses - JOE format where all special characters have to be escaped). - - Status line definition strings. -lmsg defines the left-justified string and - -rmsg defines the right-justified string. The first character of -rmsg is - the background fill character. The following escape sequences can be used - in these strings: - - %t 12 hour time - %u 24 hour time - %T O for overtype mode, I for insert mode - %W W if wordwrap is enabled - %I A if autoindent is enabled - %X Rectangle mode indicator - %n File name - %m '(Modified)' if file has been changed - %* '*' if file has been changed - %R Read-only indicator - %r Row (line) number - %c Column number - %o Byte offset into file - %O Byte offset into file in hex - %a Ascii value of character under cursor - %A Ascii value of character under cursor in hex - %w Width of character under cursor - %p Percent of file cursor is at - %l No. lines in file - %k Entered prefix keys - %S '*SHELL*' if there is a shell running in window - %M Macro recording message - %y Syntax - %e Encoding of file - %b Encoding of terminal - %x Context (first non-indented line going backwards) - %dd day - %dm month - %dY year - %Ename% value of environment variable - %Zname% value of option (ON or OFF for boolean options) - (hit TAB at mode command prompt for full list) - - These formatting escape sequences may also be given: - - \i Inverse - \u Underline - \b Bold - \d Dim - \f Blink - \l Italic - --lmsg \i%k%T%W%I%X %n %m%y%R %M %x %e --rmsg %dd/%dm/%dY %t %S Row %4r Col %3c --smsg ** Line %r Col %c Offset %o(0x%O) %e %a(0x%A) Width %w ** --zmsg ** Line %r Col %c Offset %o(0x%O) ** --xmsg \i Joestar %v (%b) ** Type \bCtrl-K Q\b to exit or \bCtrl-K H\b for help **\i - - Key sequence hints which are displayed in various prompts. --aborthint ^C --helphint ^K H - - SECOND SECTION: File name dependant local option settings: - - Name a file type definition section with: - - [python] (but put opening bracket in first column) - - Each line with '*' in the first column provides a file name matching - regular expression (in shell glob format). If more than one regular - expression matches the file name, then the last matching one is chosen. - - A file contents regular expression may also be specified on a separate line - with '+regex'. If this regular expresssion is given, then both the file name - regex and the file contents regex must match for the options to apply. - - Here are the modes which can be set: - - -cpara >#!;*/% - Characters which can indent paragraphs. - - -cnotpara . - Characters which begin non-paragraph lines. - - -encoding name - Set file coding (for example: utf-8, iso-8859-15) - - -syntax name - Specify syntax (syntax file called - 'name.jsf' will be loaded) - - -hex Hex editor mode - - -highlight Enable highlighting - - -smarthome Home key first moves cursor to beginning of line, - then if hit again, to first non-blank character. - - -indentfirst Smart home goes to first non-blank character first, - instead of going the beginning of line first. - - -smartbacks Backspace key deletes 'istep' number of - 'indentc's if cursor is at first non-space - character. - --tab 4 Tab width - - -indentc nnn Indentation character (32 for space, 9 for tab) - - -istep nnn Number of indentation columns - --spaces TAB inserts spaces instead of tabs. - - -purify Fix indentation if necessary for rindent, lindent and backs - (for example if indentation uses a mix of tabs and spaces, - and indentc is space, indentation will be converted to all - spaces). - - -crlf File uses CR-LF at ends of lines - - -wordwrap Wordwrap - - -nobackup If you don't want backup file to be created - - -autoindent Auto indent - - -overwrite Overtype mode - - -picture Picture mode (right arrow can go past end of lines) - - -lmargin nnn Left margin - - -rmargin nnn Right margin - - -flowed Put one space after intermediate paragraph lines - for support of flowed text. - - - -french One space after '.', '?' and '!' for wordwrap - and paragraph reformat instead of two. Joe - does not change the spacing you give, but - sometimes it must put spacing in itself. This - selects how much is inserted. - --linums Enable line numbers on each line - - -rdonly File is read-only - - -keymap name - Keymap to use if not 'main' - - -lmsg Status line definition strings- - -rmsg see previous section for more info. - - -mfirst macro - Macro to execute on first modification - -mnew macro - Macro to execute when new files are loaded - -mold macro - Macro to execute when existing files are loaded - -msnew macro - Macro to execute when new files are saved - -msold macro - Macro to execute when existing files are saved - - Macros for the above options are in the same format as in the key - binding section below- but without the key name strings. - - These define the language syntax for ^G (goto matching delimiter): - - -highlighter_context Use the highlighter context for ^G - - -single_quoted Text between ' ' should be ignored (this is - not good for regular text since ' is - normally used alone as an apostrophe) - - -no_double_quoted Text between " " should not be ignored (useful - for TeX). - - -c_comment Text between /* */ should be ignored - - -cpp_comment Text after // should be ignored - - -pound_comment Text after # should be ignored - - -vhdl_comment Text after -- should be ignored - - -semi_comment Text after ; should be ignored - - -text_delimiters begin=end:if=elif=else=endif - - Define word delimiters - - Default local options --highlight --istep 4 - - Perforce macro: use this macro (put in first column) to have joe "p4 edit" - a file you're about to change. - - -mfirst if,"rdonly && joe(sys,\"p4 edit \",name,rtn)",then,mode,"o",msg,"executed \"p4 edit ",name,"\"",rtn,endif - - -mfirst if,"rdonly && joe(sys,\"p4 edit \",name,rtn)",then,reload,msg,"executed \"p4 edit ",name,"\"",rtn,endif - - File type table is now in a separate file. You can copy this file to ~/.joe and customize it. - -:include ftyperc - - SECOND and 1/2 SECTION: Option menu layout - - :defmenu name [macro] - Defines a menu. - The macro here is executed when the user hits backspace. - - macro string comment - A menu entry. Macro is any JOE macro- see "Macros:" - below. String is the label to be used for the macro - in the menu. It is in the same format as the -lmsg - and -rmsg options above. - - Two whitespace characters in a row begins a comment. - Use '% ' for a leading space in the string. - -:defmenu root -mode,"overwrite",rtn T Overtype %Zoverwrite% -mode,"hex",rtn ' Hex edit mode -mode,"autoindent",rtn I Autoindent %Zautoindent% -mode,"wordwrap",rtn W Word wrap %Zwordwrap% -mode,"tab",rtn D Tab width %Ztab% -mode,"lmargin",rtn L Left margin %Zlmargin% -mode,"rmargin",rtn R Right margin %Zrmargin% -mode,"square",rtn X Column mode %Zsquare% -mode,"indentc",rtn % % Indent char %Zindentc% -mode,"istep",rtn % % Indent step %Zistep% -menu,"indent",rtn = Indent select -mode,"highlight",rtn H Highlighting %Zhighlight% -mode,"crlf",rtn Z CR-LF/MS-DOS %Zcrlf% -mode,"linums",rtn N Line numbers %Zlinums% -mode,"beep",rtn B Beep %Zbeep% -mode,"rdonly",rtn O Read only %Zrdonly% -mode,"syntax",rtn Y Syntax -mode,"encoding",rtn E Encoding -mode,"asis",rtn % % Meta chars as-is -mode,"language",rtn V Language -mode,"picture",rtn P picture %Zpicture% -mode,"type",rtn F File type [%Ztype%] -mode,"title",rtn C Context %Ztitle% -menu,"more-options",rtn % % More options... - -:defmenu more-options menu,"root",rtn -menu,"^G",rtn % % ^G options -menu,"search",rtn % % search options -menu,"paragraph",rtn % % paragraph options -menu,"file",rtn % % file options -menu,"menu",rtn % % menu options -menu,"global",rtn % % global options -menu,"cursor",rtn % % cursor options -menu,"marking",rtn % % marking options -menu,"tab",rtn % % tab/indent options - -:defmenu indent menu,"root",rtn -mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 1, Indent character = 32",rtn 1 Space -mode,"istep",rtn,"2",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 2, Indent character = 32",rtn 2 Spaces -mode,"istep",rtn,"3",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 3, Indent character = 32",rtn 3 Spaces -mode,"istep",rtn,"4",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 4, Indent character = 32",rtn 4 Spaces -mode,"istep",rtn,"5",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 5, Indent character = 32",rtn 5 Spaces -mode,"istep",rtn,"8",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 8, Indent character = 32",rtn 8 Spaces -mode,"istep",rtn,"10",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 10, Indent character = 32",rtn 0 Ten -mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"9",rtn,msg,"Indent step = 1, Indent character = 9",rtn T Tab - -:defmenu menu menu,"more-options",rtn -mode,"menu_explorer",rtn % % Menu explorer %Zmenu_explorer% -mode,"menu_above",rtn % % Menu position %Zmenu_above% -mode,"menu_jump",rtn % % Jump into menu %Zmenu_jump% -mode,"transpose",rtn % % Transpose menus %Ztranspose% - -:defmenu ^G menu,"more-options",rtn -mode,"highlighter_context",rtn % % ^G uses highlighter context %Zhighlighter_context% -mode,"single_quoted",rtn % % ^G ignores '...' %Zsingle_quoted% -mode,"no_double_quoted",rtn % % ^G no ignore "..." %Zno_double_quoted% -mode,"c_comment",rtn % % ^G ignores /*...*/ %Zc_comment% -mode,"cpp_comment",rtn % % ^G ignores //... %Zcpp_comment% -mode,"pound_comment",rtn % % ^G ignores #... %Zpound_comment% -mode,"vhdl_comment",rtn % % ^G ignores --... %Zvhdl_comment% -mode,"semi_comment",rtn % % ^G ignores ;... %Zsemi_comment% -mode,"tex_comment",rtn % % ^G ignores %%... %Ztex_comment% -mode,"text_delimiters",rtn % % Text delimiters %Ztext_delimiters% - -:defmenu search menu,"more-options",rtn -mode,"icase",rtn % % Case insensitivity %Zicase% -mode,"wrap",rtn % % Search wraps %Zwrap% -mode,"search_prompting",rtn % % Search prompting %Zsearch_prompting% -mode,"csmode",rtn % % Continued search %Zcsmode% - -:defmenu paragraph menu,"more-options",rtn -mode,"french",rtn % % French spacing %Zfrench% -mode,"flowed",rtn % % Flowed text %Zflowed% -mode,"cpara",rtn % % Paragraph indent chars %Zcpara% -mode,"cnotpara",rtn % % Not-paragraph chars %Zcnotpara% - -:defmenu file menu,"more-options",rtn -mode,"restore",rtn % % Restore cursor %Zrestore% -mode,"guess_crlf",rtn % % Auto detect CR-LF %Zguess_crlf% -mode,"guess_indent",rtn % % Guess indent %Zguess_indent% -mode,"guess_non_utf8",rtn % % Guess non-UTF-8 %Zguess_non_utf8% -mode,"guess_utf8",rtn % % Guess UTF-8 %Zguess_utf8% -mode,"guess_utf16",rtn % % Guess UTF-16 %Zguess_utf16% -mode,"force",rtn % % Force last NL %Zforce% -mode,"nobackup",rtn % % No backup %Znobackup% - -:defmenu global menu,"more-options",rtn -mode,"nolocks",rtn % % Disable locks %Znolocks% -mode,"nobackups",rtn % % Disable backups %Znobackups% -mode,"nodeadjoe",rtn % % Disable DEADJOE %Znodeadjoe% -mode,"nomodcheck",rtn % % Disable mtime check %Znomodcheck% -mode,"nocurdir",rtn % % Disable current dir %Znocurdir% -mode,"exask",rtn % % Exit ask %Zexask% -mode,"nosta",rtn % % Disable status line %Znosta% -mode,"keepup",rtn % % Fast status line %Zkeepup% -mode,"break_hardlinks",rtn % % Break hard links %Zbreak_hardlinks% -mode,"break_links",rtn % % Break links %Zbreak_links% -mode,"joe_state",rtn % % Joe_state file %Zjoe_state% -mode,"undo_keep",rtn % % No. undo records %Zundo_keep% -mode,"backpath",rtn % % Path to backup files %Zbackpath% - -:defmenu cursor menu,"more-options",rtn -mode,"pg",rtn % % No. PgUp/PgDn lines %Zpg% -mode,"mid",rtn C Center on scroll %Zmid% -mode,"left",rtn L Columns to scroll left %Zleft% -mode,"right",rtn R Columns to scroll right %Zright% -mode,"floatmouse",rtn % % Click past end %Zfloatmouse% -mode,"rtbutton",rtn % % Right button %Zrtbutton% - -:defmenu marking menu,"more-options",rtn -mode,"autoswap",rtn % % Autoswap mode %Zautoswap% -mode,"marking",rtn % % Marking %Zmarking% -mode,"lightoff",rtn % % Auto unmask %Zlightoff% - -:defmenu tab menu,"more-options",rtn -mode,"smarthome",rtn % % Smart home key %Zsmarthome% -mode,"smartbacks",rtn % % Smart backspace %Zsmartbacks% -mode,"indentfirst",rtn % % To indent first %Zindentfirst% -mode,"purify",rtn % % Clean up indents %Zpurify% -mode,"spaces",rtn % % No tabs %Zspaces% - - THIRD SECTION: Named help screens: - - Use \i to turn on/off inverse video - Use \u to turn on/off underline - Use \b to turn on/off bold - Use \d to turn on/off dim - Use \f to turn on/off flash - Use \l to turn on/off italic - - Use \| to insert a spring: all springs in a given line are set to the same - width such that the entire line exactly fits in the width of the screen (if - it's not an exact multiple so that there are N spaces remaining, the - rightmost N springs each get one extra space). Hint: if you want vertical - alignment, each line should have the same number of springs. - - Use the '-help_is_utf8' global option to allow UTF-8 sequences in the help - text. Otherwise, the locale 8-bit character set is assumed. - -{Basic - \|\uREGION\u \|\uGO TO\u \|\uGO TO\u \|\uDELETE\u \|\uEXIT\u \|\uSEARCH\u \| - \|\b^Arrow\b Select \|\b^Z\b Prev. word \|\b^U/^V\b PgUp/PgDn \|\b^D\b Char. \|\b^KX\b Save \|\b^KF\b Find \| - \|\b^KB\b Begin \|\b^X\b Next word \|\uMISC\u \|\b^Y\b Line \|\b^C\b Abort \|\b^L\b Next \| - \|\b^KK\b End \|\b^KU\b Top of file \|\b^KJ\b Paragraph \|\b^W\b >Word \|\b^KQ\b All \|\uHELP\u \| - \|\b^KC\b Copy \|\b^KV\b End of file \|\b^KA\b Center line \|\b^O\b Word< \|\uFILE\u \|\bEsc .\b Next\| - \|\b^KM\b Move \|\b^A\b Beg. of line \|\b^K Space\b Status \|\b^J\b >Line \|\b^KE\b Edit \|\bEsc ,\b Prev\| - \|\b^KW\b File \|\b^E\b End of line \|\uSPELL\u \|\b^[O\b Line< \|\b^KR\b Insert \|\b^KH\b Off \| - \|\b^KY\b Delete \|\b^KL\b To line no. \|\bEsc N\b Word \|\b^_\b Undo \|\b^KD\b Save \|\b^T\b Menu \| - \|\b^K/\b Filter \|\b^G\b Matching ( \|\bEsc L\b File \|\b^^\b Redo \|\b^K`\b Revert \|\b\b \| -} - -{Advanced - \|\uMACROS\u \|\uSCROLL\u \|\uWINDOW\u \|\uGO TO\u \|\uI-SEARCH\u \| - \|\b^K[ 0-9\b Record \|\bEsc W\b Up \|\b^KO\b Open \b^C\b Close \|\bEsc B\b / \bK\b \|\b^R\b Backwards \| - \|\b^K]\b Stop \|\bEsc Z\b Down \|\b^KG\b Grow \b^KT\b Shrink \|to \b^KB\b/\b^KK \b\|\b^S\b Forwards \| - \|\bEsc I\b Text \|\bEsc <\b Left \|\b^KN\b Next \b^KP\b Prev. \|\b^P\b Up \|\uBOOKMARKS\u \| - \|\b^K?\b Pause \|\bEsc >\b Right \|\b^KI\b Show one / All \|\b^N\b Down \|\bEsc 0-9\b Goto \| - \| for prompt \|\uINSERT\u \|\uSHELL\u \|\b^B\b Left \|\bEsc Esc\b Set \| - \|\b^K 0-9\b Play \|\b^]\b Line \b^Q\b Ctrl \|\bF1-F4\b Term emulator \|\b^F\b Right \|\b^K-\b Auto prev\| - \|\b^K\\\b Repeat \|\b^@\b Space \b^\\\b Meta \|\b^K'\b In buffer \| \|\b^K=\b Auto next\| - \|\bEsc D\b Dump \|\bEsc Y\b Paste \|\b^KZ\b Suspend \bEsc !\b Append \| \| \| -} - -{Programs - \|\uCOMMANDS\u \|\uCOMPILING\u \|\uQUICK\u \| - \|\bEsc X\b Command prompt\|\bEsc C\b Save modified compile\|\b^G\b Find word under cursor \| - \|\bEsc M\b Calculator \|\bEsc G\b Grep \|\b^K;\b Tags file search \| - \|\bshowlog\b Startup log \|\bEsc =\b To next error \|\bEsc Enter\b Complete word \| - \|\bupper\b Change case \|\bEsc -\b To prev. error \|\uBUFFER\u \| - \|\blower\b Change case \|\bEsc Space\b Jump to error \|\bEsc U\b Next \| - \|\bcd\b Change dir \|\uINDENT\u \|\bEsc V\b Previous \| - \|\bkeymap\b Change map \|\b^K,\b Less \|\bEsc X bufed\b Switch \| - \| \|\b^K.\b More \| \| -} - - Missing: Esc ~ not mod - Esc e parse errors in buffer - Esc ^Y yank pop - -{Search - Search sequences: \| - \b\\^ \\$\b matches beg./end of line \b\\.\b match any single char \| - \b\\< \\>\b matches beg./end of word \b\\!\b match char or expression \| - \b\\( \\)\b grouping \b\\|\b match left or right \| - \b\\[a-z]\b matches one of a set \b\\y \\Y\b short for (.*) / (!*) \| - \b\\{1,3}\b match 1 - 3 occurrences \b\\?\b match 0 or 1 occurrence \| - \b\\+\b match 1 or more occurrences \b\\*\b match 0 or more occurrences \| - \| - \b^C\b to abort \bEsc .\b to list of escape sequences \| -} - -{Escape sequences - Escape sequences: \| - \b\\x{10fff}\b Unicode code point \b\\p{Ll}\b Unicode category \| - \b\\i\b / \b\\I\b Identifier start \b\\t\b tab \b\\e\b escape \| - \b\\c\b / \b\\C\b Identifier continue \b\\n\b newline \b\\r\b carriage return \| - \b\\d\b / \b\\D\b Digit / Not a digit \b\\b\b backspace \b\\xFF\b hex character \| - \b\\w\b / \b\\W\b Word / Not a word \b\\a\b alert \b\\377\b octal character \| - \b\\s\b / \b\\S\b Space / Not a space \b\\f\b formfeed \b\\\\\b backslash \| - \| - \| -} - -{Replace - Replace sequences: \| - \b\\&\b replaced with entire match \b\\1\b - \b9\b replaced with Nth group \| - \b\\u \\l\b convert next to upper/lower \b\\U \\L\b case convert until \b\\E\b \| - \| - \| - \| - \| - \| - \b^C\b to abort \bEsc ,\b to list of escape sequences \| -} - -{SearchOptions - Search options: \| - \br\b Replace \bk\b Restrict search to highlighted block \| - \bi\b Ignore case \bb\b Search backwards instead of forwards \| - \ba\b Search across all loaded files \| - \be\b Search across all files in Grep or Compile error list \| - \bw\b / \bn\b Allow / prevent wrap to start of file \| - \bx\b / \by\b Search text is standard format / JOE format regular expression \| - \bnnn\b Perform exactly nnn replacements \| - \b^C\b to abort -} - -{Math - \uMATH COMMANDS\u \uCONSTANTS\u \| - \bhex oct bin\b display mode \b0xff\b hex entry \| - \beng dec\b engineering / normal \b0o77\b octal entry \| - \bins\b type result into file \b0b11\b binary entry \| - \beval\b evaluate block \b3e-4\b floating point entry \| - 2+3\b:\bins multiple commands \uVARIABLES\u \| - \uOPERATORS\u \bans\b Previous result \| - \b! ^ * / % + -\b \ba=10\b Assign a variable \| - \b< <= > >= == != && || ? :\b \bEsc .\b for list of functions \| -} - -{Functions - \uFUNCTIONS\u \uCONSTANTS\u \| - \bsin cos tab asin acos atan\b \be pi\b \| - \bsinh cosh tanh asinh acosh atanh\b \| - \bsqrt cbrt exp ln log\b \| - \bint floor ceil abs\b \| - \berf erfc j0 j1 y0 y1\b \| - \bjoe(..macro..)\b - runs an editor macro \| - \| - \bEsc .\b for statistics \| -} - -{Statistics - \uMATH COMMANDS\u \| - Statistics on region of numbers Linear regression on region of x y pairs \| - \bsum\b Sum \blr(x)\b Estimate y given x y=m*x+b \| - \bcnt\b Count \brlr(y)\b Estimate x given y \| - \bavg\b Mean \bLr rLr\b Logarithmic regression y=m*ln(x)+b \| - Standard deviation: \blR rlR\b Exponential regression y=e^(m*x)+b \| - \bdev\b all data present \bLR rLR\b Power regression y=b*x^m \| - \bsamp\b sample of data present Side effects: \bb\b, \bm\b: regression coef. \| - \br\b: correlation coef., \bcov\b: covariance \| -} - -{Names - Hit TAB to complete names. Use up / down arrow keys to traverse history. \| - Special file names: \| - \b!\bcommand Pipe in/out of a shell command \| - \b>>\bfilename Append to a file \| - \b-\b Read/Write to/from standard I/O \| - filename\b,START,SIZE\b Read/Write a part of a file/device \| - Give START/SIZE in decimal (255), octal (0377) or hex (0xFF) \| - \b\\,\b Use backslash to quote special characters \| - \b^C\b to abort -} - -{CharTable - \| Dec \u 0123 4567 8901 2345 0123 4567 8901 2345 \u Dec \| - \| 0 | \u@ABC\u \uDEFG\u \uHIJK\u \uLMNO\u \i\u@ABC\u\i \i\uDEFG\u\i \i\uHIJK\u\i \i\uLMNO\u\i | 128 \| - \| 16 | \uPQRS\u \uTUVW\u \uXYZ[\u \u\\]^_\u \i\uPQRS\u\i \i\uTUVW\u\i \i\uXYZ[\u\i \i\u\\]^_\u\i | 144 \| - \| 32 | !"# $%&' ()*+ ,-./ ���� ���� ���� �X�� | 160 \| - \| 48 | 0123 4567 89:; <=>? ���� ���� ���� ���� | 176 \| - \| 64 | @ABC DEFG HIJK LMNO ���� ���� ���� ���� | 192 \| - \| 80 | PQRS TUVW XYZ[ \\]^_ ���� ���� ���� ���� | 208 \| - \| 96 | `abc defg hijk lmno ���� ���� ���� ���� | 224 \| - \| 112 | pqrs tuvw xyz{ |}~ ���� ���� ���� ���� | 240 \| -} - -{Joe - Send bug reports to: http://sourceforge.net/projects/joe-editor \| - \| - default joerc file is here /usr/local/etc/joe/joerc \| - default syntax and i18n files are here /usr/local/share/joe \| - additional documentation can be found here /usr/local/share/doc/joe \| - \| - \| - \| - \| -} - - FOURTH SECTION: Key bindings: - - Section names you must provide: - - :main For editing window - :prompt For prompt lines - :query For single-character query lines - :querya Singe-character query for quote - :querysr Search & Replace single-character query - :shell For shell windows - :vtshell For terminal emulator windows - - Other sections may be given as well for organization purposes or for - use with the '-keymap' option. - - Use: - :inherit name To copy the named section into the current one - :delete key To delete a key sequence from the current section - - Keys: - - Use U+12345 for specific unicode character - Use ^@ through ^_ and ^? for Ctrl chars - Use SP for space - Use a TO b to generate a range of characters - Use MDOWN, MDRAG, MUP, M2DOWN, M2DRAG, M2UP, M3DOWN, M3DRAG, M3UP for mouse - Use MWDOWN, MWUP for wheel mouse motion - Use ^# for 0x9B (for Amiga). But warning: this breaks UTF-8 keyboards. - - You can also use termcap string capability names. For example: - - .ku Up - .kd Down - .kl Left - .kr Right - .kh Home - .kH End - .kI Insert - .kD Delete - .kP PgUp - .kN PgDn - .k1 - .k9 F1 - F9 - .k0 F0 or F10 - .k; F10 - - Macros: - - Simple macros can be made by comma seperating 2 or more command names. For - example: - - eof,bol ^T Z Goto beginning of last line - - Also quoted matter is typed in literally: - - bol,">",dnarw .k1 Quote news article line - - Macros may cross lines if they end with , - - Commands or named macros may be created with :def. For example, you can - use: - - :def foo eof,bol - - To define a command foo which will goto the beginning of the last line. - - Recenter -:def recenter retype,arg,"top+height/2-line",rtn,upslide - -:windows Bindings common to all windows -type U+0 TO U+10FFFF -abort ^C Abort window - abort ^K Q - abort ^K ^Q - abort ^K q -querysave,query,killjoe ^K Q Query to save files, then exit -querysave,query,killjoe ^K ^Q -querysave,query,killjoe ^K q -arg ^K \ Repeat next command -explode ^K I Show all windows or show only one window -explode ^K ^I -explode ^K i -help ^K H Help menu -help ^K ^H -help ^K h -hnext ^[ . Next help window -hprev ^[ , Previous help window -math ^[ m Calculator -math ^[ M Calculator - math ^[ ^M Calculator -msg ^[ h Display a message -msg ^[ H Display a message -msg ^[ ^H Display a message -nextw ^K N Goto next window -nextw ^K ^N -nextw ^K n -pgdn .kN Screen down -pgdn ^V -pgdn ^[ [ 6 ~ - pgdn ^# S -pgup .kP Screen up -pgup ^U -pgup ^[ [ 5 ~ - pgup ^# T -play ^K 0 TO 9 Execute macro -prevw ^K P Goto previous window -prevw ^K ^P -prevw ^K p -query ^K ? Macro query insert -record ^K [ Record a macro - retype ^R Refresh screen - recenter ^R Recenter and refresh screen -rtn ^M Return -shell ^K Z Shell escape -shell ^K ^Z -shell ^K z -stop ^K ] Stop recording - Mouse handling -defmdown MDOWN Move the cursor to the mouse location -defmup MUP -defmdrag MDRAG Select a region of characters -defm2down M2DOWN Select the word at the mouse location -defm2up M2UP -defm2drag M2DRAG Select a region of words -defm3down M3DOWN Select the line at the mouse location -defm3up M3UP -defm3drag M3DRAG Select a region of lines -defmiddleup MIDDLEUP -defmiddledown MIDDLEDOWN Insert text - -xtmouse ^[ [ M Introduces an xterm mouse event -extmouse ^[ [ < Introduces an extended xterm mouse event - - Sample if/then/else macro - if,"char==65",then,"it's an A",else,"it's not an a",endif ^[ q - -:main Text editing window -:inherit windows - - Spell-check macros - - Ispell -:def ispellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype -:def ispellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\012';/bin/rm ispell.tmp",rtn,retype,nextword - - Aspell -:def aspellfile filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype -:def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword - - -aspellfile ^[ l -aspellword ^[ n - - Compile - -:def compile mwind!,mfit!,querysave,query,scratch,"* Build Log *",rtn,bof,markb,eof," ",markk,blkdel,build - - Grep - -:def grep_find mwind!,mfit!,scratch,"* Grep Log *",rtn,bof,markb,eof," ",markk,blkdel,grep - - Man page - -:def man scratch,"* Man Page *",rtn,bof,markb,eof," ",markk,blkdel," ",ltarw,run,"man -P cat -S 2:3 " - - Shell windows - We load the already existing Startup Log first so that Shell does not inherit the current directory. - -:def shell1 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 1 *",rtn,vtbknd!,eof -:def shell2 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 2 *",rtn,vtbknd!,eof -:def shell3 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 3 *",rtn,vtbknd!,eof -:def shell4 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 4 *",rtn,vtbknd!,eof - - Macros allowed in shell window commands -:def shell_clear psh,bof,markb,eof,markk,blkdel -:def shell_parse parserr -:def shell_gparse gparse -:def shell_release release -:def shell_math maths -:def shell_abort abort -:def shell_rtn rtn -:def shell_edit edit -:def shell_dellin dellin -:def shell_cd cd -:def shell_pop popabort -:def shell_markb markb -:def shell_markk markk - - Split window version - :def shell1 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 1 *",rtn,vtbknd!,eof - :def shell2 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 2 *",rtn,vtbknd!,eof - :def shell3 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 3 *",rtn,vtbknd!,eof - :def shell4 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 4 *",rtn,vtbknd!,eof - - - Here we guess some common key sequences which either do not have termcap - sequences or which are frequently wrong. Note that if the termcap entry is - correct, it will override these later on. - -paste ^[ ] 5 2 ; Base64 paste (obsolete) -brpaste ^[ [ 2 0 0 ~ Bracketed paste -brpaste_done ^[ [ 2 0 1 ~ Bracketed paste done - -insc ^[ [ 2 ~ -insc ^[ [ L SCO - -delch ^[ [ 3 ~ - -pgup ^[ [ I SCO - -pgdn ^[ [ G SCO - -home ^[ [ 1 ~ Putty, Linux, Cygwin -home ^[ [ H Xterm, Konsole, SCO -home ^[ O H gnome-terminal -home ^[ [ 7 ~ RxVT - home ^# SP A Amiga - -eol ^[ [ 4 ~ Putty, Linux, Cygwin, ssh -eol ^[ [ F Xterm, Konsole, SCO -eol ^[ O F gnome-terminal -eol ^[ [ 8 ~ RxVT - eol ^# SP @ Amiga - -rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 1 ; 5 C Mark right Xterm -rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 5 C Mark right Gnome-terminal - (Almost all termcap entries have ^[ O C as an arrow key). - rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ O C Mark right Putty Ctrl-rtarw -rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ O c Mark right RxVT Ctrl-rtarw - -ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ [ 1 ; 5 D Mark left -ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ [ 5 D Mark left - ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ O D Mark left Putty Ctrl-ltarw -ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ O d Mark left RxVT Ctrl-ltarw - -uparw,dnarw,begin_marking,uparw,toggle_marking ^[ [ 1 ; 5 A Mark up -uparw,dnarw,begin_marking,uparw,toggle_marking ^[ [ 5 A Mark up - uparw,dnarw,begin_marking,uparw,toggle_marking ^[ O A Mark up Putty Ctrl-uparw -uparw,dnarw,begin_marking,uparw,toggle_marking ^[ O a Mark up RxVT Ctrl-uparw - -dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 1 ; 5 B Mark down -dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 5 B Mark down - dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ O B Mark down Putty Ctrl-dnarw -dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ O b Mark down RxVT Ctrl-dnarw - -blkdel,nmark ^[ [ 3 ; 5 - Gnome-terminal Ctrl-Del -blkdel,nmark ^[ [ 3 ; 5 ~ Xterm Ctrl-Del - -yank ^[ [ 2 ; 5 - Gnome-terminal Ctrl-Ins -yank ^[ [ 2 ; 5 ~ Xterm Ctrl-Ins - - Extra functions not really part of JOE user interface: - -delbol ^[ o Delete to beginning of line -delbol ^[ ^O Delete to beginning of line -dnslide ^[ z Scroll down one line -dnslide ^[ Z Scroll down one line -dnslide ^[ ^Z Scroll down one line -dnslide,dnslide,dnslide,dnslide MWDOWN -compile ^[ c Compile -compile ^[ C -compile ^[ ^C Compile -grep_find ^[ g Grep -grep_find ^[ G Grep -grep_find ^[ ^G Grep -execmd ^[ x Prompt for command to execute -execmd ^[ X Prompt for command to execute -execmd ^[ ^X Prompt for command to execute -finish ^[ ^I Complete word in document -finish ^[ ^M Complete word: used to be math -mwind!,mfit,jump,bol ^[ SP -isrch ^[ s Forward incremental search -isrch ^[ S Forward incremental search -isrch ^[ ^S Forward incremental search -isrch ^S -notmod ^[ ~ Not modified -mwind,mfit,prevw,nxterr ^[ = To next error -parserr ^[ e Parse errors in current buffer -parserr ^[ E Parse errors in current buffer -parserr ^[ ^E Parse errors in current buffer -mwind,mfit,prevw,prverr ^[ - To previous error -rsrch ^[ r Backward incremental search -rsrch ^[ R Backward incremental search -rsrch ^[ ^R Backward incremental search -retype,rsrch ^R -run ^[ ! Run a program in a window -tomarkb ^[ b Go to beginning of marked block -tomarkb ^[ ^B Go to beginning of marked block -tomarkk ^[ k Go to end of marked block -tomarkk ^[ ^K Go to end of marked block -tomarkk ^[ K Go to end of marked block -txt ^[ i Prompt for text and insert it -txt ^[ I Prompt for text and insert it -upslide ^[ w Scroll up one line -upslide ^[ ^W Scroll up one line -upslide ^[ W Scroll up one line -upslide,upslide,upslide,upslide MWUP -yank ^[ y Undelete text -yankpop ^[ ^Y Undelete text -yank ^[ Y Undelete text - - toggle_marking ^@ Ctrl-space block selection method -insc ^@ Ctrl-space used to insert a space - - bufed ^[ d Menu of buffers -nbuf ^[ v Next buffer -nbuf ^[ V Next buffer -nbuf ^[ ^V Next buffer -pbuf ^[ u Prev buffer -pbuf ^[ U Prev buffer -pbuf ^[ ^U Prev buffer - query ^[ q Quoted insert - byte ^[ n Goto byte - col ^[ c Goto column - abortbuf ^[ k Kill current buffer- don't mess with windows - ask ^[ a Ask to save current buffer - bop ^[ p Backwards paragraph - bos ^[ x Bottom of screen - copy ^[ ^W Copy block into yank - dupw ^[ \ Split window - eop ^[ n Forwards paragraph - format ^[ j Format paragraph ignore block - markl ^[ l Mark line - nmark ^[ @ Turn off ^KB ^KK - pop ^[ > Pop ^KB ^KK - psh ^[ < Push ^KB ^KK - swap ^[ x Swap ^KB and cursor - tomarkbk ^[ g Switch between beginning and end of marked - tos ^[ e Top of screen - tw0 ^[ 0 Kill current window (orphans buffer) - tw1 ^[ 1 Kill all other windows (orphans buffers) - uarg ^[ u Universal argument - yank ^[ ^Y Undelete previous text - yapp ^[ w Append next delete to previous yank - - Standard JOE user interface - -quote8 ^\ Enter Meta chars - quote ` Enter Ctrl chars -quote ^[ ' Enter Ctrl chars -quote ^Q - -backs ^? Backspace -backs ^H -backw ^O Backspace word -bknd ^K ' Shell window -blkcpy ^K C Copy marked block -blkcpy ^K ^C -blkcpy ^K c -blkdel ^K Y Delete marked block -blkdel ^K ^Y -blkdel ^K y -blkmove ^K M Move marked block -blkmove ^K ^M -blkmove ^K m -blksave ^K W Save marked block -blksave ^K ^W -blksave ^K w -bof ^K U Goto beginning of file -bof ^K ^U -bof ^K u - bol .kh Goto beginning of line - bol ^A - bol ^# SP A -home .kh -home ^A -center ^K A Center line -center ^K ^A -center ^K a -crawll ^K < Pan left -crawll ^[ < Pan left -crawlr ^K > Pan right -crawlr ^[ > Pan right -delch .kD Delete character -delch ^D -deleol ^J Delete to end of line -dellin ^Y Delete entire line -delw ^W Delete word to right -dnarw .kd Go down -dnarw ^N -dnarw ^[ O B -dnarw ^[ [ B - dnarw ^# B -edit ^K E Edit a file -edit ^K ^E -edit ^K e -eof ^K V Go to end of file -eof ^K ^V -eof ^K v -eol .kH Go to end of line -eol .@7 -eol ^E -exsave ^K X Save and exit -exsave ^K ^X -exsave ^K x -ffirst ^K F Find first -ffirst ^K ^F -ffirst ^K f -filt ^K / Filter block - finish ^K ^M Complete text under cursor -fnext ^L Find next -fmtblk ^K J Format paragraphs in block -fmtblk ^K ^J -fmtblk ^K j -gomark ^[ 0 TO 9 Goto bookmark -groww ^K G Grow window -groww ^K ^G -groww ^K g -insc .kI Insert a space - insc ^@ -insf ^K R Insert a file -insf ^K ^R -insf ^K r -lindent ^K , Indent to left -line ^K L Goto line no. -line ^K ^L -line ^K l -ltarw .kl Go left -ltarw ^B -ltarw ^[ O D -ltarw ^[ [ D - ltarw ^# D -macros ^[ d Dump keyboard macros -macros ^[ ^D -markb ^K B Set beginning of marked block -markb ^K ^B -markb ^K b -markk ^K K Set end of marked block -markk ^K ^K -markk ^K k - mode ^T Options menu -menu,"root",rtn ^T -nextpos ^K = Goto next position in position history -nextword ^X Goto next word -open ^] Split line -prevpos ^K - Previous position in history -prevword ^Z Previous word -reload ^K ` Revert file -redo ^^ Redo changes -rindent ^K . Indent to right -rtarw .kr Go right -rtarw ^F -rtarw ^[ O C -rtarw ^[ [ C - rtarw ^# C -run ^K ! Run a shell command -save ^K D Save file -save ^K S -save ^K ^D -save ^K ^S -save ^K d -save ^K s -setmark ^[ ^[ Set bookmark -shrinkw ^K T Shrink window -shrinkw ^K ^T -shrinkw ^K t -splitw ^K O Split window -splitw ^K ^O -splitw ^K o -stat ^K SP Show status -stat ^K ^@ Show status -tag ^K ; Tags file search -tomatch ^G Goto matching parenthasis -undo ^_ Undo changes -uparw .ku Go up - uparw ^# A -uparw ^P -uparw ^[ O A -uparw ^[ [ A -shell1 ^[ [ 1 1 ~ -shell1 ^[ O P -shell1 ^[ [ [ A -shell1 .k1 -shell2 ^[ [ 1 2 ~ -shell2 ^[ O Q -shell2 ^[ [ [ B -shell2 .k2 -shell3 ^[ [ 1 3 ~ -shell3 ^[ O R -shell3 ^[ [ [ C -shell3 .k3 -shell4 ^[ [ 1 4 ~ -shell4 ^[ O S -shell4 ^[ [ [ D -shell4 .k4 - -:prompt Prompt windows -:inherit main -if,"byte>size",then,complete,complete,else,delch,endif ^D -complete ^I -dnarw,eol .kd Go down -dnarw,eol ^N -dnarw,eol ^[ O B -dnarw,eol ^[ [ B - dnarw,eol ^# B -uparw,eol .ku Go up - uparw,eol ^# A -uparw,eol ^P -uparw,eol ^[ O A -uparw,eol ^[ [ A - -:menu Selection menus -:inherit windows - -pgupmenu ^[ [ I - -pgdnmenu ^[ [ G - -bolmenu ^[ [ 1 ~ Putty, Linux, Cygwin -bolmenu ^[ [ H Xterm, Konsole -bolmenu ^[ O H gnome-terminal -bolmenu ^[ [ 7 ~ RxVT - bolmenu ^# SP A Amiga - -eolmenu ^[ [ 4 ~ Putty, Linux, Cygwin, ssh -eolmenu ^[ [ F Xterm, Konsole -eolmenu ^[ O F gnome-terminal -eolmenu ^[ [ 8 ~ RxVT - eolmenu ^# SP @ Amiga - -abort ^[ ^[ Why? -backsmenu ^? -backsmenu ^H -bofmenu ^K U -bofmenu ^K ^U -bofmenu ^K u -bolmenu .kh -bolmenu ^A -dnarwmenu .kd -dnarwmenu ^N -dnarwmenu ^[ [ B -dnarwmenu ^[ O B - dnarwmenu ^# B -dnarwmenu MWDOWN -eofmenu ^K V -eofmenu ^K ^V -eofmenu ^K v -eolmenu .kH -eolmenu ^E -ltarwmenu .kl -ltarwmenu ^B -ltarwmenu ^[ [ D -ltarwmenu ^[ O D - ltarwmenu ^# D -pgdnmenu .kN Screen down -pgdnmenu ^V -pgdnmenu ^[ [ 6 ~ - pgdnmenu ^# S -pgupmenu .kP Screen up -pgupmenu ^U -pgupmenu ^[ [ 5 ~ - pgupmenu ^# T -rtarwmenu .kr -rtarwmenu ^F -rtarwmenu ^[ [ C - rtarwmenu ^# C -rtarwmenu ^[ O C -rtn SP -rtn ^I -rtn ^K H -rtn ^K h -rtn ^K ^H -tabmenu ^I -uparwmenu .ku -uparwmenu ^P -uparwmenu ^[ [ A -uparwmenu ^[ O A - uparwmenu ^# A -uparwmenu MWUP -defm2down M2DOWN Hits return key - -:query Single-key query window -:inherit windows - -:querya Single-key query window for quoting -type U+0 TO U+10FFFF - -:querysr Search & replace query window -type U+0 TO U+10FFFF - -:shell Input to shell windows -:inherit main -"" ^C Abort -"" ^D Eof -" " ^I Tab -"" ^H Backspace -"" ^M Return -"" ^? Backspace - -:vtshell Input to ANSI shell windows -:inherit main -""  [ A -"" .ku -""  [ B -"" .kd -""  [ C -"" .kr -""  [ D -"" .kl -"" ^A BOL for bash -"" ^C Abort -"" ^D Eof -"" ^E EOL for bash -" " ^I Tab -"" ^H Backspace -"" ^M Return -"" ^? Backspace diff --git a/.config/joestar/syntax/4gl.jsf b/.config/joestar/syntax/4gl.jsf @@ -1,219 +0,0 @@ -# JOE syntax highlight file for Progress 4GL -# by Gediminas http://proc.w3.lt -# Version 1.04 - -=Idle -=Comment -=Constant -=String +Constant -=Number +Constant -=Type -=Ident - -# conditional operators, blocks -=Keyword -=Conditional +Keyword -=Operator +Keyword - -# preprocessor include, definition, reference -=Preproc -=Include +Preproc -=PreRef +Ident - -:idle Idle - * idle - "/" slash - "{" brace - "&" prep buffer - "a-zA-Z" ident buffer - "'" string recolor=-1 - "\"" string2 recolor=-1 - "0-9" number recolor=-1 - "?" question recolor=-1 - -# Comments - 2 levels of nesting allowed - -:slash Idle - * idle noeat - "*" comment recolor=-2 -:comment Comment comment - * comment - "/" slash2 - "*" maybe_end_comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() -:maybe_end_comment Comment comment - * comment - "/" idle - "*" maybe_end_comment - -:slash2 Idle - * comment noeat - "*" comment2 recolor=-2 -:comment2 Comment comment - * comment2 - "*" maybe_end_comment2 - "BFHNTX" comment2 noeat call=comment_todo.comment_todo() -:maybe_end_comment2 Comment comment - * comment2 - "/" comment - "*" maybe_end_comment2 - -# Preprocessor -# Allow preprocessor name reference inside include file reference: -# {include/trace {&FILE-NAME} {&LINE-NUMBER}} - -:brace Include - * include noeat - "&" scoped recolor=-2 - "}" idle - -:include Include - * include recolor=-2 - "{" brace2 - "}" idle - -:brace2 Include - * include2 noeat - "}" idle - -:include2 Include - * include2 recolor=-2 - "}" include - -:scoped PreRef - * scoped - "}" idle - -:prep Preproc - * idle noeat istrings - "&IF" predir - "&THEN" predir - "&ELSEIF" predir - "&ELSE" predir - "&ENDIF" predir - "&SCOPED-DEFINE" predir - "&SCOP" predir - "&GLOBAL-DEFINE" predir - "&GLOB" predir - "&MESSAGE" predir - "&UNDEFINE" predir - "&UNDEF" predir -done - "-a-zA-Z0-9_" prep - -:predir Preproc - * idle noeat - - -# String constants, copied from pascal.jsf with " added - -:string String string - * string - "\n" idle - "'" maybe_end_string - -:maybe_end_string String string - * idle recolor=-1 noeat - "'" string - -:string2 String string - * string2 - "\n" idle - "\"" maybe_end_string2 - -:maybe_end_string2 String string - * idle recolor=-1 noeat - "\"" string2 - -# Numeric constant, same as pascal.jsf - -:number Number - * idle noeat - "0-9" number - "eE" epart - "." dot - -:dot Number - * idle noeat - "0-9" float - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:question Constant - * idle noeat - -# Keywords -# Available jumps: cond type oper kw - -# TODO: This needs to be vastly expanded, it seems like every other -# token in this language is a keyword. - -:ident Ident - * idle noeat istrings - "assign" cond - "case" cond - "cha" type - "char" type - "character" type - "create" reserved - "dat" type - "date" type - "dec" type - "decimal" type - "defined" oper - "delete" reserved - "do" reserved - "else" cond - "end" cond - "find" reserved - "for" reserved - "function" cond - "get" reserved - "handle" type - "if" cond - "int" type - "integer" type - "leave" cond - "log" type - "logical" type - "memptr" type - "next" cond - "otherwise" cond - "param" cond - "parameter" cond - "procedure" cond - "raw" type - "rec" type - "repeat" cond - "reposition" reserved - "return" cond - "rowid" type - "run" cond - "then" cond - "when" cond - "widget-handle" type -done - "-a-zA-Z0-9_" ident - -:cond Conditional - * idle noeat - -:type Type - * idle noeat - -:oper Operator - * idle noeat - -:reserved Keyword - * idle noeat diff --git a/.config/joestar/syntax/ada.jsf b/.config/joestar/syntax/ada.jsf @@ -1,193 +0,0 @@ -# JOE syntax highlight file for ADA - -# Define colors - -=Idle -=Comment -=Constant -=Character +Constant -=Number +Constant -=String +Constant -=StringEscape +Escape +String -=Keyword -=Operator +Keyword - -:idle Idle - * idle - "-" maybe_comment - "'" char recolor=-1 - "\"" string recolor=-1 - "0-9" first_digit recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "Bb" maybe_binary buffer - "Oo" maybe_octal buffer - "Xx" maybe_hex buffer - "ac-np-wyzAC-NP-WYZ" ident buffer - -:maybe_comment Idle - * idle noeat - "-" comment recolor=-2 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - - -# Character constant - -:char Idle - * char1 - -:char1 Idle - * idle - "'" char2 recolor=-3 - -:char2 Character - * idle noeat - -# Strings - -:maybe_binary Idle - * ident noeat - "\"" string recolor=-2 - -:maybe_octal Idle - * ident noeat - "\"" string recolor=-2 - -:maybe_hex Idle - * ident noeat - "\"" string recolor=-2 - -:string String string - * string - "\n" idle - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "\n" string recolor=-2 - -# Integer constants - -:first_digit Number - * idle noeat - "." float - "_" first_digit - "0-9" first_digit - -# Floating point - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -# Identifiers - -:ident Idle - * quote noeat istrings - "abort" kw - "abs" operator - "abstract" kw - "accept" kw - "aliased" kw - "all" kw - "and" operator - "array" kw - "at" kw - "begin" kw - "body" kw - "case" kw - "constant" kw - "declare" kw - "delay" kw - "delta" kw - "digits" kw - "do" kw - "else" kw - "elsif" kw - "end" kw - "entry" kw - "exception" kw - "exit" kw - "for" kw - "function" kw - "generic" kw - "goto" kw - "if" kw - "in" kw - "interface" kw - "is" kw - "limited" kw - "loop" kw - "mod" kw - "new" kw - "not" operator - "null" kw - "of" kw - "or" operator - "others" kw - "out" kw - "overriding" kw - "package" kw - "pragma" kw - "private" kw - "procedure" kw - "protected" kw - "raise" kw - "range" kw - "record" kw - "rem" operator - "renames" kw - "requeue" kw - "return" kw - "reverse" kw - "select" kw - "separate" kw - "subtype" kw - "synchronized" kw - "tagged" kw - "task" kw - "terminate" kw - "then" kw - "type" kw - "until" kw - "use" kw - "when" kw - "while" kw - "with" kw - "xor" operator -done - "a-zA-Z0-9_" ident - -:operator Operator - * idle noeat - -:kw Keyword - * idle noeat - -# identifiers separated with quote ' - -:quote Idle - * idle noeat - "'" quote_word - -:quote_word Idle - * idle noeat - "a-zA-Z" ident buffer diff --git a/.config/joestar/syntax/ant.jsf b/.config/joestar/syntax/ant.jsf @@ -1,30 +0,0 @@ -# JOE syntax highlight file for Ant's build scripts -# by Christian Nicolai (http://mycrobase.de) -# Refactored to XML by John J. Jordan - -# http://ant.apache.org/ - -=Idle -=String +Constant -=StringEscape +Escape +String - -:init Idle - * idle noeat call=xml.xml(ant) - -.subr maybe_antvar -# initial state -:maybe_antvar String string - * NULL return - "{" antvar recolor=-2 - -:antvar StringEscape string - * antvar - "}" NULL return -.end - -.subr antvar - -:antvar StringEscape string - * antvar - "}" NULL return -.end diff --git a/.config/joestar/syntax/asm.jsf b/.config/joestar/syntax/asm.jsf @@ -1,257 +0,0 @@ -# JOE syntax highlight file for assembly language - -# Highlights ';' comments, C-preprocessor stuff and C-like constants. - -# Some assembly languages do not use C-preprocessor and use '#' for -# comments. For them, eliminate all states up to ':idle'. and change the -# ";" line in 'idle' to '#'. - -# For UNIX assembly ';' actually separates instructions, but I've only seen -# this for 'rep; movsb'. If it bothers you eliminate the ';' line in -# ':idle'. - -# This highlighter is too strict for numeric constants. Many assembly -# languages allow '000009', which looks like a bad octal constant in C/UNIX. - -=Idle -=Ident -=Bad -=Preproc -=Define -=Comment -=IncLocal +String +Preproc -=IncSystem +Preproc -=Constant -=Number +Constant -=String +Constant -=Character +String -=CharacterEscape +Escape +Character -=StringEscape +Escape +String -=Type -=Brace -=Control - -:reset Idle - * first noeat - " \t" reset - -:first Idle - * idle noeat - "#" pre recolor=-1 - -:pre Preproc - * preproc noeat - " \t" pre - "a-z" preident recolor=-1 buffer - -:preident Preproc - * preproc noeat strings - "define" predef - "include" preinc -done - "a-z" preident - -:preinc Preproc - * preinc - " \t" preinc_ws - "\n" reset - -:preinc_ws Preproc - * prebad recolor=-1 - " \t" preinc_ws - "\"" preinc_local recolor=-1 - "<" preinc_system recolor=-1 - -:preinc_local IncLocal - * preinc_local - "\"\n" reset - -:preinc_system IncSystem - * preinc_system - ">\n" reset - -:prebad Bad - * prebad - "\n" reset - - -:predef Preproc - * predef - " \t" predef_ws - "\n" reset - -:predef_ws Preproc - * prebad recolor=-1 - " \t" predef_ws - "a-zA-Z0-9_" predef_ident recolor=-1 - -:predef_ident Define - * idle noeat - "a-zA-Z0-9_" predef_ident - - -:preproc Preproc - * preproc - "\n" reset - "\\" preproc_cont - "/" preproc_slash - -:preproc_slash Preproc - * preproc noeat - "*" comment recolor=-2 - "/" line_comment recolor=-2 - -:preproc_cont Preproc - * preproc_cont - "\n" preproc - -# All following states are for when we're not in a preprocessor line - -:idle Idle - * idle - ";" line_comment recolor=-1 - "\n" reset - "/" slash - "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 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\n" reset - "diouxXeEfFgGaAcspn%SC" string - -:char CharacterEscape - * char - "\n" reset - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape - * char - "x" char_hex1 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex1 CharacterEscape - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape - * char noeat - "0-7" char - -:ident Ident - * idle noeat - "a-zA-Z0-9_" ident diff --git a/.config/joestar/syntax/avr.jsf b/.config/joestar/syntax/avr.jsf @@ -1,197 +0,0 @@ -# JOE syntax highlight file for AVR assembly language - -=Idle -=Ident -=Preproc # basic color for directives -=Include +Preproc # "include" - color -=Define +Preproc # same for "def" and "equ" -=DefinedIdent +Define +Ident # text after ".def" or ".equ" -=Macro +Define # color of word "macro" -=Path +String # color for include-path -=Com +Keyword # command -=Comment # comment-color -=Label +DefinedIdent # label - - -:idle Idle - * idle - "." preproc recolor=-1 - ";" comment recolor=-1 - "a-zA-Z_0-9" ident recolor=-1 buffer mark - -:preproc Preproc - * preproc - "a-zA-Z" preident buffer - "\n" idle - ";" comment recolor=-1 - -:preident Preproc - * preproc noeat istrings - "include" preinc - "def" predef - "equ" predef - "macro" premacro - "endmacro" premacro - "endm" premacro -done - "a-zA-Z" preident - ";" comment recolor=-1 - -:preinc Include - * preinc - " \t" path - "\n" idle - ";" comment recolor=-1 - -:predef Define - * predef - " \t" definition - "\n" idle - ";" comment recolor=-1 - -:definition DefinedIdent - * definition - "\n" idle - ";" comment recolor=-1 - -:premacro Macro - * premacro - " \t\n" idle - ";" comment recolor=-1 - -:path Path - * path - "\n" idle - ";" comment recolor=-1 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - -:ident Ident - * idle noeat istrings - "and" com - "andi" com - "eor" com - "or" com - "ori" com - "com" com - "neg" com - "clr" com - "ser" com - "cr" com - "tst" com - "swap" com - "add" com - "adc" com - "adiw" com - "sub" com - "subi" com - "sbc" com - "sbci" com - "sbiw" com - "dec" com - "inc" com - "asr" com - "lsl" com - "lsr" com - "rol" com - "ror" com - "mul" com - "muls" com - "mulsu" com - "fmul" com - "fmuls" com - "fmulsu" com - "cbr" com - "sbr" com - "sbi" com - "cbi" com - "bclr" com - "bset" com - "bld" com - "bst" com - "clc" com - "sec" com - "cln" com - "sen" com - "clz" com - "sez" com - "cli" com - "sei" com - "cls" com - "ses" com - "clv" com - "sev" com - "clt" com - "set" com - "clh" com - "seh" com - "mov" com - "movw" com - "ldi" com - "ld" com - "ldd" com - "lds" com - "st" com - "std" com - "sts" com - "lpm" com - "elpm" com - "spm" com - "espm" com - "in" com - "out" com - "push" com - "pop" com - "rjmp" com - "ijmp" com - "eijmp" com - "jmp" com - "rcall" com - "icall" com - "eicall" com - "call" com - "ret" com - "reti" com - "cp" com - "cpc" com - "cpi" com - "cpse" com - "sbrc" com - "sbrs" com - "sbic" com - "sbis" com - "brbc" com - "brbs" com - "brcs" com - "brcc" com - "breq" com - "brne" com - "brsh" com - "brlo" com - "brmi" com - "brpl" com - "brge" com - "brlt" com - "brhs" com - "brhc" com - "brts" com - "brtc" com - "brvs" com - "brvc" com - "brid" com - "brie" com - "nop" com - "sleep" com - "wdr" com -done - "a-zA-Z0-9_" ident - ":" itslabel recolor=-1 markend recolormark - -:itslabel Label - * idle - -:com Com - * idle noeat diff --git a/.config/joestar/syntax/awk.jsf b/.config/joestar/syntax/awk.jsf @@ -1,237 +0,0 @@ -# JOE syntax highlight file for AWK - -# Resync whole file -- - -=Idle -=Ident -=Bad -=Preproc -=Define +Preproc -=Comment -=IncLocal +String +Preproc -=IncSystem +Preproc -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape +String -=Character +String -=CharacterEscape +Escape +Character -=Type -=Keyword -=Brace +Control -=Control - -:reset Idle - * first noeat - " \t" reset - -:first Idle - * idle noeat - "/" regex - "#" reset_line_comment recolor=-1 - -:regex Idle - * regex - "/" idle - "\\" regex_skip - -:regex_skip Idle - * regex - -:reset_line_comment Comment comment - * reset_line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -:idle Idle - * idle - "\n" reset - "#" line_comment recolor=-1 - "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 - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string - "\"" string noeat - "\n" reset - "0-9.\-+ #hjILtz$" string_control - -:char Character - * char - "\n" reset - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape - * char - "x" char_hex1 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex1 CharacterEscape - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape - * char noeat - "0-7" char - -:ident Ident - * idle noeat istrings - "if" kw - "else" kw - "while" kw - "do" kw - "for" kw - "break" kw - "continue" kw - "delete" kw - "exit" kw - "close" kw - "getline" kw - "next" kw - "nextfile" kw - "print" kw - "printf" kw - "system" kw - "fflush" kw - "atan2" kw - "cos" kw - "exp" kw - "int" kw - "log" kw - "rand" kw - "sin" kw - "sqrt" kw - "srand" kw - "asort" kw - "asorti" kw - "gensub" kw - "gsub" kw - "index" kw - "length" kw - "match" kw - "split" kw - "sprintf" kw - "strtonum" kw - "sub" kw - "substr" kw - "tolower" kw - "toupper" kw - "mktime" kw - "strftime" kw - "systime" kw - "and" kw - "compl" kw - "lshift" kw - "or" kw - "rshift" kw - "xor" kw - "bindtextdomain" kw - "dcgettext" kw - "dcngettext" kw - "function" kw - "return" kw -done - "a-zA-Z0-9_" ident - -:kw Keyword - * idle noeat diff --git a/.config/joestar/syntax/batch.jsf b/.config/joestar/syntax/batch.jsf @@ -1,186 +0,0 @@ -# JOE syntax highlight file for Windows batch scripts - -=Idle -=Comment -=Command +Type -=Statement +Keyword -=Brace -=Variable +DefinedIdent -=StringVariable +StringEscape -=Label -=Conditional +Statement -=Loop +Statement -=String +Constant - -:reset Idle - * linebegin noeat - " \t\r\n" reset - -:linebegin Idle - * stmtorcommand noeat buffer - ":" labelorcomment - "@" linebegin - "%" args call=.variable() recolor=-1 - "\"" qargs recolor=-1 - "'" sqargs recolor=-1 # These two encountered in - "`" bqargs recolor=-1 # certain varieties of for-loops - -:stmtorcommand Command - * command noeat istrings - "call" stmt - "cd" stmt - "chdir" stmt - "cls" stmt - "copy" stmt - "del" stmt - "dir" stmt - "echo" echostmt - "echo." echostmt - "endlocal" stmt - "erase" stmt - "exit" stmt - "for" cond - "goto" loop - "if" cond - "move" stmt - "pause" stmt - "popd" stmt - "pushd" stmt - "rd" stmt - "rem" comment - "ren" stmt - "rename" stmt - "rmdir" stmt - "set" stmt - "setlocal" stmt - "setx" stmt - "shift" stmt - "sleep" stmt - "start" stmt - "type" stmt - "xcopy" stmt -done - "a-zA-Z." stmtorcommand - "\"\\_0-9" command - ")" rparen recolor=-1 - -:labelorcomment Idle - * label recolor=-2 - ":" comment recolor=-2 - -:label Label - * label - "\r\n" reset - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\r\n" reset - -:loop Loop - * args noeat - -:cond Conditional - * args noeat - -:stmt Statement - * args noeat - -:echostmt Statement - * echoargs noeat - -:echoargs String string - * echoargs - "%" echoargs call=.strvariable() recolor=-1 - "&" and recolor=-1 - ">|" reset recolor=-1 - "\r\n" reset - -:command Command - * command - "\"" qcommand - " \t" args - "\r\n" reset - -:qcommand Command - * qcommand - "\"" command - "\r\n" reset - -:args Idle - * args - "%" args call=.variable() recolor=-1 - "(" lparen recolor=-1 - ")" rparen recolor=-1 - "\r\n" reset - "\"" qargs recolor=-1 - "&" and recolor=-1 - -# Double-quoted args -:qargs String string - * qargs - "\"" args - "%" qargs call=.strvariable() recolor=-1 - "\r\n" reset - -# Single-quoted args -:sqargs String string - * sqargs - "'" args - "%" sqargs call=.strvariable() recolor=-1 - "\r\n" reset - -# Back-quoted (`) args, found in some for-loops -:bqargs String string - * bqargs - "`" args - "%" bqargs call=.strvariable() recolor=-1 - "\r\n" reset - -:and Idle - "&" and - * reset noeat - -:lparen Brace - * linebegin noeat - -:rparen Brace - * args noeat - -.subr variable - -:variable Variable - * args noeat return - "%~" shortvar - "\*" noeat return - "0-9" variable return - "A-Za-z_" varbody - -:shortvar Variable - * args noeat return - "A-Za-z0-9_" shortvar - -:varbody Variable - * varbody - "%" args return - -.end - -.subr strvariable - -:variable StringVariable string - * args noeat return - "%~" shortvar - "\*" noeat return - "0-9" variable return - "A-Za-z_" varbody - -:shortvar StringVariable string - * args noeat return - "A-Za-z0-9_" shortvar - -:varbody StringVariable string - * varbody - "%" args return - -.end diff --git a/.config/joestar/syntax/c.jsf b/.config/joestar/syntax/c.jsf @@ -1,910 +0,0 @@ -# JOE syntax highlight file for C - -# A (deterministic) state machine which performs lexical analysis of C. -# (This is the "assembly language" of syntax highlighting. A separate -# program could be used to convert a regular expression NFA syntax into this -# format). - -# Each state begins with ':<name> <color-name>' -# <color-name> is the color used for characters eaten by the state -# (really a symbol for a user definable color). - -# The first state defined is the initial state. - -# Within a state, define transitions (jumps) to other states. Each -# jump has the form: <character-list> <target-state> [<option>s] - -# There are two ways to specify <character-list>s, either * for any -# character not otherwise specified, or a literal list of characters within -# quotes (ranges and escape sequences allows). When the next character -# matches any in the list, a jump to the target-state is taken and the -# character is eaten (we advance to the next character of the file to be -# colored). -# -# The * transition should be the first transition specified in the state. -# -# There are several options: -# noeat do not eat the character, instead feed it to the next state -# (this tends to make the states smaller, but be careful: you -# can make infinite loops). -# -# recolor=-N Recolor the past N characters with the color of the -# target-state. For example once /* is recognized as the -# start of C comment, you want to color the /* with the C -# comment color. -# -# buffer start copying characters to a buffer, beginning with this -# one (it's ok, to not terminate buffering with a matching -# 'strings' option- the buffer is limited to leading 19 -# characters). -# -# strings A list of strings follows. If the buffer matches any of the -# given strings, a jump to the target-state in the string list -# is taken instead of the normal jump. -# -# istrings Same as strings, but case is ignored. -# -# The format of the string list is: -# -# "string" <target-state> -# "string" <target-state> -# done -# -# Weirdness: only states have colors, not transitions. This means that you -# sometimes have to make dummy states with '* next-state noeat' just to get -# a color specification. - -# 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 -# THIS SETTING IS IGNORED BY Ad-hoc programming editor for DOSBox. --3000 - - -# Define colors -# -# Colors -# white cyan magenta blue yellow green red black -# bg_white bg_cyan bg_magenta bg_blue bg_yellow bg_green bg_red bg_black -# THIS SETTING IS DIFFERENT IN Ad-hoc programming editor for DOSBox. -# OUR COLORS ARE 8-BIT HEXADECIMAL NUMBERS: -# IRGBirgb -# \\\\\\\\_bit 0: blue for foreground -# \\\\\\\_bit 1: green for foreground -# \\\\\\_bit 2: red for foreground -# \\\\\_bit 3: intensity bit for foreground -# \\\\_bit 4: blue for background -# \\\_bit 5: green for background -# \\_bit 6: red for background -# \_bit 7: intensity bit for background -# For example, 03 = black background, cyan foreground. - - - -=Background -=CPreproc bold cyan -=CPreprocKW bold cyan -=CPreproc_cKW bold cyan -=CPreproc_sym bold blue -=CPreprocCComment yellow -=CPreprocUnknown bold cyan / bg_blue -=OpenMP green -=OpenMPkw bold green -=OpenMPkw2 bold green -=OpenMPcomment yellow -=OpenMPnonkw red / bg_green -=OpenMP_space bold cyan -=CComment bold green -=Special cyan -=Special2 green -=GlueColor cyan -=AssignColor bold green -=Numeric bold blue -=InvalidNumber bold magenta / bg_red -=NumericSuffix magenta -=String bold green -=StringContent green -=WString bold blue -=WStringContent cyan -=Char bold magenta -=CharContent magenta -=WChar bold blue -=WCharContent cyan -=AbruptStringTermination bold green / bg_red -=CKeyword bold -=CType bold -=STLkw bold -=Identifier -=Mystery bold green / bg_red -=TrailingSpace black / bg_cyan - - -######################## -# The rules begin here. -:newline Background - * idle noeat - "#" pre_hash recolor=-1 - " \t" newline_space -:newline_space Background - * newline noeat - "\n" trailing_space recolor=-2 - -:pre_hash CPreprocKW - * pre noeat -:pre CPreproc - * preident recolor=-1 buffer - "/" pre1_slash recolor=-1 - " \t" pre - "\n" newline -:preident CPreprocUnknown - * preproc noeat strings - "define" preproc_known - "elif" preproc_known - "else" preproc_known - "endif" preproc_known - "error" preproc_known - "if" preproc_known - "ifdef" preproc_known - "ifndef" preproc_known - "include" preproc_known - "include_next" preproc_known - "line" preproc_known - "pragma" preproc_pragma - "undef" preproc_known - "warning" preproc_known -done - "a-z$0-9A-Z_" preident - -# CPreprocessor directives that begin with an actual keyword -:preproc_known CPreprocKW - * preproc noeat -:preproc CPreproc - * preproc - " \t" preproc_space - "\n" newline - "a-z$A-Z_" preproc_ident recolor=-1 buffer - "-()?~[]{},;:!<>=+*%&|^" preproc_sym recolor=-1 noeat - "/" pre2_slash recolor=-1 - "\"" pre2_string recolor=-1 - "'" pre2_char recolor=-1 - "\\" preproc_cont recolor=-1 -:preproc_space CPreproc - * preproc noeat - "\n" trailing_space recolor=-2 -:preproc_sym CPreproc_sym - * preproc -:preproc_cont CPreproc_sym - * preproc_cont - "\n" preproc_newline -:preproc_newline Background - * preproc noeat - " \t" preproc_newline_space -:preproc_newline_space CPreproc - * preproc_newline noeat - "\n" trailing_space recolor=-2 -:preproc_ident CPreproc - * preproc noeat strings - "auto" preproc_ident_known - "char" preproc_ident_known - "const" preproc_ident_known - "decltype" preproc_ident_known - "double" preproc_ident_known - "enum" preproc_ident_known - "extern" preproc_ident_known - "float" preproc_ident_known - "inline" preproc_ident_known - "int" preproc_ident_known - "long" preproc_ident_known - "register" preproc_ident_known - "short" preproc_ident_known - "signed" preproc_ident_known - "static" preproc_ident_known - "struct" preproc_ident_known - "typedef" preproc_ident_known - "union" preproc_ident_known - "unsigned" preproc_ident_known - "void" preproc_ident_known - "volatile" preproc_ident_known - "break" preproc_ident_known - "case" preproc_ident_known - "continue" preproc_ident_known - "default" preproc_ident_known - "do" preproc_ident_known - "else" preproc_ident_known - "for" preproc_ident_known - "goto" preproc_ident_known - "if" preproc_ident_known - "return" preproc_ident_known - "sizeof" preproc_ident_known - "switch" preproc_ident_known - "while" preproc_ident_known - "bitand" preproc_ident_known #c++ - "bitor" preproc_ident_known #c++ - "catch" preproc_ident_known #c++ - "compl" preproc_ident_known #c++ - "delete" preproc_ident_known #c++ - "explicit" preproc_ident_known #c++ - "export" preproc_ident_known #c++ - "false" preproc_ident_known #c++ - "friend" preproc_ident_known #c++ - "namespace" preproc_ident_known #c++ - "new" preproc_ident_known #c++ - "not" preproc_ident_known #c++ - "not_eq" preproc_ident_known #c++ - "operator" preproc_ident_known #c++ - "or" preproc_ident_known #c++ - "or_eq" preproc_ident_known #c++ - "private" preproc_ident_known #c++ - "protected" preproc_ident_known #c++ - "public" preproc_ident_known #c++ - "throw" preproc_ident_known #c++ - "true" preproc_ident_known #c++ - "try" preproc_ident_known #c++ - "using" preproc_ident_known #c++ - "virtual" preproc_ident_known #c++ - "xor" preproc_ident_known #c++ - "xor_eq" preproc_ident_known #c++ -done - "a-z$A-Z0-9_" preproc_ident -:preproc_ident_known CPreproc_cKW - * preproc noeat - -:pre2_slash CPreproc_sym - * preproc recolor=-1 - "*" pre2_comment recolor=-2 - "/" pre2_line_comment recolor=-2 -:pre2_comment CPreprocCComment - * pre2_comment - "*" pre2_comment_maybe_end -:pre2_comment_maybe_end CPreprocCComment - * pre2_comment - "/" preproc - "*" pre2_comment_maybe_end -:pre2_line_comment CPreprocCComment - * pre2_line_comment - "\\" pre2_line_comment_escape - "\n" newline -:pre2_line_comment_escape CPreprocCComment - * pre2_line_comment -:pre2_string CPreproc_sym - * pre2_string - "\"" preproc - "\\" pre2_string_escape -:pre2_string_escape CPreproc_sym - * pre2_string -:pre2_char CPreproc_sym - * pre2_char - "'" preproc - "\\" pre2_char_escape -:pre2_char_escape CPreproc_sym - * pre2_char - -# CPreprocessor directives that just begin with #, no keyword -:pre1_slash CPreprocUnknown - * pre recolor=-1 - "*" pre1_comment recolor=-2 - "/" pre1_line_comment recolor=-2 -:pre1_comment CPreprocCComment - * pre1_comment - " " pre1_comment_space - "*" pre1_comment_maybe_end -:pre1_comment_space CPreprocCComment - * pre1_comment noeat - "\n" pre1_comment_trailing_space recolor=-2 -:pre1_comment_trailing_space TrailingSpace - * pre1_comment noeat -:pre1_comment_maybe_end CPreprocCComment - * pre1_comment - "/" pre - "*" pre1_comment_maybe_end -:pre1_line_comment CPreprocCComment - * pre1_line_comment - "\\" pre1_line_comment_escape - "\n" newline -:pre1_line_comment_escape CPreprocCComment - * pre1_line_comment - - -# Special care about OpenMP #pragma constructs -:preproc_pragma CPreprocKW - * preproc_pragma0 noeat -:preproc_pragma0 CPreproc - * preproc noeat - " " preproc_pragma0 - "o" openmp1 -:openmp1 CPreproc - * preproc noeat - "m" openmp2 -:openmp2 CPreproc - * preproc noeat - "p" openmp3 -:openmp3 CPreproc - * preproc noeat - " " openmp_keyword_known recolor=-12 - -:openmp OpenMP - * openmp - " \t" openmp_space recolor=-1 - "(" openmp_parens - "\\" openmp_cont - "a-z_" openmp_keyword recolor=-1 buffer - "/" openmp_slash - "\n" newline -:openmp_space OpenMP_space - * openmp noeat - "\n" trailing_space recolor=-2 -:openmp_slash OpenMP - * openmp - "*" openmp_comment recolor=-2 - "/" openmp_line_comment recolor=-2 -:openmp_comment OpenMPcomment - * openmp_comment - "*" openmp_comment_maybe_end -:openmp_comment_maybe_end OpenMPcomment - * openmp_comment - "*" openmp_comment_maybe_end - "/" openmp -:openmp_line_comment OpenMPcomment - * openmp_line_comment - "\\" openmp_line_comment_escape - "\n" newline -:openmp_line_comment_escape OpenMPcomment - * openmp_line_comment - -:openmp_parens OpenMP - * openmp_parens - "\\" openmp_parens_cont - "/" openmp_parens_slash - ")" openmp - "\n" newline -:openmp_cont OpenMP - * openmp -:openmp_parens_cont OpenMP - * openmp_parens -:openmp_parens_slash OpenMP - * openmp_parens noeat - "*" openmp_parens_comment recolor=-2 -:openmp_parens_comment OpenMPcomment - * openmp_parens_comment - "*" openmp_parens_comment_maybe_end -:openmp_parens_comment_maybe_end OpenMPcomment - * openmp_parens_comment - "*" openmp_parens_comment_maybe_end - "/" openmp_parens - -:openmp_keyword OpenMPnonkw - * openmp noeat strings - "atomic" openmp_keyword_known2 - "barrier" openmp_keyword_known2 - "collapse" openmp_keyword_known - "copyin" openmp_keyword_known - "copyprivate" openmp_keyword_known - "critical" openmp_keyword_known2 - "default" openmp_keyword_known_do_parens - "dynamic" openmp_keyword_known_end_parens - "firstprivate" openmp_keyword_known - "for" openmp_keyword_known2 - "flush" openmp_keyword_known2 - "guided" openmp_keyword_known_end_parens - "if" openmp_keyword_known - "lastprivate" openmp_keyword_known - "master" openmp_keyword_known2 - "nowait" openmp_keyword_known - "none" openmp_keyword_known_end_parens - "num_threads" openmp_keyword_known - "ordered" openmp_keyword_known2 - "parallel" openmp_keyword_known2 - "private" openmp_keyword_known_end_parens - "reduction" openmp_keyword_known - "schedule" openmp_keyword_known_do_parens - "section" openmp_keyword_known2 - "sections" openmp_keyword_known2 - "shared" openmp_keyword_known_end_parens - "single" openmp_keyword_known2 - "static" openmp_keyword_known_end_parens - "task" openmp_keyword_known2 - "taskwait" openmp_keyword_known - "threadprivate" openmp_keyword_known - "untied" openmp_keyword_known -done - "a-z0-9A-Z_" openmp_keyword -:openmp_keyword_known OpenMPkw - * openmp noeat -:openmp_keyword_known2 OpenMPkw2 - * openmp noeat -:openmp_keyword_known_do_parens OpenMPkw - * openmp noeat - "(" openmp_keyword_known_do_parens1 recolor=-1 -:openmp_keyword_known_end_parens OpenMPkw - * openmp_keyword_known_end_parens1 noeat -:openmp_keyword_known_end_parens1 OpenMP - * openmp noeat - " " openmp_keyword_known_end_parens1 - "," openmp_parens -:openmp_keyword_known_do_parens1 OpenMP - * openmp_parens noeat - "a-z_" openmp_keyword recolor=-1 buffer - -# All following states are for when we're not in a preprocessor line - -:idle Background - * idle_mystery recolor=-1 - "()?~" special recolor=-1 - "[]{},;" special2 recolor=-1 - ":" maybe_glue recolor=-1 - "!<>" maybe_comp recolor=-1 - "=" maybe_comp_eq recolor=-1 - "-+*%&|^" maybe_op_assign recolor=-1 - " \t" space recolor=-1 - "/" slash recolor=-1 - "0" first_digit_0 recolor=-1 - "1-9" first_digit recolor=-1 - "." period recolor=-1 - "\"" stringbegin recolor=-1 noeat - "'" charbegin recolor=-1 noeat - "a-z$A-Z_" ident recolor=-1 buffer - "L" maybe_wide recolor=-1 buffer - "\n" newline recolor=-1 -:idle_mystery Mystery - * idle noeat -:space Background - * idle noeat - "\n" trailing_space recolor=-2 -:trailing_space TrailingSpace - * newline noeat - -# Delimiters -:special Special - * idle noeat -:special2 Special2 - * idle noeat -:period Special - * idle noeat - ":" typoed_glue recolor=-2 - "0-9" float recolor=-2 -:slash Special - * idle noeat - "*" comment recolor=-2 # "/*" - "/" line_comment recolor=-2 # "//" - "=" was_op_assign recolor=-2 # "/=" - -# "::" -:maybe_glue Special - * idle noeat - "." typoed_glue recolor=-2 - ":" was_glue recolor=-2 -:was_glue GlueColor - * idle noeat - -:typoed_glue InvalidNumber - * idle noeat - -# "==" vs "=" -:maybe_comp_eq AssignColor - * idle noeat - "=" was_comp recolor=-2 -# "<=", ">=", "==", "!=" -:maybe_comp Special - * idle noeat - "=" was_comp recolor=-2 -:was_comp Special - * idle noeat - -# "+=", "-=", "*=", "/=", "%=", "&=", "|=" -:maybe_op_assign Special - * idle noeat - "=" was_op_assign recolor=-2 -:was_op_assign AssignColor - * idle noeat - - -# CComments -:comment CComment - * comment - " " comment_space - "*" maybe_end_comment -:comment_space CComment - * comment noeat - "\n" comment_trailing_space recolor=-2 -:comment_trailing_space TrailingSpace - * comment noeat -:maybe_end_comment CComment - * comment - "/" idle - "*" maybe_end_comment -:line_comment CComment - * line_comment - "\\" line_comment_escape - "\n" newline recolor=-1 -:line_comment_escape CComment - * line_comment - -# Numeric constants -:first_digit_0 Numeric - * first_digit noeat - "xX" hex_first -:first_digit Numeric - * number_before_e noeat - -:hex_first Numeric - * end_number_suffix noeat recolor=-2 - "0-9A-Fa-f" hex - "." hexfloat -:hex Numeric - * end_int noeat - "0-9A-Fa-f" hex - "." hexfloat - "pP" epart -:hexfloat Numeric - * end_number_suffix noeat recolor=-2 - "0-9A-Fa-f" hexfloat - "pP" epart -:number_before_e Numeric - * end_int noeat - "0-9" number_before_e - "." float - "eE" epart - -:float Numeric - * end_float noeat - "eE" epart - "0-9" float -:epart Numeric - * enum_first noeat - "-+" enum_first -:enum_first Numeric - * end_number_suffix noeat recolor=-2 - "0-9" enum -:enum Numeric - * end_float noeat - "0-9" enum -:end_float NumericSuffix - * end_number_suffix noeat - "fFlL" end_number_suffix #f, #l -:end_int NumericSuffix - * end_number_suffix noeat - "uU" int_suffix_u #u - "lL" int_suffix_l #l -:int_suffix_u NumericSuffix - * end_number_suffix noeat - "lL" int_suffix_ul #ul -:int_suffix_ul NumericSuffix - * end_number_suffix noeat - "lL" end_number_suffix #ull -:int_suffix_l NumericSuffix - * end_number_suffix noeat - "uU" end_number_suffix #lu - "lL" int_suffix_ll #ll -:int_suffix_ll NumericSuffix - * end_number_suffix noeat - "uU" end_number_suffix #llu -:end_number_suffix InvalidNumber - * idle noeat - "a-z$A-Z_0-9" end_number_suffix - -# Strings -:stringbegin String - * string -:stringend String - * idle - -:string StringContent - * string - "\"" stringend noeat - "\\" string_escape - "\n" invalid_string_char_flush recolor=-2 -:string_escape StringContent - * string - "\n" string - "" string_escape_ignore noeat -:string_escape_ignore Background - * string_escape - -:wstringbegin WString - * wstring -:wstringend WString - * idle - -:wstring WStringContent - * wstring - "\"" wstringend noeat - "\\" wstring_escape - "\n" invalid_string_char_flush recolor=-2 -:wstring_escape WStringContent - * wstring - "\n" wstring - "" wstring_escape_ignore noeat -:wstring_escape_ignore Background - * wstring_escape - - -# Chars -:charbegin Char - * char -:charend Char - * idle - -:char CharContent - * char - "'" charend noeat - "\\" char_escape - "\n" invalid_string_char_flush recolor=-2 -:char_escape CharContent - * char - "\n" char -:char_escape_ignore Background - * char_escape - -:wcharbegin WChar - * wchar -:wcharend WChar - * idle -:wchar WCharContent - * wchar - "'" wcharend noeat - "\\" wchar_escape - "\n" invalid_string_char_flush recolor=-2 -:wchar_escape WCharContent - * wchar - "\n" wchar -:wchar_escape_ignore Background - * wchar_escape - - -:maybe_wide Identifier - * ident noeat - "'" wcharbegin noeat recolor=-2 - "\"" wstringbegin noeat recolor=-2 - - -# This is if a "\n" is met inside a string or char constant. -# It serves two purposes: -# Helps getting back in sync -# Minimizes terminal traffic when entering strings -:invalid_string_char_flush AbruptStringTermination - * newline noeat - -# Special identifiers -:ident Identifier - * idle noeat strings - "auto" type - "char" type - "const" type - "decltype" type - "double" type - "enum" type - "extern" type - "float" type - "inline" type - "int" type - "long" type - "register" type - "short" type - "signed" type - "static" type - "struct" type - "typedef" type - "union" type - "unsigned" type - "void" type - "volatile" type - "bool" type #c++ - "class" type #c++ - "const_cast" type #c++ - "dynamic_cast" type #c++ - "mutable" type #c++ - "reinterpret_cast" type #c++ - "static_cast" type #c++ - "template" type #c++ - "typeid" type #c++ - "typename" type #c++ - "wchar_t" type #c++ - "break" kw - "case" kw - "continue" kw - "default" kw - "do" kw - "else" kw - "for" kw - "goto" kw - "if" kw - "return" kw - "sizeof" kw - "switch" kw - "while" kw - "bitand" kw #c++ - "nullptr" kw #c++ - "module" kw #c++ - "import" kw #c++ - "constexpr" kw #c++ - "bitor" kw #c++ - "catch" kw #c++ - "compl" kw #c++ - "delete" kw #c++ - "explicit" kw #c++ - "export" kw #c++ - "false" kw #c++ - "friend" kw #c++ - "namespace" kw #c++ - "new" kw #c++ - "not" kw #c++ - "not_eq" kw #c++ - "operator" kw #c++ - "or" kw #c++ - "or_eq" kw #c++ - "private" kw #c++ - "protected" kw #c++ - "public" kw #c++ - "this" kw #c++ - "throw" kw #c++ - "true" kw #c++ - "try" kw #c++ - "using" kw #c++ - "virtual" kw #c++ - "xor" kw #c++ - "xor_eq" kw #c++ - "accumulate" stlkw - "adjacent_difference" stlkw - "adjacent_find" stlkw - "advance" stlkw - "allocator" stlkw - "auto_ptr" stlkw - "back_insert_iterator" stlkw - "back_inserter" stlkw - "basic_string" stlkw - "binary_function" stlkw - "binary_negate" stlkw - "binary_search" stlkw - "bind1st" stlkw - "bind2nd" stlkw - "binder1st" stlkw - "binder2nd" stlkw - "bitset" stlkw - "complex" stlkw - "copy" stlkw - "copy_backward" stlkw - "count" stlkw - "count_if" stlkw - "deque" stlkw - "distance" stlkw - "distance_type" stlkw - "divides" stlkw - "equal" stlkw - "equal_range" stlkw - "equal_to" stlkw - "exception" stlkw - "fill" stlkw - "fill_n" stlkw - "find" stlkw - "find_end" stlkw - "find_first_of" stlkw - "find_if" stlkw - "for_each" stlkw - "front_insert_iterator" stlkw - "front_inserter" stlkw - "generate" stlkw - "generate_n" stlkw - "get_temporary_buffer" stlkw - "greater" stlkw - "greater_equal" stlkw - "includes" stlkw - "inner_product" stlkw - "inplace_merge" stlkw - "insert_iterator" stlkw - "inserter" stlkw - "istream_iterator" stlkw - "iter_swap" stlkw - "iterator_category" stlkw - "less" stlkw - "less_equal" stlkw - "lexicographical_compare" stlkw - "limits" stlkw - "list" stlkw - "logical_and" stlkw - "logical_not" stlkw - "logical_or" stlkw - "lower_bound" stlkw - "make_heap" stlkw - "map" stlkw - "max" stlkw - "max_element" stlkw - "merge" stlkw - "min" stlkw - "min_element" stlkw - "minus" stlkw - "mismatch" stlkw - "modulus" stlkw - "move" stlkw - "multimap" stlkw - "multiset" stlkw - "negate" stlkw - "next_permutation" stlkw - "not1" stlkw - "not2" stlkw - "not_equal_to" stlkw - "nth_element" stlkw - "numeric_limits" stlkw - "ostream_iterator" stlkw - "pair" stlkw - "partial_sort" stlkw - "partial_sort_copy" stlkw - "partial_sum" stlkw - "partition" stlkw - "permutation" stlkw - "plus" stlkw - "pointer_to_binary_function" stlkw - "pointer_to_unary_function" stlkw - "pop_heap" stlkw - "prev_permutation" stlkw - "priority_queue" stlkw - "ptr_fun" stlkw - "push_heap" stlkw - "queue" stlkw - "random_shuffle" stlkw - "raw_storage_iterator" stlkw - "remove" stlkw - "remove_copy" stlkw - "remove_copy_if" stlkw - "remove_if" stlkw - "replace" stlkw - "replace_copy" stlkw - "replace_copy_if" stlkw - "replace_if" stlkw - "return_temporary_buffer" stlkw - "reverse" stlkw - "reverse_bidirectional_iterator" stlkw - "reverse_copy" stlkw - "reverse_iterator" stlkw - "rotate" stlkw - "rotate_copy" stlkw - "search" stlkw - "search_n" stlkw - "set" stlkw - "set_difference" stlkw - "set_intersection" stlkw - "set_symmetric_difference" stlkw - "set_union" stlkw - "sort" stlkw - "sort_heap" stlkw - "stable_partition" stlkw - "stable_sort" stlkw - "stack" stlkw - "string" stlkw - "string_char_traits" stlkw - "swap" stlkw - "swap_ranges" stlkw - "times" stlkw - "transform" stlkw - "unary_function" stlkw - "unary_negate" stlkw - "uninitialized_copy" stlkw - "uninitialized_fill" stlkw - "uninitialized_fill_n" stlkw - "unique" stlkw - "unique_copy" stlkw - "upper_bound" stlkw - "value_type" stlkw - "vector" stlkw - "wstring" stlkw - "std" stlkw - "iterator" stlkw - "const_iterator" stlkw - "const_reverse_iterator" stlkw -done - "a-z$A-Z0-9_" ident - - - - -:type CType - * idle noeat -:kw CKeyword - * idle noeat -:stlkw STLkw - * idle noeat - ":" stlkw_colon recolor=-1 -:stlkw_colon InvalidNumber - * idle noeat - ":" was_glue recolor=-2 diff --git a/.config/joestar/syntax/clojure.jsf b/.config/joestar/syntax/clojure.jsf @@ -1,1497 +0,0 @@ -# JOE syntax highlight file for Clojure - -=Idle -=Comment -=Escape -=StringEscape +Escape -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=Keyword -=Statement +Keyword -=Conditional +Statement -=Bad - -:reset Idle - * idle noeat call=.clojure() - -.subr clojure - -:idle Idle - * symbol mark buffer - " \t\f\n\r" idle - "(" idle call=.clojure(paren) - "[" idle call=.clojure(brack) - "{" idle call=.clojure(squiggly) -.ifdef paren - ")" idle return -.else - ")" stray recolor=-1 -.endif -.ifdef brack - "]" idle return -.else - "]" stray recolor=-1 -.endif -.ifdef squiggly - "}" idle return -.else - "}" stray recolor=-1 -.endif - ";" comment recolor=-1 - "1" one recolor=-1 - "2" two recolor=-1 - "8" eight recolor=-1 - "0345679" number recolor=-1 - "-" negative recolor=-1 mark buffer - "\"" string recolor=-1 - "#" pound - "'`^@~" quote - "\\" backslash recolor=-1 - "." maybe_float - -:stray Bad - * idle noeat - -:backslash Escape - * back_single buffer mark - "u" back_uni4 - "o" back_oct3 - - -:back_single Escape - * back_word recolor=-2 - "]}), \t\f\n\r;" idle noeat - -:back_word Bad - * back_word - "]}), \t\f\n\r;" idle noeat markend strings - "newline" good_literal recolormark - "space" good_literal recolormark - "tab" good_literal recolormark - "formfeed" good_literal recolormark - "backspace" good_literal recolormark - "return" goot_literal recolormark -done - -:good_literal Escape - * idle noeat - -:back_oct3 Escape - * bad noeat - "0-7" back_oct2 - -:back_oct2 Escape - * bad noeat - "0-7" back_oct1 - -:back_oct1 Escape - * bad noeat - "0-7" bad - -:back_uni4 Escape - * bad noeat - "0-9a-fA-F" back_uni3 - -:back_uni3 Escape - * bad noeat - "0-9a-fA-F" back_uni2 - -:back_uni2 Escape - * bad noeat - "0-9a-fA-F" back_uni1 - -:back_uni1 Escape - * bad noeat - "0-9a-fA-F" bad - -:negative Idle - * symbol noeat - "1" one recolor=-2 - "2" two recolor=-2 - "8" eight recolor=-2 - "0345679" number recolor=-2 - "." maybe_neg_float - -:symbol Idle - * symbol - "]}), \t\n;" ident_end noeat markend strings -# Symbols which are built-in values - "nil" value - "true" bool - "false" bool - "." common - "catch" common - "clojure.core/fn" common - "clojure.core/let" common - "clojure.core/loop" common - "def" common - "do" common - "finally" common - "fn" common - "if" cond - "let" common - "loop" common - "monitor-enter" common - "monitor-exit" common - "new" common - "quote" common - "recur" common - "set!" common - "throw" common - "try" common - "var" common - "catch" common - "finally" common - "throw" common - "case" common - "clojure.core/case" common - "clojure.core/cond" common - "clojure.core/cond->" common - "clojure.core/cond->>" common - "clojure.core/condp" common - "clojure.core/if-let" common - "clojure.core/if-not" common - "clojure.core/when" common - "clojure.core/when-first" common - "clojure.core/when-let" common - "clojure.core/when-not" common - "cond" cond - "cond->" cond - "cond->>" cond - "condp" cond - "if-let" cond - "if-not" cond - "when" common - "when-first" common - "when-let" common - "when-not" common - "clojure.core/doall" common - "clojure.core/dorun" common - "clojure.core/doseq" common - "clojure.core/dotimes" common - "clojure.core/while" common - "doall" common - "dorun" common - "doseq" common - "dotimes" common - "while" common - "clojure.core/definline" common - "clojure.core/definterface" common - "clojure.core/defmacro" common - "clojure.core/defmethod" common - "clojure.core/defmulti" common - "clojure.core/defn" common - "clojure.core/defn-" common - "clojure.core/defonce" common - "clojure.core/defprotocol" common - "clojure.core/defrecord" common - "clojure.core/defstruct" common - "clojure.core/deftype" common - "definline" common - "definterface" common - "defmacro" common - "defmethod" common - "defmulti" common - "defn" common - "defn-" common - "defonce" common - "defprotocol" common - "defrecord" common - "defstruct" common - "deftype" common - "->" common - "->>" common - ".." common - "amap" common - "and" common - "areduce" common - "as->" common - "assert" common - "binding" common - "bound-fn" common - "clojure.core/->" common - "clojure.core/->>" common - "clojure.core/.." common - "clojure.core/amap" common - "clojure.core/and" common - "clojure.core/areduce" common - "clojure.core/as->" common - "clojure.core/assert" common - "clojure.core/binding" common - "clojure.core/bound-fn" common - "clojure.core/comment" common - "clojure.core/declare" common - "clojure.core/delay" common - "clojure.core/dosync" common - "clojure.core/doto" common - "clojure.core/extend-protocol" common - "clojure.core/extend-type" common - "clojure.core/for" common - "clojure.core/future" common - "clojure.core/gen-class" common - "clojure.core/gen-interface" common - "clojure.core/import" common - "clojure.core/io!" common - "clojure.core/lazy-cat" common - "clojure.core/lazy-seq" common - "clojure.core/letfn" common - "clojure.core/locking" common - "clojure.core/memfn" common - "clojure.core/ns" common - "clojure.core/or" common - "clojure.core/proxy" common - "clojure.core/proxy-super" common - "clojure.core/pvalues" common - "clojure.core/refer-clojure" common - "clojure.core/reify" common - "clojure.core/some->" common - "clojure.core/some->>" common - "clojure.core/sync" common - "clojure.core/time" common - "clojure.core/with-bindings" common - "clojure.core/with-in-str" common - "clojure.core/with-loading-context" common - "clojure.core/with-local-vars" common - "clojure.core/with-open" common - "clojure.core/with-out-str" common - "clojure.core/with-precision" common - "clojure.core/with-redefs" common - "comment" common - "declare" common - "delay" common - "dosync" common - "doto" common - "extend-protocol" common - "extend-type" common - "for" common - "future" common - "gen-class" common - "gen-interface" common - "import" common - "io!" common - "lazy-cat" common - "lazy-seq" common - "letfn" common - "locking" common - "memfn" common - "ns" common - "or" common - "proxy" common - "proxy-super" common - "pvalues" common - "refer-clojure" common - "reify" common - "some->" common - "some->>" common - "sync" common - "time" common - "with-bindings" common - "with-in-str" common - "with-loading-context" common - "with-local-vars" common - "with-open" common - "with-out-str" common - "with-precision" common - "with-redefs" common - "*" common - "*'" common - "+" common - "+'" common - "-" common - "-'" common - "->ArrayChunk" common - "->Vec" common - "->VecNode" common - "->VecSeq" common - "-cache-protocol-fn" common - "-reset-methods" common - "/" common - "<" common - "<=" common - "=" common - "==" common - ">" common - ">=" common - "accessor" common - "aclone" common - "add-classpath" common - "add-watch" common - "agent" common - "agent-error" common - "agent-errors" common - "aget" common - "alength" common - "alias" common - "all-ns" common - "alter" common - "alter-meta!" common - "alter-var-root" common - "ancestors" common - "apply" common - "array-map" common - "aset" common - "aset-boolean" common - "aset-byte" common - "aset-char" common - "aset-double" common - "aset-float" common - "aset-int" common - "aset-long" common - "aset-short" common - "assoc" common - "assoc!" common - "assoc-in" common - "associative?" common - "atom" common - "await" common - "await-for" common - "await1" common - "bases" common - "bean" common - "bigdec" common - "bigint" common - "biginteger" common - "bit-and" common - "bit-and-not" common - "bit-clear" common - "bit-flip" common - "bit-not" common - "bit-or" common - "bit-set" common - "bit-shift-left" common - "bit-shift-right" common - "bit-test" common - "bit-xor" common - "boolean" common - "boolean-array" common - "booleans" common - "bound-fn*" common - "bound?" common - "butlast" common - "byte" common - "byte-array" common - "bytes" common - "cast" common - "char" common - "char-array" common - "char?" common - "chars" common - "chunk" common - "chunk-append" common - "chunk-buffer" common - "chunk-cons" common - "chunk-first" common - "chunk-next" common - "chunk-rest" common - "chunked-seq?" common - "class" common - "class?" common - "clear-agent-errors" common - "clojure-version" common - "clojure.core/*" common - "clojure.core/*'" common - "clojure.core/+" common - "clojure.core/+'" common - "clojure.core/-" common - "clojure.core/-'" common - "clojure.core/->ArrayChunk" common - "clojure.core/->Vec" common - "clojure.core/->VecNode" common - "clojure.core/->VecSeq" common - "clojure.core/-cache-protocol-fn" common - "clojure.core/-reset-methods" common - "clojure.core//" common - "clojure.core/<" common - "clojure.core/<=" common - "clojure.core/=" common - "clojure.core/==" common - "clojure.core/>" common - "clojure.core/>=" common - "clojure.core/accessor" common - "clojure.core/aclone" common - "clojure.core/add-classpath" common - "clojure.core/add-watch" common - "clojure.core/agent" common - "clojure.core/agent-error" common - "clojure.core/agent-errors" common - "clojure.core/aget" common - "clojure.core/alength" common - "clojure.core/alias" common - "clojure.core/all-ns" common - "clojure.core/alter" common - "clojure.core/alter-meta!" common - "clojure.core/alter-var-root" common - "clojure.core/ancestors" common - "clojure.core/apply" common - "clojure.core/array-map" common - "clojure.core/aset" common - "clojure.core/aset-boolean" common - "clojure.core/aset-byte" common - "clojure.core/aset-char" common - "clojure.core/aset-double" common - "clojure.core/aset-float" common - "clojure.core/aset-int" common - "clojure.core/aset-long" common - "clojure.core/aset-short" common - "clojure.core/assoc" common - "clojure.core/assoc!" common - "clojure.core/assoc-in" common - "clojure.core/associative?" common - "clojure.core/atom" common - "clojure.core/await" common - "clojure.core/await-for" common - "clojure.core/await1" common - "clojure.core/bases" common - "clojure.core/bean" common - "clojure.core/bigdec" common - "clojure.core/bigint" common - "clojure.core/biginteger" common - "clojure.core/bit-and" common - "clojure.core/bit-and-not" common - "clojure.core/bit-clear" common - "clojure.core/bit-flip" common - "clojure.core/bit-not" common - "clojure.core/bit-or" common - "clojure.core/bit-set" common - "clojure.core/bit-shift-left" common - "clojure.core/bit-shift-right" common - "clojure.core/bit-test" common - "clojure.core/bit-xor" common - "clojure.core/boolean" common - "clojure.core/boolean-array" common - "clojure.core/booleans" common - "clojure.core/bound-fn*" common - "clojure.core/bound?" common - "clojure.core/butlast" common - "clojure.core/byte" common - "clojure.core/byte-array" common - "clojure.core/bytes" common - "clojure.core/cast" common - "clojure.core/char" common - "clojure.core/char-array" common - "clojure.core/char?" common - "clojure.core/chars" common - "clojure.core/chunk" common - "clojure.core/chunk-append" common - "clojure.core/chunk-buffer" common - "clojure.core/chunk-cons" common - "clojure.core/chunk-first" common - "clojure.core/chunk-next" common - "clojure.core/chunk-rest" common - "clojure.core/chunked-seq?" common - "clojure.core/class" common - "clojure.core/class?" common - "clojure.core/clear-agent-errors" common - "clojure.core/clojure-version" common - "clojure.core/coll?" common - "clojure.core/commute" common - "clojure.core/comp" common - "clojure.core/comparator" common - "clojure.core/compare" common - "clojure.core/compare-and-set!" common - "clojure.core/compile" common - "clojure.core/complement" common - "clojure.core/concat" common - "clojure.core/conj" common - "clojure.core/conj!" common - "clojure.core/cons" common - "clojure.core/constantly" common - "clojure.core/construct-proxy" common - "clojure.core/contains?" common - "clojure.core/count" common - "clojure.core/counted?" common - "clojure.core/create-ns" common - "clojure.core/create-struct" common - "clojure.core/cycle" common - "clojure.core/dec" common - "clojure.core/dec'" common - "clojure.core/decimal?" common - "clojure.core/delay?" common - "clojure.core/deliver" common - "clojure.core/denominator" common - "clojure.core/deref" common - "clojure.core/derive" common - "clojure.core/descendants" common - "clojure.core/destructure" common - "clojure.core/disj" common - "clojure.core/disj!" common - "clojure.core/dissoc" common - "clojure.core/dissoc!" common - "clojure.core/distinct" common - "clojure.core/distinct?" common - "clojure.core/double" common - "clojure.core/double-array" common - "clojure.core/doubles" common - "clojure.core/drop" common - "clojure.core/drop-last" common - "clojure.core/drop-while" common - "clojure.core/empty" common - "clojure.core/empty?" common - "clojure.core/ensure" common - "clojure.core/enumeration-seq" common - "clojure.core/error-handler" common - "clojure.core/error-mode" common - "clojure.core/eval" common - "clojure.core/even?" common - "clojure.core/every-pred" common - "clojure.core/every?" common - "clojure.core/ex-data" common - "clojure.core/ex-info" common - "clojure.core/extend" common - "clojure.core/extenders" common - "clojure.core/extends?" common - "clojure.core/false?" common - "clojure.core/ffirst" common - "clojure.core/file-seq" common - "clojure.core/filter" common - "clojure.core/filterv" common - "clojure.core/find" common - "clojure.core/find-keyword" common - "clojure.core/find-ns" common - "clojure.core/find-protocol-impl" common - "clojure.core/find-protocol-method" common - "clojure.core/find-var" common - "clojure.core/first" common - "clojure.core/flatten" common - "clojure.core/float" common - "clojure.core/float-array" common - "clojure.core/float?" common - "clojure.core/floats" common - "clojure.core/flush" common - "clojure.core/fn?" common - "clojure.core/fnext" common - "clojure.core/fnil" common - "clojure.core/force" common - "clojure.core/format" common - "clojure.core/frequencies" common - "clojure.core/future-call" common - "clojure.core/future-cancel" common - "clojure.core/future-cancelled?" common - "clojure.core/future-done?" common - "clojure.core/future?" common - "clojure.core/gensym" common - "clojure.core/get" common - "clojure.core/get-in" common - "clojure.core/get-method" common - "clojure.core/get-proxy-class" common - "clojure.core/get-thread-bindings" common - "clojure.core/get-validator" common - "clojure.core/group-by" common - "clojure.core/hash" common - "clojure.core/hash-combine" common - "clojure.core/hash-map" common - "clojure.core/hash-set" common - "clojure.core/identical?" common - "clojure.core/identity" common - "clojure.core/ifn?" common - "clojure.core/in-ns" common - "clojure.core/inc" common - "clojure.core/inc'" common - "clojure.core/init-proxy" common - "clojure.core/instance?" common - "clojure.core/int" common - "clojure.core/int-array" common - "clojure.core/integer?" common - "clojure.core/interleave" common - "clojure.core/intern" common - "clojure.core/interpose" common - "clojure.core/into" common - "clojure.core/into-array" common - "clojure.core/ints" common - "clojure.core/isa?" common - "clojure.core/iterate" common - "clojure.core/iterator-seq" common - "clojure.core/juxt" common - "clojure.core/keep" common - "clojure.core/keep-indexed" common - "clojure.core/key" common - "clojure.core/keys" common - "clojure.core/keyword" common - "clojure.core/keyword?" common - "clojure.core/last" common - "clojure.core/line-seq" common - "clojure.core/list" common - "clojure.core/list*" common - "clojure.core/list?" common - "clojure.core/load" common - "clojure.core/load-file" common - "clojure.core/load-reader" common - "clojure.core/load-string" common - "clojure.core/loaded-libs" common - "clojure.core/long" common - "clojure.core/long-array" common - "clojure.core/longs" common - "clojure.core/macroexpand" common - "clojure.core/macroexpand-1" common - "clojure.core/make-array" common - "clojure.core/make-hierarchy" common - "clojure.core/map" common - "clojure.core/map-indexed" common - "clojure.core/map?" common - "clojure.core/mapcat" common - "clojure.core/mapv" common - "clojure.core/max" common - "clojure.core/max-key" common - "clojure.core/memoize" common - "clojure.core/merge" common - "clojure.core/merge-with" common - "clojure.core/meta" common - "clojure.core/method-sig" common - "clojure.core/methods" common - "clojure.core/min" common - "clojure.core/min-key" common - "clojure.core/mod" common - "clojure.core/munge" common - "clojure.core/name" common - "clojure.core/namespace" common - "clojure.core/namespace-munge" common - "clojure.core/neg?" common - "clojure.core/newline" common - "clojure.core/next" common - "clojure.core/nfirst" common - "clojure.core/nil?" common - "clojure.core/nnext" common - "clojure.core/not" common - "clojure.core/not-any?" common - "clojure.core/not-empty" common - "clojure.core/not-every?" common - "clojure.core/not=" common - "clojure.core/ns-aliases" common - "clojure.core/ns-imports" common - "clojure.core/ns-interns" common - "clojure.core/ns-map" common - "clojure.core/ns-name" common - "clojure.core/ns-publics" common - "clojure.core/ns-refers" common - "clojure.core/ns-resolve" common - "clojure.core/ns-unalias" common - "clojure.core/ns-unmap" common - "clojure.core/nth" common - "clojure.core/nthnext" common - "clojure.core/nthrest" common - "clojure.core/num" common - "clojure.core/number?" common - "clojure.core/numerator" common - "clojure.core/object-array" common - "clojure.core/odd?" common - "clojure.core/parents" common - "clojure.core/partial" common - "clojure.core/partition" common - "clojure.core/partition-all" common - "clojure.core/partition-by" common - "clojure.core/pcalls" common - "clojure.core/peek" common - "clojure.core/persistent!" common - "clojure.core/pmap" common - "clojure.core/pop" common - "clojure.core/pop!" common - "clojure.core/pop-thread-bindings" common - "clojure.core/pos?" common - "clojure.core/pr" common - "clojure.core/pr-str" common - "clojure.core/prefer-method" common - "clojure.core/prefers" common - "clojure.core/print" common - "clojure.core/print-ctor" common - "clojure.core/print-simple" common - "clojure.core/print-str" common - "clojure.core/printf" common - "clojure.core/println" common - "clojure.core/println-str" common - "clojure.core/prn" common - "clojure.core/prn-str" common - "clojure.core/promise" common - "clojure.core/proxy-call-with-super" common - "clojure.core/proxy-mappings" common - "clojure.core/proxy-name" common - "clojure.core/push-thread-bindings" common - "clojure.core/quot" common - "clojure.core/rand" common - "clojure.core/rand-int" common - "clojure.core/rand-nth" common - "clojure.core/range" common - "clojure.core/ratio?" common - "clojure.core/rational?" common - "clojure.core/rationalize" common - "clojure.core/re-find" common - "clojure.core/re-groups" common - "clojure.core/re-matcher" common - "clojure.core/re-matches" common - "clojure.core/re-pattern" common - "clojure.core/re-seq" common - "clojure.core/read" common - "clojure.core/read-line" common - "clojure.core/read-string" common - "clojure.core/realized?" common - "clojure.core/reduce" common - "clojure.core/reduce-kv" common - "clojure.core/reduced" common - "clojure.core/reduced?" common - "clojure.core/reductions" common - "clojure.core/ref" common - "clojure.core/ref-history-count" common - "clojure.core/ref-max-history" common - "clojure.core/ref-min-history" common - "clojure.core/ref-set" common - "clojure.core/refer" common - "clojure.core/release-pending-sends" common - "clojure.core/rem" common - "clojure.core/remove" common - "clojure.core/remove-all-methods" common - "clojure.core/remove-method" common - "clojure.core/remove-ns" common - "clojure.core/remove-watch" common - "clojure.core/repeat" common - "clojure.core/repeatedly" common - "clojure.core/replace" common - "clojure.core/replicate" common - "clojure.core/require" common - "clojure.core/reset!" common - "clojure.core/reset-meta!" common - "clojure.core/resolve" common - "clojure.core/rest" common - "clojure.core/restart-agent" common - "clojure.core/resultset-seq" common - "clojure.core/reverse" common - "clojure.core/reversible?" common - "clojure.core/rseq" common - "clojure.core/rsubseq" common - "clojure.core/satisfies?" common - "clojure.core/second" common - "clojure.core/select-keys" common - "clojure.core/send" common - "clojure.core/send-off" common - "clojure.core/send-via" common - "clojure.core/seq" common - "clojure.core/seq?" common - "clojure.core/seque" common - "clojure.core/sequence" common - "clojure.core/sequential?" common - "clojure.core/set" common - "clojure.core/set-agent-send-executor!" common - "clojure.core/set-agent-send-off-executor!" common - "clojure.core/set-error-handler!" common - "clojure.core/set-error-mode!" common - "clojure.core/set-validator!" common - "clojure.core/set?" common - "clojure.core/short" common - "clojure.core/short-array" common - "clojure.core/shorts" common - "clojure.core/shuffle" common - "clojure.core/shutdown-agents" common - "clojure.core/slurp" common - "clojure.core/some" common - "clojure.core/some-fn" common - "clojure.core/sort" common - "clojure.core/sort-by" common - "clojure.core/sorted-map" common - "clojure.core/sorted-map-by" common - "clojure.core/sorted-set" common - "clojure.core/sorted-set-by" common - "clojure.core/sorted?" common - "clojure.core/special-symbol?" common - "clojure.core/spit" common - "clojure.core/split-at" common - "clojure.core/split-with" common - "clojure.core/str" common - "clojure.core/string?" common - "clojure.core/struct" common - "clojure.core/struct-map" common - "clojure.core/subs" common - "clojure.core/subseq" common - "clojure.core/subvec" common - "clojure.core/supers" common - "clojure.core/swap!" common - "clojure.core/symbol" common - "clojure.core/symbol?" common - "clojure.core/take" common - "clojure.core/take-last" common - "clojure.core/take-nth" common - "clojure.core/take-while" common - "clojure.core/test" common - "clojure.core/the-ns" common - "clojure.core/thread-bound?" common - "clojure.core/to-array" common - "clojure.core/to-array-2d" common - "clojure.core/trampoline" common - "clojure.core/transient" common - "clojure.core/tree-seq" common - "clojure.core/true?" common - "clojure.core/type" common - "clojure.core/unchecked-add" common - "clojure.core/unchecked-add-int" common - "clojure.core/unchecked-byte" common - "clojure.core/unchecked-char" common - "clojure.core/unchecked-dec" common - "clojure.core/unchecked-dec-int" common - "clojure.core/unchecked-divide-int" common - "clojure.core/unchecked-double" common - "clojure.core/unchecked-float" common - "clojure.core/unchecked-inc" common - "clojure.core/unchecked-inc-int" common - "clojure.core/unchecked-int" common - "clojure.core/unchecked-long" common - "clojure.core/unchecked-multiply" common - "clojure.core/unchecked-multiply-int" common - "clojure.core/unchecked-negate" common - "clojure.core/unchecked-negate-int" common - "clojure.core/unchecked-remainder-int" common - "clojure.core/unchecked-short" common - "clojure.core/unchecked-subtract" common - "clojure.core/unchecked-subtract-int" common - "clojure.core/underive" common - "clojure.core/update-in" common - "clojure.core/update-proxy" common - "clojure.core/use" common - "clojure.core/val" common - "clojure.core/vals" common - "clojure.core/var-get" common - "clojure.core/var-set" common - "clojure.core/var?" common - "clojure.core/vary-meta" common - "clojure.core/vec" common - "clojure.core/vector" common - "clojure.core/vector-of" common - "clojure.core/vector?" common - "clojure.core/with-bindings*" common - "clojure.core/with-meta" common - "clojure.core/with-redefs-fn" common - "clojure.core/xml-seq" common - "clojure.core/zero?" common - "clojure.core/zipmap" common - "coll?" common - "commute" common - "comp" common - "comparator" common - "compare" common - "compare-and-set!" common - "compile" common - "complement" common - "concat" common - "conj" common - "conj!" common - "cons" common - "constantly" common - "construct-proxy" common - "contains?" common - "count" common - "counted?" common - "create-ns" common - "create-struct" common - "cycle" common - "dec" common - "dec'" common - "decimal?" common - "delay?" common - "deliver" common - "denominator" common - "deref" common - "derive" common - "descendants" common - "destructure" common - "disj" common - "disj!" common - "dissoc" common - "dissoc!" common - "distinct" common - "distinct?" common - "double" common - "double-array" common - "doubles" common - "drop" common - "drop-last" common - "drop-while" common - "empty" common - "empty?" common - "ensure" common - "enumeration-seq" common - "error-handler" common - "error-mode" common - "eval" common - "even?" common - "every-pred" common - "every?" common - "ex-data" common - "ex-info" common - "extend" common - "extenders" common - "extends?" common - "false?" common - "ffirst" common - "file-seq" common - "filter" common - "filterv" common - "find" common - "find-keyword" common - "find-ns" common - "find-protocol-impl" common - "find-protocol-method" common - "find-var" common - "first" common - "flatten" common - "float" common - "float-array" common - "float?" common - "floats" common - "flush" common - "fn?" common - "fnext" common - "fnil" common - "force" common - "format" common - "frequencies" common - "future-call" common - "future-cancel" common - "future-cancelled?" common - "future-done?" common - "future?" common - "gensym" common - "get" common - "get-in" common - "get-method" common - "get-proxy-class" common - "get-thread-bindings" common - "get-validator" common - "group-by" common - "hash" common - "hash-combine" common - "hash-map" common - "hash-set" common - "identical?" common - "identity" common - "ifn?" common - "in-ns" common - "inc" common - "inc'" common - "init-proxy" common - "instance?" common - "int" common - "int-array" common - "integer?" common - "interleave" common - "intern" common - "interpose" common - "into" common - "into-array" common - "ints" common - "isa?" common - "iterate" common - "iterator-seq" common - "juxt" common - "keep" common - "keep-indexed" common - "key" common - "keys" common - "keyword" common - "keyword?" common - "last" common - "line-seq" common - "list" common - "list*" common - "list?" common - "load" common - "load-file" common - "load-reader" common - "load-string" common - "loaded-libs" common - "long" common - "long-array" common - "longs" common - "macroexpand" common - "macroexpand-1" common - "make-array" common - "make-hierarchy" common - "map" common - "map-indexed" common - "map?" common - "mapcat" common - "mapv" common - "max" common - "max-key" common - "memoize" common - "merge" common - "merge-with" common - "meta" common - "method-sig" common - "methods" common - "min" common - "min-key" common - "mod" common - "munge" common - "name" common - "namespace" common - "namespace-munge" common - "neg?" common - "newline" common - "next" common - "nfirst" common - "nil?" common - "nnext" common - "not" common - "not-any?" common - "not-empty" common - "not-every?" common - "not=" common - "ns-aliases" common - "ns-imports" common - "ns-interns" common - "ns-map" common - "ns-name" common - "ns-publics" common - "ns-refers" common - "ns-resolve" common - "ns-unalias" common - "ns-unmap" common - "nth" common - "nthnext" common - "nthrest" common - "num" common - "number?" common - "numerator" common - "object-array" common - "odd?" common - "parents" common - "partial" common - "partition" common - "partition-all" common - "partition-by" common - "pcalls" common - "peek" common - "persistent!" common - "pmap" common - "pop" common - "pop!" common - "pop-thread-bindings" common - "pos?" common - "pr" common - "pr-str" common - "prefer-method" common - "prefers" common - "print" common - "print-ctor" common - "print-simple" common - "print-str" common - "printf" common - "println" common - "println-str" common - "prn" common - "prn-str" common - "promise" common - "proxy-call-with-super" common - "proxy-mappings" common - "proxy-name" common - "push-thread-bindings" common - "quot" common - "rand" common - "rand-int" common - "rand-nth" common - "range" common - "ratio?" common - "rational?" common - "rationalize" common - "re-find" common - "re-groups" common - "re-matcher" common - "re-matches" common - "re-pattern" common - "re-seq" common - "read" common - "read-line" common - "read-string" common - "realized?" common - "reduce" common - "reduce-kv" common - "reduced" common - "reduced?" common - "reductions" common - "ref" common - "ref-history-count" common - "ref-max-history" common - "ref-min-history" common - "ref-set" common - "refer" common - "release-pending-sends" common - "rem" common - "remove" common - "remove-all-methods" common - "remove-method" common - "remove-ns" common - "remove-watch" common - "repeat" common - "repeatedly" common - "replace" common - "replicate" common - "require" common - "reset!" common - "reset-meta!" common - "resolve" common - "rest" common - "restart-agent" common - "resultset-seq" common - "reverse" common - "reversible?" common - "rseq" common - "rsubseq" common - "satisfies?" common - "second" common - "select-keys" common - "send" common - "send-off" common - "send-via" common - "seq" common - "seq?" common - "seque" common - "sequence" common - "sequential?" common - "set" common - "set-agent-send-executor!" common - "set-agent-send-off-executor!" common - "set-error-handler!" common - "set-error-mode!" common - "set-validator!" common - "set?" common - "short" common - "short-array" common - "shorts" common - "shuffle" common - "shutdown-agents" common - "slurp" common - "some" common - "some-fn" common - "sort" common - "sort-by" common - "sorted-map" common - "sorted-map-by" common - "sorted-set" common - "sorted-set-by" common - "sorted?" common - "special-symbol?" common - "spit" common - "split-at" common - "split-with" common - "str" common - "string?" common - "struct" common - "struct-map" common - "subs" common - "subseq" common - "subvec" common - "supers" common - "swap!" common - "symbol" common - "symbol?" common - "take" common - "take-last" common - "take-nth" common - "take-while" common - "test" common - "the-ns" common - "thread-bound?" common - "to-array" common - "to-array-2d" common - "trampoline" common - "transient" common - "tree-seq" common - "true?" common - "type" common - "unchecked-add" common - "unchecked-add-int" common - "unchecked-byte" common - "unchecked-char" common - "unchecked-dec" common - "unchecked-dec-int" common - "unchecked-divide-int" common - "unchecked-double" common - "unchecked-float" common - "unchecked-inc" common - "unchecked-inc-int" common - "unchecked-int" common - "unchecked-long" common - "unchecked-multiply" common - "unchecked-multiply-int" common - "unchecked-negate" common - "unchecked-negate-int" common - "unchecked-remainder-int" common - "unchecked-short" common - "unchecked-subtract" common - "unchecked-subtract-int" common - "underive" common - "update-in" common - "update-proxy" common - "use" common - "val" common - "vals" common - "var-get" common - "var-set" common - "var?" common - "vary-meta" common - "vec" common - "vector" common - "vector-of" common - "vector?" common - "with-bindings*" common - "with-meta" common - "with-redefs-fn" common - "xml-seq" common - "zero?" common - "zipmap" common - "*1" common - "*2" common - "*3" common - "*agent*" common - "*allow-unresolved-vars*" common - "*assert*" common - "*clojure-version*" common - "*command-line-args*" common - "*compile-files*" common - "*compile-path*" common - "*compiler-options*" common - "*data-readers*" common - "*default-data-reader-fn*" common - "*e" common - "*err*" common - "*file*" common - "*flush-on-newline*" common - "*fn-loader*" common - "*in*" common - "*math-context*" common - "*ns*" common - "*out*" common - "*print-dup*" common - "*print-length*" common - "*print-level*" common - "*print-meta*" common - "*print-readably*" common - "*read-eval*" common - "*source-path*" common - "*unchecked-math*" common - "*use-context-classloader*" common - "*verbose-defrecords*" common - "*warn-on-reflection*" common - "EMPTY-NODE" common - "char-escape-string" common - "char-name-string" common - "clojure.core/*1" common - "clojure.core/*2" common - "clojure.core/*3" common - "clojure.core/*agent*" common - "clojure.core/*allow-unresolved-vars*" common - "clojure.core/*assert*" common - "clojure.core/*clojure-version*" common - "clojure.core/*command-line-args*" common - "clojure.core/*compile-files*" common - "clojure.core/*compile-path*" common - "clojure.core/*compiler-options*" common - "clojure.core/*data-readers*" common - "clojure.core/*default-data-reader-fn*" common - "clojure.core/*e" common - "clojure.core/*err*" common - "clojure.core/*file*" common - "clojure.core/*flush-on-newline*" common - "clojure.core/*fn-loader*" common - "clojure.core/*in*" common - "clojure.core/*math-context*" common - "clojure.core/*ns*" common - "clojure.core/*out*" common - "clojure.core/*print-dup*" common - "clojure.core/*print-length*" common - "clojure.core/*print-level*" common - "clojure.core/*print-meta*" common - "clojure.core/*print-readably*" common - "clojure.core/*read-eval*" common - "clojure.core/*source-path*" common - "clojure.core/*unchecked-math*" common - "clojure.core/*use-context-classloader*" common - "clojure.core/*verbose-defrecords*" common - "clojure.core/*warn-on-reflection*" common - "clojure.core/EMPTY-NODE" common - "clojure.core/char-escape-string" common - "clojure.core/char-name-string" common - "clojure.core/default-data-readers" common - "clojure.core/primitives-classnames" common - "clojure.core/print-dup" common - "clojure.core/print-method" common - "clojure.core/unquote" common - "clojure.core/unquote-splicing" common - "default-data-readers" common - "primitives-classnames" common - "print-dup" common - "print-method" common - "unquote" common - "unquote-splicing" common -done - -:value Constant - * idle noeat - -:bool Boolean - * idle noeat - -:common Keyword - * idle noeat - -:cond Conditional - * idle noeat - -:ident_end Idle - * idle noeat - -# Mark remainder of symbol as bad - -:bad Bad - * bad - ")]}, \t\f\n\r;" idle noeat - -# Skip quote.. - -:quote Idle - * idle noeat - -# Look for #_x, treat as comment -# For example #_(a b c) should be all commented out - -:pound Idle - * idle noeat - "_" pound_eat recolor=-2 - -:pound_eat Comment comment - * idle noeat - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - -# Check some specific common bases - -:two Number - * number noeat - "r" binary - -:eight Number - * number noeat - "r" octal - -:one Number - * number noeat - "0" ten - "6" sixteen - -:ten Number - * number noeat - "r" decimal - -:sixteen Number - * number noeat - "r" hex - -:hex Number - * bad noeat - "NM" bad - "0-9a-fA-F" hex - -:octal Number - * bad noeat - "NM" bad - "0-7" octal - -:binary Number - * bad noeat - "NM" bad - "01" binary - -:decimal Number - * bad noeat - "NM" bad - "0-9" decimal - -# Number, no r yet... - -:number Number - * bad noeat - "NM" bad - "0-9" number - "r" integer - "." float - "/" ratio - -# we got the r - -:integer Number - * bad noeat - "NM" bad - "0-9" integer - -# We have a decimal point only - -:maybe_neg_float Number - * symbol recolor=-2 noeat - "0-9" float recolor=-2 - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -# We have number and decimal point - -:float Number - * bad noeat - "M" bad - "eE" epart - "0-9" float - -:epart Number - * bad noeat - "0-9+\-" enum - -:enum Number - * bad noeat - "M" bad - "0-9" enum - -# Ratio - -:ratio Number - * bad noeat - "0-9" ratio - -# Strings - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "u" string_uni4 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_uni4 StringEscape string - * string noeat - "0-9a-fA-F" string_uni3 - -:string_uni3 StringEscape string - * string noeat - "0-9a-fA-F" string_uni2 - -:string_uni2 StringEscape string - * string noeat - "0-9a-fA-F" string_uni1 - -:string_uni1 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal1 - -:string_octal1 StringEscape string - * string noeat - "0-7" string - -.end diff --git a/.config/joestar/syntax/cobol.jsf b/.config/joestar/syntax/cobol.jsf @@ -1,697 +0,0 @@ -# JOE syntax highlight file for COBOL - -=Idle -=Bad -=Preproc -=Define +Preproc -=Comment -=IncLocal +String +Preproc -=IncSystem +Preproc -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=Character +String -=Escape -=StringEscape +Escape -=CharacterEscape +StringEscape -=Type -=Keyword -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=Ident - -:reset Idle - * idle noeat - "*" line_comment recolor=-1 - " \t" reset - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -# All following states are for when we're not in a preprocessor line - -:idle Idle - * idle - "\n" reset - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "'" char recolor=-1 - "a-zA-Z_" ident buffer - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\n" reset - "diouxXeEfFgGaAcspn%SC" string - -:char Character string - * char - "\n" reset - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape string - * char - "x" char_hex1 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex1 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape string - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape string - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char noeat - "0-7" char - -:ident Ident - * idle noeat istrings - "accept" kw - "access" kw - "add" kw - "address" kw - "advancing" kw - "after" kw - "all" kw - "allowing" kw - "alphabet" kw - "alphabetic" kw - "alphabetic-lower" kw - "alphabetic-upper" kw - "alphanumeric" kw - "alphanumeric-edited" kw - "also" kw - "alter" kw - "alternate" kw - "and" oper - "any" kw - "apply" kw - "are" kw - "area" kw - "areas" kw - "arithmetic" kw - "ascending" kw - "assign" kw - "at" kw - "author" kw - "automatic" kw - "b-and" oper - "b-exor" oper - "b-less" oper - "b-not" oper - "b-or" oper - "basis" kw - "before" kw - "beginning" kw - "binary" kw - "bit" kw - "bits" kw - "blank" kw - "block" kw - "boolean" kw - "bottom" kw - "by" kw - "call" kw - "cancel" kw - "cbl" kw - "cd" kw - "cf" kw - "ch" kw - "character" kw - "characters" kw - "class" kw - "class-id" kw - "clock-units" kw - "close" kw - "cobol" kw - "code" kw - "code-set" kw - "collating" kw - "column" kw - "com-reg" kw - "comma" kw - "commit" kw - "common" kw - "communication" kw - "comp" kw - "comp-1" kw - "comp-2" kw - "comp-3" kw - "comp-4" kw - "comp-5" kw - "comp-6" kw - "comp-7" kw - "comp-8" kw - "comp-9" kw - "computational" kw - "computational-1" kw - "computational-2" kw - "computational-3" kw - "computational-4" kw - "computational-5" kw - "computational-6" kw - "computational-7" kw - "computational-8" kw - "computational-9" kw - "compute" kw - "configuration" kw - "connect" kw - "contained" kw - "contains" kw - "content" kw - "continue" kw - "control" kw - "controls" kw - "converting" kw - "copy" kw - "corr" kw - "corresponding" kw - "count" kw - "currency" kw - "current" kw - "cycle" kw - "data" kw - "date" kw - "date-compiled" kw - "date-written" kw - "day" kw - "day-of-week" kw - "db" kw - "db-access-control-key" kw - "db-data-name" kw - "db-exception" kw - "db-record-name" kw - "db-set-name" kw - "db-status" kw - "dbcs" kw - "de" kw - "debug-contents" kw - "debug-item" kw - "debug-line" kw - "debug-name" kw - "debug-sub-1" kw - "debug-sub-2" kw - "debug-sub-3" kw - "debugging" kw - "decimal-point" kw - "declaratives" kw - "default" kw - "delete" kw - "delimited" kw - "delimiter" kw - "depending" kw - "descending" kw - "destination" kw - "detail" kw - "disable" kw - "disconnect" kw - "display" kw - "display-1" kw - "display-2" kw - "display-3" kw - "display-4" kw - "display-5" kw - "display-6" kw - "display-7" kw - "display-8" kw - "display-9" kw - "divide" kw - "division" kw - "down" kw - "duplicate" kw - "duplicates" kw - "dynamic" kw - "egcs" kw - "egi" kw - "eject" kw - "else" cond - "emi" kw - "empty" kw - "enable" kw - "end" kw - "end-add" kw - "end-call" kw - "end-compute" kw - "end-delete" kw - "end-disable" kw - "end-divide" kw - "end-enable" kw - "end-evaluate" kw - "end-if" cond - "end-invoke" kw - "end-multiply" kw - "end-of-page" kw - "end-perform" kw - "end-read" kw - "end-receive" kw - "end-return" kw - "end-rewrite" kw - "end-search" kw - "end-send" kw - "end-start" kw - "end-string" kw - "end-subtract" kw - "end-transceive" kw - "end-unstring" kw - "end-write" kw - "ending" kw - "enter" kw - "entry" kw - "environment" kw - "eop" kw - "equal" oper - "equals" kw - "erase" kw - "error" kw - "esi" kw - "evaluate" kw - "every" kw - "exact" kw - "exceeds" kw - "exception" kw - "exclusive" kw - "exit" kw - "extend" kw - "external" kw - "false" bool - "fd" kw - "fetch" kw - "file" kw - "file-control" kw - "filler" kw - "final" kw - "find" kw - "finish" kw - "first" kw - "footing" kw - "for" kw - "form" kw - "format" kw - "free" kw - "from" kw - "function" kw - "generate" kw - "get" kw - "giving" kw - "global" kw - "go" kw - "goback" kw - "greater" oper - "group" kw - "heading" kw - "high-value" const - "high-values" const - "i-o" kw - "i-o-control" kw - "id" kw - "identification" kw - "if" cond - "in" oper - "index" kw - "index-1" kw - "index-2" kw - "index-3" kw - "index-4" kw - "index-5" kw - "index-6" kw - "index-7" kw - "index-8" kw - "index-9" kw - "indexed" kw - "indicate" kw - "inherits" kw - "initial" kw - "initialize" kw - "initiate" kw - "input" kw - "input-output" kw - "insert" kw - "inspect" kw - "installation" kw - "into" kw - "invalid" kw - "invoke" kw - "is" oper - "just" kw - "justified" kw - "kanji" kw - "keep" kw - "key" kw - "label" kw - "last" kw - "ld" kw - "leading" kw - "left" kw - "length" kw - "less" oper - "limit" kw - "limits" kw - "linage" kw - "linage-counter" kw - "line" kw - "line-counter" kw - "lines" kw - "linkage" kw - "locally" kw - "local-storage" kw - "lock" kw - "low-value" const - "low-values" const - "member" kw - "memory" kw - "merge" kw - "message" kw - "metaclass" kw - "method" kw - "method-id" kw - "mode" kw - "modify" kw - "modules" kw - "more-labels" kw - "move" kw - "multiple" kw - "multiply" kw - "native" kw - "negative" kw - "next" kw - "no" kw - "normal" kw - "not" oper - "null" const - "nulls" const - "number" kw - "numeric" kw - "numeric-edited" kw - "object" kw - "object-computer" kw - "occurs" kw - "of" kw - "off" kw - "omitted" kw - "on" kw - "only" kw - "open" kw - "optional" kw - "or" oper - "order" kw - "organization" kw - "other" kw - "output" kw - "overflow" kw - "override" kw - "owner" kw - "packed-decimal" kw - "padding" kw - "page" kw - "page-counter" kw - "paragraph" kw - "password" kw - "perform" kw - "pf" kw - "ph" kw - "pic" kw - "picture" kw - "plus" kw - "pointer" kw - "position" kw - "positive" kw - "present" kw - "previous" kw - "printing" kw - "prior" kw - "procedure" kw - "procedure-pointer" kw - "procedures" kw - "proceed" kw - "processing" kw - "program" kw - "program-id" kw - "protected" kw - "purge" kw - "queue" kw - "quote" const - "quotes" const - "random" kw - "rd" kw - "read" kw - "ready" kw - "realm" kw - "receive" kw - "reconnect" kw - "record" kw - "record-name" kw - "recording" kw - "records" kw - "recursive" kw - "redefines" kw - "reel" kw - "reference" kw - "references" kw - "relation" kw - "relative" kw - "release" kw - "reload" kw - "remainder" kw - "removal" kw - "renames" kw - "repeated" kw - "replace" kw - "replacing" kw - "report" kw - "reporting" kw - "reports" kw - "repository" kw - "rerun" kw - "reserve" kw - "reset" kw - "retaining" kw - "retrieval" kw - "return" kw - "return-code" kw - "returning" kw - "reversed" kw - "rewind" kw - "rewrite" kw - "rf" kw - "rh" kw - "right" kw - "rollback" kw - "rounded" kw - "run" kw - "same" kw - "sd" kw - "search" kw - "section" kw - "security" kw - "segment" kw - "segment-limit" kw - "select" kw - "self" kw - "send" kw - "sentence" kw - "separate" kw - "sequence" kw - "sequential" kw - "service" kw - "session-id" kw - "set" kw - "shared" kw - "shift-in" kw - "shift-out" kw - "sign" kw - "size" kw - "skip1" kw - "skip2" kw - "skip3" kw - "sort" kw - "sort-control" kw - "sort-core-size" kw - "sort-file-size" kw - "sort-merge" kw - "sort-message" kw - "sort-mode-size" kw - "sort-return" kw - "source" kw - "source-computer" kw - "space" const - "spaces" const - "special-names" kw - "standard" kw - "standard-1" kw - "standard-2" kw - "standard-3" kw - "standard-4" kw - "start" kw - "status" kw - "stop" kw - "store" kw - "string" kw - "sub-queue-1" kw - "sub-queue-2" kw - "sub-queue-3" kw - "sub-schema" kw - "subtract" kw - "sum" kw - "super" kw - "suppress" kw - "symbolic" kw - "sync" kw - "synchronized" kw - "table" kw - "tally" kw - "tallying" kw - "tape" kw - "tenant" kw - "terminal" kw - "terminate" kw - "test" kw - "text" kw - "than" oper - "then" kw - "through" kw - "thru" loop - "time" kw - "timeout" kw - "times" loop - "title" kw - "to" oper - "top" kw - "trace" kw - "trailing" kw - "transceive" kw - "true" bool - "type" kw - "unequal" kw - "unit" kw - "unstring" kw - "until" loop - "up" kw - "update" kw - "upon" kw - "usage" kw - "usage-mode" kw - "use" kw - "using" kw - "valid" kw - "validate" kw - "value" kw - "values" kw - "varying" loop - "wait" kw - "when" kw - "when-compiled" kw - "with" kw - "within" kw - "words" kw - "working-storage" kw - "write" kw - "write-only" kw - "zero" const - "zeroes" const - "zeros" const -done - "a-zA-Z0-9_\-" ident - -:kw Keyword - * idle noeat - -:oper Operator - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:const Constant - * idle noeat - -:bool Boolean - * idle noeat diff --git a/.config/joestar/syntax/coffee.jsf b/.config/joestar/syntax/coffee.jsf @@ -1,580 +0,0 @@ -# JOE syntax highlight file for Coffeescript - -# node = a.b.c /\s+/ seems to be allowed, foo -# need to recognize ... and .. -# include - as part of number? - -# after term: it's a regex if - -# suppress literals after . - -=Idle -=Comment -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=Regex +String -=Escape -=StringEscape +Escape -=StringVariable +StringEscape -=RegexEscape +StringEscape -=RegexVariable +RegexEscape -=Keyword -=Structure +Keyword -=Operator +Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement -=Label +DefinedIdent -=Ident -=Bad - -:pre_idle Idle - * NULL noeat call=.coffee() - -.subr coffee - -:idle Idle - * idle - "(" idle call=.coffee(paren) - "[" idle call=.coffee(brack) - "{" idle call=.coffee(squiggly) -.ifdef paren - ")" idle return -.else - ")" stray recolor=-1 -.endif -.ifdef brack - "]" idle return -.else - "]" stray recolor=-1 -.endif -.ifdef squiggly_str - "}" string_end_subst noeat -.else -.ifdef squiggly_regex - "}" regex_end_subst noeat -.else -.ifdef squiggly - "}" idle return -.else - "}" stray recolor=-1 -.endif -.endif -.endif - - "#" comment recolor=-1 - "0" zero recolor=-1 - "1-9" decimal recolor=-1 - "." decimal_point recolor=-1 - "\"" maybe_string recolor=-1 - "'" maybe_char recolor=-1 - "/" slash recolor=-1 - "@$\i" ident buffer - -:stray Bad - * idle - -:after_term Idle - * idle noeat - " \t" after_term_1 - "/" slash_after_term_0 - -# "foo/x" is division? -# "foo/ x" is division. - -:slash_after_term_0 Idle - * idle noeat - -:after_term_1 Idle - * idle noeat - " \t" after_term_1 - "/" slash_after_term_1 - -# "foo / x" is division -# "foo /x" is regex - -:slash_after_term_1 Idle - * sregex noeat recolor=-2 - "/" slashslash - " = " idle noeat - -:comment Comment comment - * line_comment noeat - "#" maybe_block_comment - -:maybe_block_comment Comment comment - * line_comment noeat - "#" maybe_block_comment_1 - -# This is weird... #### is a line comment, but ### is a block comment - -:maybe_block_comment_1 Comment comment - * block_comment noeat - "#" line_comment - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:block_comment Comment comment - * block_comment - "BFHNTX" block_comment noeat call=comment_todo.comment_todo() - "#" block_comment_1 - -:block_comment_1 Comment comment - * block_comment noeat - "#" block_comment_2 - -:block_comment_2 Comment comment - * block_comment noeat - "#" idle - -# Check for regex - -:slash Constant - * sregex noeat recolor=-2 - "/" slashslash - -:slashslash Constant - * after_term noeat - "/" regex recolor=-3 - -# Regex like this ///foo/// - -:regex Regex - * regex - "\\" regex_escape recolor=-1 - "#" regex_maybe_subst recolor=-1 - "/" regexslash - -:regex_maybe_subst RegexVariable - * regex noeat recolor=-1 - "{" regex call=.coffee(squiggly_regex) - -:regex_end_subst RegexVariable - * idle return - -:regexslash Regex - * regex noeat - "/" regexslashslash - -:regexslashslash Regex - * regex noeat - "/" after_term - -:regex_escape RegexEscape - * regex - "x" regex_hex2 - "u" regex_hex4 - -:regex_uni RegexEscape - * regex_uni - "}" regex - -:regex_hex4 RegexEscape - * regex noeat - "{" regex_uni - "0-9a-fA-F" regex_hex3 - -:regex_hex3 RegexEscape - * regex noeat - "0-9a-fA-F" regex_hex2 - -:regex_hex2 RegexEscape - * regex noeat - "0-9a-fA-F" regex_hex1 - -:regex_hex1 RegexEscape - * regex noeat - "0-9a-fA-F" regex - -# Regex like this: /foo/ - -:sregex Regex - * sregex - "\\" sregex_escape recolor=-1 - "#" sregex_maybe_subst recolor=-1 - "/" after_term - -:sregex_maybe_subst RegexVariable - * sregex noeat recolor=-1 - "{" sregex call=.coffee(squiggly_regex) - -:sregex_escape RegexEscape - * sregex - "x" sregex_hex2 - "u" sregex_hex4 - -:sregex_uni RegexEscape - * sregex_uni - "}" sregex - -:sregex_hex4 RegexEscape - * sregex noeat - "{" sregex_uni - "0-9a-fA-F" sregex_hex3 - -:sregex_hex3 RegexEscape - * sregex noeat - "0-9a-fA-F" sregex_hex2 - -:sregex_hex2 RegexEscape - * sregex noeat - "0-9a-fA-F" sregex_hex1 - -:sregex_hex1 RegexEscape - * sregex noeat - "0-9a-fA-F" sregex - -# Numbers - -:bad_number Bad - * after_term noeat - "0-9" bad_number - -:zero Number - * after_term noeat - "b" binary - "o" octal - "x" hex - "." maybe_float - "eE" epart - "0-9" decimal recolor=-1 - -:decimal_point Number - * after_term noeat recolor=-2 - "." decimal_point_1 recolor=-2 - "\i" not_ident recolor=-2 - "0-9" float - -:not_ident Idle - * after_term noeat - "\c" not_ident - -:decimal_point_1 Number - * idle noeat - "." idle - -:octal Number - * after_term noeat - "0-7_" octal - "89" bad_number recolor=-1 - -:binary Number - * after_term noeat - "01_" binary - "2-9" bad_number recolor=-1 - -:hex Number - * after_term noeat - "0-9A-Fa-f_" hex - -:decimal Number - * after_term noeat - "0-9_" decimal - "eE" epart - "." maybe_float - -:maybe_float Number - * after_term noeat recolor=-2 - "." decimal_point_1 recolor=-2 - "eE" epart - "0-9_" float - -: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 - -# strings like "hello" - -:maybe_string String string - * string noeat - "\"" maybe_string_1 - -:maybe_string_1 String string - * after_term noeat - "\"" stringstring - -:string String string - * string - "\"" after_term - "#" string_maybe_subst recolor=-1 - "\\" string_escape recolor=-1 - -:string_maybe_subst StringVariable string - * string noeat recolor=-1 - "{" string call=.coffee(squiggly_str) - -:string_end_subst StringVariable string - * idle return - -:string_escape StringEscape string - * string - "x" string_hex2 - "u" string_hex4 - -:string_uni StringEscape string - * string_uni - "}" string - -:string_hex4 StringEscape string - * string noeat - "{" string_uni - "0-9a-fA-F" string_hex3 - -:string_hex3 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string_hex1 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string - -# Strings like """ foo """ - -:stringstring String string - * stringstring - "\"" stringstring_1 - "#" stringstring_maybe_subst recolor=-1 - "\\" stringstring_escape recolor=-1 - -:stringstring_1 String string - * stringstring noeat - "\"" stringstring_2 - -:stringstring_2 String string - * stringstring noeat - "\"" after_term - -:stringstring_maybe_subst StringVariable string - * stringstring noeat recolor=-1 - "{" stringstring call=.coffee(squiggly_str) - -:stringstring_escape StringEscape string - * stringstring - "x" stringstring_hex2 - "u" stringstring_hex4 - -:stringstring_uni StringEscape string - * stringstring_uni - "}" stringstring - -:stringstring_hex4 StringEscape string - * stringstring noeat - "{" stringstring_uni - "0-9a-fA-F" stringstring_hex3 - -:stringstring_hex3 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring_hex2 - -:stringstring_hex2 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring_hex1 - -:stringstring_hex1 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring - -# string constants like 'h' - -:maybe_char String string - * char noeat - "'" maybe_char_1 - -:maybe_char_1 String string - * after_term noeat - "'" charchar - -:char String string - * char - "'" after_term - "\\" char_escape recolor=-1 - -:char_escape StringEscape string - * char noeat - "x" char_hex2 - "u" char_hex4 - -:char_uni StringEscape string - * char_uni - "}" char_done - -:char_hex4 StringEscape string - * char noeat - "{" char_uni - "0-9a-fA-F" char_hex3 - -:char_hex3 StringEscape string - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 StringEscape string - * char noeat - "0-9a-fA-F" char_hex1 - -:char_hex1 StringEscape string - * char noeat - "0-9a-fA-F" char - -# strings like this '''foo''' - -:charchar String string - * charchar - "'" charchar_1 - "\\" charchar_escape recolor=-1 - -:charchar_1 String string - * charchar noeat - "'" charchar_2 - -:charchar_2 String string - * charchar noeat - "'" after_term - -:charchar_escape StringEscape string - * charchar noeat - "x" charchar_hex2 - "u" charchar_hex4 - -:charchar_uni StringEscape string - * charchar_uni - "}" charchar_done - -:charchar_hex4 StringEscape string - * charchar noeat - "{" charchar_uni - "0-9a-fA-F" charchar_hex3 - -:charchar_hex3 StringEscape string - * charchar noeat - "0-9a-fA-F" charchar_hex2 - -:charchar_hex2 StringEscape string - * charchar noeat - "0-9a-fA-F" charchar_hex1 - -:charchar_hex1 StringEscape string - * charchar noeat - "0-9a-fA-F" charchar - - -# Identifiers - -:ident Ident - * after_term noeat strings - "and" operator - "break" loop - "by" kw - "catch" kw - "class" struct - "continue" loop - "delete" kw - "debugger" stmt - "do" loop - "else" cond - "extends" kw - "false" bool - "finally" kw - "for" loop - "if" cond - "in" operator - "instanceof" kw - "is" operator - "isnt" operator - "loop" loop - "new" kw - "no" bool - "not" operator - "null" lit - "off" bool - "of" operator - "on" bool - "or" operator - "return" stmt - "super" kw - "switch" cond - "then" kw - "this" lit - "throw" stmt - "true" bool - "try" kw - "typeof" kw - "undefined" lit - "unless" cond - "until" loop - "when" kw - "while" loop - "yes" lit - "yield" stmt - "case" label - "default" label - "function" forbid - "var" forbid - "void" forbid - "with" forbid - "const" forbid - "let" forbid - "enum" forbid - "export" forbid - "import" forbid - "native" forbid - "implements" forbid - "interface" forbid - "package" forbid - "private" forbid - "protected" forbid - "public" forbid - "static" forbid - "arguments" forbid - "eval" forbid -done - "$\c" ident - -:kw Keyword - * idle noeat - -:forbid Keyword - * idle noeat - -:lit Constant - * after_term noeat - -:bool Boolean - * after_term noeat - -:stmt Statement - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:struct Structure - * idle noeat - -:operator Operator - * idle noeat - -:label Label - * idle noeat - -.end diff --git a/.config/joestar/syntax/comment_todo.jsf b/.config/joestar/syntax/comment_todo.jsf @@ -1,29 +0,0 @@ -# JOE syntax highlight file for highlighting TODO: FIXME: XXX: etc -# by Christian Nicolai (http://mycrobase.de) - -=Comment -=TODO +Comment - -.subr comment_todo -# initial state -:comment_todo_init Comment comment - * comment_todo_guess buffer - -# highlight common TODO labels -:comment_todo_guess Comment 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 comment - * NULL noeat return - -:comment_todo TODO comment - * NULL noeat return -.end diff --git a/.config/joestar/syntax/conf.jsf b/.config/joestar/syntax/conf.jsf @@ -1,86 +0,0 @@ -# JOE syntax highlight file for typical UNIX configuration files - -=Idle -=Comment -=String +Constant -=Escape -=StringEscape +Escape -=Backtick +Character +Constant +String - -:idle Idle - * idle - "#" comment recolor=-1 - "\"" string recolor=-1 - "'" single recolor=-1 - "\`" backtick recolor=-1 - "\\" escape recolor=-1 - -:escape Escape - * idle - -:comment Comment comment - * comment - "\n" idle - - -:string String string - * string - "\"" idle - "\`" backtick_in_str recolor=-1 - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "\n" string recolor=-2 - -:backtick_in_str Backtick - * backtick_in_str - "\`" string - "\\" bt_escape_2 recolor=-1 - -:bt_escape_2 Escape - * backtick_in_str - "\n" backtick_in_str recolor=-2 - - -:single String string - * single - "'" idle - "\\" single_escape recolor=-1 - -:single_escape StringEscape string - * single - "\n" single recolor=-2 - - -:backtick Backtick - * backtick - "\`" idle - "\"" string_in_bt recolor=-1 - "'" single_in_bt recolor=-1 - "\\" bt_escape recolor=-1 - -:bt_escape Escape - * backtick - "\n" backtick recolor=-2 - - -:string_in_bt String string - * string_in_bt - "\"" backtick - "\\" string_escape_b recolor=-1 - -:string_escape_b StringEscape string - * string_in_bt - "\n" string_in_bt recolor=-2 - - -:single_in_bt String string - * single_in_bt - "'" backtick - "\\" single_escape_b recolor=-1 - -:single_escape_b StringEscape string - * single_in_bt - "\n" single_in_bt recolor=-2 - diff --git a/.config/joestar/syntax/context.jsf b/.config/joestar/syntax/context.jsf @@ -1,61 +0,0 @@ -# Identify title lines for status line context display - -=Idle -=Title bold # Doesn't matter, just make it visible - -:idle Idle - * title_line buffer noeat recolor=-1 - "b" maybe_begin_1 buffer - "B" maybe_BEGIN_1 buffer - "\n" idle - "/" maybe_comment buffer - "-" maybe_comment_1 buffer - ";{} \t\r\f#" comment - -:maybe_comment Idle - * title_line noeat recolor=-1 - "/*" comment - -:maybe_comment_1 Idle - * title_line noeat recolor=-1 - "-" comment - -:title_line Title - * title_line - "\n" idle save_s - -:comment Idle - * comment - "\n" idle - -:maybe_begin_1 Idle - * title_line noeat recolor=-2 - "e" maybe_begin_2 - -:maybe_begin_2 Idle - * title_line noeat recolor=-3 - "g" maybe_begin_3 - -:maybe_begin_3 Idle - * title_line noeat recolor=-4 - "i" maybe_begin_4 - -:maybe_begin_4 Idle - * title_line noeat recolor=-5 - "n" comment - -:maybe_BEGIN_1 Idle - * title_line noeat recolor=-2 - "E" maybe_BEGIN_2 - -:maybe_BEGIN_2 Idle - * title_line noeat recolor=-3 - "G" maybe_BEGIN_3 - -:maybe_BEGIN_3 Idle - * title_line noeat recolor=-4 - "I" maybe_BEGIN_4 - -:maybe_BEGIN_4 Idle - * title_line noeat recolor=-5 - "N" comment diff --git a/.config/joestar/syntax/csh.jsf b/.config/joestar/syntax/csh.jsf @@ -1,248 +0,0 @@ -# JOE syntax highlight file for csh - -# needs work: I just copied this from sh and -# changed the keywords. - -# Colors - -=Idle -=Ident -=Comment -=String +Constant -=Escape -=StringEscape +Escape -=Keyword -=Variable +DefinedIdent -=StringVariable +StringEscape -=Label +DefinedIdent -=Loop +Statement +Keyword -=Conditional +Statement +Keyword - -# Syntax - -:idle Idle - * idle - "#" comment recolor=-1 - "\\" escape recolor=-1 - "$" subst recolor=-1 - "'" string_sq recolor=-1 - "\"" string_dq recolor=-1 - "\`" string_bq recolor=-1 - "a-zA-Z{}![" ident buffer - -:comment Comment comment - * comment - "\n" idle - -:escape Escape - * idle - -:subst Variable - * idle - "{" subst_brack - "a-zA-Z_" subst_name - "0-9*@?\-$_!" idle - -:subst_name Variable - * idle noeat recolor=-1 - "a-zA-Z0-9_" subst_name - -:subst_brack Variable - * subst_brack - "}" idle - -# Simplest case: no quoting allowed -:string_sq String string - * string_sq - "\'" idle - - -# double-quote: quoting, backqoutes and substitution allowed -:string_dq String string - * string_dq - "$" string_dq_subst recolor=-1 - "\"" idle - "\\" string_dq_esc recolor=-1 - "`" string_dq_bq recolor=-1 - -:string_dq_subst StringEscape string - * string_dq noeat recolor=-2 - "$0-9!_\-?*@" string_dq - "a-zA-Z_" string_dq_subst_name - "{" string_dq_subst_brack - -:string_dq_subst_name StringVariable string - * string_dq recolor=-1 noeat - "a-zA-Z0-9_" string_dq_subst_name - -:string_dq_subst_brack StringEscape string - * string_dq_subst_brack - "}" string_dq - -:string_dq_esc StringEscape string - * string_dq recolor=-2 - "$`\"\\" string_dq - "\n" string_dq recolor=-2 - -:string_dq_bq String string - * string_dq_bq - "$" string_dq_bq_subst recolor=-1 - "\`" string_dq - "\\" string_dq_bq_esc recolor=-1 - -:string_dq_bq_subst StringEscape string - * string_dq_bq noeat recolor=-2 - "$0-9!_\-?*@" string_dq_bq - "a-zA-Z_" string_dq_bq_subst_name - "{" string_dq_bq_subst_brack - -:string_dq_bq_subst_name StringVariable string - * string_dq_bq recolor=-1 noeat - "a-zA-Z0-9_" string_dq_bq_subst_name - -:string_dq_bq_subst_brack StringEscape string - * string_dq_bq_subst_brack - "}" string_dq_bq - -:string_dq_bq_esc StringEscape string - * string_dq_bq recolor=-2 - "$`\"\\" string_dq_bq - "\n" string_dq_bq recolor=-2 - - -# backquote -:string_bq String string - * string_bq - "$" string_bq_subst recolor=-1 - "\`" idle - "\\" string_bq_esc recolor=-1 - -# escape in backquote -:string_bq_esc StringEscape string - * string_bq recolor=-2 - "$`\"\\" string_bq - "\n" string_bq recolor=-2 - -# Substitution in a backquote -:string_bq_subst StringEscape string - * string_bq noeat recolor=-2 - "$0-9!_\-?*@" string_bq - "a-zA-Z_" string_bq_subst_name - "{" string_bq_subst_brack - -:string_bq_subst_name StringVariable string - * string_bq recolor=-1 noeat - "a-zA-Z0-9_" string_bq_subst_name - -:string_bq_subst_brack StringEscape string - * string_bq_subst_brack - "}" string_bq - - -:ident Ident - * idle noeat strings - "!" kw - "{" kw - "}" kw - "[" kw - "]" kw - "alias" kw - "alloc" kw - "bg" kw - "bindkey" kw - "break" loop - "breaksw" kw - "builtins" kw - "bye" kw - "case" label - "cd" kw - "chdir" kw - "complete" kw - "continue" loop - "default" label - "dirs" kw - "echo" kw - "echotc" kw - "else" cond - "end" kw - "endif" cond - "endsw" kw - "eval" kw - "exec" kw - "exit" kw - "fg" kw - "filetest" kw - "foreach" loop - "getspath" kw - "getxvers" kw - "glob" kw - "goto" kw - "hashstat" kw - "history" kw - "hup" kw - "if" cond - "inlib" kw - "jobs" kw - "kill" kw - "limit" kw - "log" kw - "login" kw - "logout" kw - "ls-F" kw - "migrate" kw - "newgrp" kw - "nice" kw - "nohup" kw - "notify" kw - "onintr" kw - "popd" kw - "printenv" kw - "pushd" kw - "rehash" kw - "repeat" kw - "rootnode" kw - "sched" kw - "set" kw - "setenv" kw - "setpath" kw - "setspath" kw - "settc" kw - "setty" kw - "setxvers" kw - "shift" kw - "source" kw - "stop" kw - "suspend" kw - "switch" cond - "case" label - "telltc" kw - "time" kw - "umask" kw - "unalias" kw - "uncomplete" kw - "unhash" kw - "universe" kw - "unlimit" kw - "unset" kw - "unsetenv" kw - "ver" kw - "wait" kw - "warp" kw - "watchdog" kw - "where" kw - "which" kw - "while" loop -done - "a-zA-Z0-9\-" ident - -:kw Keyword - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat - -:label Label - * idle noeat diff --git a/.config/joestar/syntax/csharp.jsf b/.config/joestar/syntax/csharp.jsf @@ -1,506 +0,0 @@ -# JOE syntax highlight file for C# -# Based on Java highlighter - -=Idle -=Ident -=Preproc -=Precondit +Preproc -=Define +Preproc -=DefinedIdent +Ident -=Comment -=DocComment +Comment -=Constant -=String +Constant -=Character +Constant +String -=Number +Constant -=Boolean +Constant -=Escape -=StringEscape +Escape -=CharacterEscape +Escape -=Type -=Structure +Keyword -=StorageClass +Type +Keyword -=Modifier +StorageClass -=Keyword -=Operator +Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement -=Label +DefinedIdent -=Bad -=Brace -=Control - -:begin Idle - * begin noeat call=.csharp() - -.subr csharp - -:reset Idle - * first noeat - " \t" reset - -:first Idle - * idle noeat - "#" pre mark - -:pre Preproc - * pre noeat - "a-zA-Z" preident recolor=-1 buffer - " \t" pre - "\n" reset - -:preident Preproc - * preunknown markend recolormark strings - "if" precondit markend recolormark - "else" precondit markend recolormark - "elif" precondit markend recolormark - "endif" precondit markend recolormark - "region" preregion markend recolormark - "endregion" preregion markend recolormark - "define" predefine markend recolormark - "undef" predefine markend recolormark - "warning" preregion markend recolormark - "error" preregion markend recolormark - "line" prebody markend recolormark -done - "a-z" preident - -:prebody Preproc - * prebody - "\n" reset - -:precondit Precondit - * precondit - "\n" reset - -:preregion Preproc - * preregion_text - "\n" reset - -:preregion_text Comment - * preregion_text - "\n" reset - -:predefine Define - * predefine_text noeat - " \t" predefine - "\n" reset - -:predefine_text DefinedIdent - * predefine_text - " \t" predefine_value - "\n" reset - -:predefine_value Idle - * predefine_value - "\n" reset - -:preunknown Preproc - * preunknown - "\n" reset - -:idle Idle - * idle - "\n" reset - "/" slash - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "@" forcedliteral recolor=-1 - "'" char recolor=-1 - "\i" ident 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 - -:forcedliteral Ident - * idle noeat - "\i" ident recolor=-2 - "\"" forcedstring recolor=-2 - -:forcedstring String string - * forcedstring - "\"" forcedstringquot - -:forcedstringquot String string - * idle noeat - "\"" forcedstring # @"This -> "" <- is a literal quote" - -:slash Idle - * idle noeat - "*" comment recolor=-2 - "/" maybe_line_comment recolor=-2 - -:comment Comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment - * comment - "/" idle - "*" maybe_end_comment - -:maybe_line_comment Comment - * line_comment noeat recolor=-1 - "/" doc_comment recolor=-3 - -:line_comment Comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -:doc_comment DocComment - * doc_comment - "BFHNTX" doc_comment noeat call=comment_todo.comment_todo() - "\n" reset - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "{" maybe_string_control recolor=-1 - "}" maybe_control_end recolor=-1 - -:string_escape StringEscape string - * string - "xu" string_hex_4 # Yes, \x has up to 4 numbers in C# - "U" string_hex_8 - "0-7" string_octal2 - "\n" string recolor=-2 - -# Eight all-purpose (hex/unicode short/unicode long) states for hexadecimal -# escape sequences - -:string_hex_8 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_7 - -:string_hex_7 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_6 - -:string_hex_6 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_5 - -:string_hex_5 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_4 - -:string_hex_4 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_3 - -:string_hex_3 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_2 - -:string_hex_2 StringEscape string - * string noeat - "0-9a-fA-F" string_hex_1 - -:string_hex_1 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:maybe_string_control StringEscape string - * string noeat recolor=-2 - "0-9" string_control - "{" string - -:string_control StringEscape string - * string_control - "\"" string noeat - "}" string - -:maybe_control_end StringEscape string - * string noeat recolor=-2 - "}" string - -:char Character string - * char - "\n" reset - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape string - * char - "xu" char_hex4 - "U" char_hex8 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex8 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex7 - -:char_hex7 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex6 - -:char_hex6 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex5 - -:char_hex5 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex4 - -:char_hex4 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex3 - -:char_hex3 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex1 - -:char_hex1 CharacterEscape string - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape string - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char noeat - "0-7" char - -:ident Ident # http://msdn.microsoft.com/en-us/library/x53a06bb.aspx - * idle noeat strings - "abstract" modifier - "as" operator - "base" kw - "break" loop - "case" label - "catch" stmt - "checked" operator - "class" struct - "const" storage - "continue" loop - "default" label - "delegate" kw - "do" loop - "else" cond - "enum" struct - "event" kw - "explicit" kw - "extern" modifier - "finally" stmt - "fixed" kw - "for" loop - "foreach" loop - "goto" loop - "if" cond - "implicit" kw - "in" operator - "interface" struct - "internal" modifier - "is" operator - "lock" stmt - "nameof" kw - "namespace" struct - "new" operator - "operator" kw - "out" storage - "override" storage - "params" kw - "private" modifier - "protected" modifier - "public" modifier - "readonly" modifier - "ref" storage - "return" stmt - "sealed" modifier - "sizeof" operator - "stackalloc" storage - "static" modifier - "struct" struct - "switch" cond - "this" kw - "throw" stmt - "try" stmt - "typeof" operator - "unchecked" operator - "unsafe" kw - "using" stmt - "virtual" modifier - "volatile" modifier - "while" loop - - # Types - - "bool" type - "Boolean" type - "byte" type - "Byte" type - "char" type - "Character" type - "decimal" type - "double" type - "Double" type - "float" type - "Float" type - "int" type - "Integer" type - "int16" type - "Int16" type - "int32" type - "Int32" type - "int64" type - "Int64" type - "IntPtr" type - "long" type - "object" type - "Object" type - "sbyte" type - "short" type - "string" type - "String" type - "uint" type - "uint16" type - "uint32" type - "uint64" type - "ulong" type - "ushort" type - "void" type - - - # These are "contextual" keywords. Should try to do a better and - # and find the context (most are LINQ), but it may not be possible - # in all cases: - - "add" kw - "alias" kw - "ascending" kw - "async" kw - "await" kw - "descending" kw - "dynamic" type - "from" kw - "get" kw - "global" kw - "group" kw - "into" kw - "join" kw - "let" kw - "orderby" kw - "partial" kw - "remove" kw - "select" kw - "set" kw - "value" kw - "var" type - "where" kw - "yield" kw - - # Literals - - "true" bool - "false" bool - "null" lit -done - "\c" ident - -:type Type - * idle noeat - -:kw Keyword - * idle noeat - -:stmt Statement - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat - -:struct Structure - * idle noeat - -:storage StorageClass - * idle noeat - -:modifier Modifier - * idle noeat - -:bool Boolean - * idle noeat - -:lit Constant - * idle noeat - -:operator Operator - * idle noeat - -.end diff --git a/.config/joestar/syntax/css.jsf b/.config/joestar/syntax/css.jsf @@ -1,169 +0,0 @@ -# JOE syntax highlight file for CSS -# by Eric Lin - -# Define colors - -=Idle -=Comment -=Constant -=Number +Constant -=Escape -=Keyword -=Bad - -=Class +Type -=Id +String +DefinedIdent -=Tag -=HTML # TODO: Get back to this when going over html, xml, php, ant, etc - -# from html.jsf to support <?php?> -=TagEdge - -:begin Idle - * begin noeat call=.css() - -# -# For <style> in html -# - -.subr css - -:reset HTML - * reset - "<" maybe_done recolor=-1 - "/" slash - # prevent duplicate code - "#.a-zA-Z" selector noeat - "@" command recolor=-1 - -:maybe_done TagEdge - * reset_html noeat - "/" reset noeat return recolor=-2 -.ifdef php - "?%" rtn_php call=php.php() -.endif - -# fix needed to produce similar output without php -:reset_html HTML - * reset noeat recolor=-2 - -# this state allows php and perl to recolor the ?> %> or &> properly. -:rtn_php TagEdge - * reset noeat - -:slash Idle - * reset noeat - "*" comment recolor=-2 - -:comment Comment comment - * comment - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment - "/" reset - "*" maybe_end_comment - -:command Idle - * command - ";" reset - "{" command_block - -:command_block Idle - * command_block - "}" reset - -# CSS selectors -:selector Idle - * selector - "#" id_sel recolor=-1 - "." class_sel recolor=-1 - "a-zA-Z" tag_sel recolor=-1 - ":" pseudo_class_sel recolor=-1 - "{" style_block recolor=-1 - -:id_sel Id - * selector noeat - "a-zA-Z0-9_-" id_sel - -:class_sel Class - * selector noeat - "a-zA-Z0-9_-" class_sel - -:tag_sel Tag - * selector noeat - "a-zA-Z0-9_-" tag_sel - "[" tag_sel_attr recolor=-1 - -:tag_sel_attr Idle - * tag_sel_attr - "]" selector - -:pseudo_class_sel Idle - * selector noeat - "a-zA-Z0-9_-" pseudo_class_sel - -# everything inside "{ ... }", containing many "key: value;" pairs -:style_block Idle - * style_block - "}" reset - "/" maybe_style_comment - "a-zA-Z-" style_word recolor=-1 - -:maybe_style_comment Idle - * style_block recolor=-1 - "*" style_comment recolor=-2 - -:style_comment Comment comment - * style_comment - "*" maybe_end_style_comment - -:maybe_end_style_comment Comment comment - * comment - "/" style_block - "*" maybe_end_style_comment - -# property-key -:style_word Keyword - * style_word - ":" style_value recolor=-1 - -# property-value -:style_value Idle - * style_value - ";" style_block - # treat } without previous ; like ;} - "}" style_block noeat - "#" color recolor=-1 - "0-9" decimal recolor=-1 - "." maybe_float - "a-zA-Z_" ident - -:color Constant - * style_value noeat - "0-9a-fA-F" color - -:decimal Number - * style_value noeat - "0-9" decimal - "." float - "a-zA-Z%" decimal_unit - -:maybe_float Number - * style_value noeat recolor=-2 - "0-9" float recolor=-2 - -:float Number - * style_value noeat - "0-9" float - "a-zA-Z%" decimal_unit - -:decimal_unit Number - * style_value noeat - "a-zA-Z" decimal_unit - -:ident Idle - * style_value noeat - "a-ZA-Z0-9_-" ident - -.end diff --git a/.config/joestar/syntax/d.jsf b/.config/joestar/syntax/d.jsf @@ -1,560 +0,0 @@ -# JOE syntax highlight file for D - -=Idle -=Ident -=Comment -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=Character +String -=Escape -=StringEscape +Escape -=CharacterEscape +StringEscape -=Type -=Keyword -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=Label +DefinedIdent -=Bad -=Brace -=Control - -=Methods - -:begin Idle - * begin noeat call=.d() - -.subr d - -:idle Idle - * idle - "(" idle call=.d(paren) - "[" idle call=.d(brack) - "{" do_brace recolor=-1 noeat -# "{" brace recolor=-1 call=.d(squiggly) -.ifdef paren - ")" idle return -.else - ")" stray recolor=-1 -.endif -.ifdef brack - "]" idle return -.else - "]" stray recolor=-1 -.endif -.ifdef squiggly - "}" brace recolor=-1 return -.else - "}" stray recolor=-1 -.endif - "\n" idle - "/" slash - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "'" char recolor=-1 - "\i" ident mark buffer - ",:;=><*&|!~+\-%^" control recolor=-1 - "r" maybe_rstring mark buffer - "x" maybe_xstring mark buffer - "q" maybe_qstring recolor=-1 mark buffer - "`" bstring recolor=-1 - -:do_brace Brace - * idle noeat - "{" brace call=.d(squiggly) - -:brace Brace - * idle noeat - -:stray Bad - * idle noeat - -:maybe_done Control - * idle noeat - "/" idle noeat return recolor=-2 - -:control Control - * idle noeat - -:slash Idle - * idle noeat - "*" comment recolor=-2 - "+" idle recolor=-2 call=.block_comment() - "/" line_comment recolor=-2 - -:comment Comment comment - * comment - # might be TODO label - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - # might be TODO label - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:int_postfix Number - * idle noeat - "uU" int_postfix_1 - "L" int_postfix_2 - -:int_postfix_1 Number - * idle noeat - "L" idle - -:int_postfix_2 Number - * idle noeat - "uU" idle - -:float_postfix Number - * idle noeat - "fF" float_postfix_1 - "L" float_postfix_1 - "i" idle - -:float_postfix_1 Number - * idle noeat - "i" idle - -:first_digit Number - * int_postfix noeat - "xX" hex - "bB" bin - "." float - "eE" epart - "0-9" decimal - -:bad_number Bad - * idle noeat - "0-9" bad_number - -:octal Number - * int_postfix noeat - "0-7_" octal - "89" bad_number recolor=-1 - -:hex Number - * int_postfix noeat - "0-9A-Fa-f_" hex - "." hexfloat - "pP" ppart - -:hexfloat Number - * float_postfix noeat - "0-9A-Fa-f_" hexfloat - "pP" ppart - -:ppart Number - * float_postfix noeat - "0-9+\-" pnum - -:pnum Number - * float_postfix noeat - "0-9_" pnum - -:decimal Number - * int_postfix noeat - "0-9_" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "\i" not_ident recolor=-2 - "0-9" float recolor=-2 - -:not_ident Idle - * idle noeat - "\c" not_ident - -:float Number - * float_postfix noeat - "eE" epart - "0-9_" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * float_postfix noeat - "0-9_" enum - -:maybe_qstring Brace - * ident recolor=-1 noeat - "{" brace call=.d(squiggly) - "\"" qdstring recolor=-2 - -:qdstring String string - * qstring save_c - "\i" qdelim buffer - -:qdelim String string - * qdelim_bad noeat save_s - "\c" qdelim - "\n" skipline noeat save_s - -:qdelim_bad Bad - * qdelim_bad - "\n" skipline noeat - -:skipline String string - * skipline - "\n" next_line - -:todelim String string - * todelim - "\n" next_line - "\"" next_line strings - "&" founddelim -done - -:founddelim String string - * idle noeat - "\"" bad_line - -:bad_line Bad - * bad_line - "\n" idle - -# eat \n so it's not in string. -:next_line String string - * todelim buffer - "\n" next_line - -:qstring String string - * qstring - & qstring_1 - -:qstring_1 String string - * qstring noeat - "\"" string_postfix - -:maybe_xstring Idle - * ident noeat - "\"" xstring recolor=-2 - -:xstring String string - * bad_xstring recolor=-1 - " \t\r\n\f0-9A-Fa-f" xstring - "\"" string_postfix - -:bad_xstring Bad - * xstring noeat - -:maybe_rstring Idle - * ident noeat - "\"" rstring recolor=-2 - -:rstring String string - * rstring - "\"" string_postfix - -:bstring String string - * bstring - "`" string_postfix - -:string String string - * string - "\"" string_postfix - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_postfix String string - * idle noeat - "cwd" idle - -:string_escape StringEscape string - * string - "U" string_hex8 - "u" string_hex4 - "x" string_hex2 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex8 StringEscape string - * string noeat - "0-9a-fA-F" string_hex7 - -:string_hex7 StringEscape string - * string noeat - "0-9a-fA-F" string_hex6 - -:string_hex6 StringEscape string - * string noeat - "0-9a-fA-F" string_hex5 - -:string_hex5 StringEscape string - * string noeat - "0-9a-fA-F" string_hex4 - -:string_hex4 StringEscape string - * string noeat - "0-9a-fA-F" string_hex3 - -:string_hex3 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string_hex1 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal1 - -:string_octal1 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\n" idle - "\"" string noeat - "diouxXeEfFgGaAcspn%SCM" string - -:char Character string - * char_done - "'" idle - "\\" char_escape recolor=-1 - -:char_done Character string - * idle noeat recolor=-3 - "\'" idle - -:char_escape CharacterEscape string - * char_done - "U" char_hex8 - "u" char_hex4 - "x" char_hex2 - "0-7" char_octal2 - -:char_hex8 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex7 - -:char_hex7 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex6 - -:char_hex6 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex5 - -:char_hex5 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex4 - -:char_hex4 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex3 - -:char_hex3 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex1 - -:char_hex1 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_done - -:char_octal2 CharacterEscape string - * char_done noeat - "0-7" char_octal1 - -:char_octal1 CharacterEscape string - * char_done noeat - "0-7" char_done - -:ident Ident - * ident_end noeat recolormark strings - "abstract" kw - "alias" kw - "align" kw - "asm" kw - "assert" kw - "auto" kw - "body" kw - "bool" kw - "break" kw - "byte" kw - "case" kw - "cast" kw - "catch" kw - "cdouble" kw - "cent" kw - "cfloat" kw - "char" kw - "class" kw - "const" kw - "continue" kw - "creal" kw - "dchar" kw - "debug" kw - "default" kw - "delegate" kw - "delete" kw - "deprecated" kw - "do" kw - "double" kw - "else" kw - "enum" kw - "export" kw - "extern" kw - "false" kw - "final" kw - "finally" kw - "float" kw - "for" kw - "foreach" kw - "foreach_reverse" kw - "function" kw - "goto" kw - "idouble" kw - "if" kw - "ifloat" kw - "immutable" kw - "import" kw - "in" kw - "inout" kw - "int" kw - "interface" kw - "invariant" kw - "ireal" kw - "is" kw - "lazy" kw - "long" kw - "macro" kw - "mixin" kw - "module" kw - "new" kw - "nothrow" kw - "null" kw - "out" kw - "override" kw - "package" kw - "pragma" kw - "private" kw - "protected" kw - "public" kw - "pure" kw - "real" kw - "ref" kw - "return" kw - "scope" kw - "shared" kw - "short" kw - "static" kw - "struct" kw - "super" kw - "switch" kw - "synchronized" kw - "template" kw - "this" kw - "throw" kw - "true" kw - "try" kw - "typedef" kw - "typeid" kw - "typeof" kw - "ubyte" kw - "ucent" kw - "uint" kw - "ulong" kw - "union" kw - "unittest" kw - "ushort" kw - "version" kw - "void" kw - "volatile" kw - "wchar" kw - "while" kw - "with" kw - "__FILE__" kw - "__MODULE__" kw - "__LINE__" kw - "__FUNCTION__" kw - "__PRETTY_FUNCTION__" kw - "__gshared" kw - "__traits" kw - "__vector" kw - "__parameters" kw -done - "\c" ident - -:type Type - * idle noeat - -:kw Keyword - * idle noeat - -:bad_kw Bad - * idle noeat - -:bool Boolean - * idle noeat - -:lit Constant - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:stmt Statement - * idle noeat - -:operator Operator - * idle noeat - -:ident_end Idle - * idle noeat - " " ident_end - "(" method_end noeat recolormark - -:method_end Methods - * idle noeat - -.end - -# Recursive block comments - -.subr block_comment - -:idle Comment comment - * idle - # might be TODO label - "BFHNTX" idle noeat call=comment_todo.comment_todo() - "+" maybe_done - "/" maybe_recur - -:maybe_done Comment comment - * idle noeat - "/" idle return - -:maybe_recur Comment comment - * idle noeat - "+" idle call=.block_comment() - -.end diff --git a/.config/joestar/syntax/debian.jsf b/.config/joestar/syntax/debian.jsf @@ -1,67 +0,0 @@ -# JOE syntax highlight file for apt's sources.list -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Comment -=Keyword -=Bad - -=URL +Constant - -=SpacyURL +String +Constant -=Distribution +Preproc -=Component +DefinedIdent - -:line_start Idle - * line_rest noeat - "#" line_comment recolor=-1 - "a-zA-Z" deb recolor=-1 - -:line_rest Idle - * line_rest - "\n" line_start - -:line_comment Comment comment - * line_comment - "\n" line_start - -:deb Keyword - * deb - " \t" deb_url_pre - -# allow multiple spaces -:deb_url_pre Idle - * deb_url noeat - " \t" deb_url_pre - -:deb_url URL - * deb_url - "[" deb_spacy_url recolor=-1 - " \t" deb_distro_pre - -:deb_spacy_url SpacyURL - * deb_spacy_url - "]" deb_url - -# allow multiple spaces -:deb_distro_pre Idle - * deb_distro noeat - " \t" deb_distro_pre - -:deb_distro Distribution - * deb_distro - " \t" deb_component_pre - - # distro is the last obligatory part, - # components are all optional - "\n" line_start - -# allow multiple spaces -:deb_component_pre Idle - * deb_component noeat - " \t" deb_component_pre - -:deb_component Component - * deb_component - " \t" deb_component_pre - "\n" line_start diff --git a/.config/joestar/syntax/diff.jsf b/.config/joestar/syntax/diff.jsf @@ -1,427 +0,0 @@ -# JOE syntax highlight file for diff/patch files -# -# 2017-02-03 : -# -# Rework color definitions for color schemes -# -# 2007-05-11 : -# -# This file is just udiff.jsf, ndiff.jsf and cdiff.jsf merged together -# into one file, to handle cases where A) it's difficult to tell what -# type of diff might be inside the file to highlight and B) the file to -# highlight may contain hunks of different types of diffs (unlikely). -# Of course it can be used to replace the 3 abovementioned files -# completely. If you want that, you need to edit ftyperc accordingly. -# -# Dirk Schenkewitz <Dirk.Schenkewitz (AT) gmx.de> - -# Color definitions -=Idle -=Garbage +Comment -=DiffCmd +Statement -=File +Type -=FileOld +File -=FileNew +File -=Hunk +File -=HunkHead +Hunk -=HunkMid +Hunk -# Inheritances here are admittedly bizarre -=DelLine +Escape -=AddLine +DefinedIdent -=ChgLine +Preproc -=CtxLine - - -:reset Idle - * garbage recolor=-1 - "\n" reset - "d" garbage buffer recolor=-1 # may be a "diff" command - "-" udiff_o1 # may start a unified diff hunk - "*" cdiff_o1 # may start a context diff hunk - "0-9" ndiff_r0 mark recolor=-1 # may start a "normal" diff hunk - -:garbage Garbage - * garbage strings - "diff" diff_cmd recolor=-3 -done - "\n" reset - -:diff_cmd DiffCmd - * diff_cmd - "\n" reset - -#---------------------------------------------- - -# unified diffs: - -:udiff_o1 Idle - * garbage recolor=-2 buffer - "-" udiff_o2 - -:udiff_o2 Idle - * garbage recolor=-3 buffer - "-" udiff_o3 - -:udiff_o3 Idle - * garbage recolor=-4 buffer - " " udiff_o4 - -:udiff_o4 Idle - * udiff_oldf recolor=-5 - " " garbage recolor=-5 buffer - -:udiff_n0 Idle - * garbage recolor=-1 buffer - "+" udiff_n1 - -:udiff_n1 Idle - * garbage recolor=-2 buffer - "+" udiff_n2 - -:udiff_n2 Idle - * garbage recolor=-3 buffer - "+" udiff_n3 - -:udiff_n3 Idle - * garbage recolor=-4 buffer - " " udiff_newf recolor=-4 - -:udiff_oldf FileOld - * udiff_oldf - "\n" udiff_n0 - -:udiff_newf FileNew - * udiff_newf - "\n" udiff_prehunk1 - -:udiff_prehunk1 Idle - * garbage - "@" udiff_prehunk2 - "\n" reset - -:udiff_prehunk2 Idle - * garbage recolor=-1 - "@" udiff_prehunk3 - "\n" reset - -:udiff_prehunk3 Idle - * garbage recolor=-1 - " " udiff_hunkhead recolor=-3 - "\n" reset - -:udiff_hunkhead HunkHead - * udiff_hunkhead - "\n" udiff_hunkbody - -:udiff_hunkbody Idle - * reset noeat - "d" garbage recolor=-1 buffer - "-" udiff_minus1 - "+" udiff_add recolor=-1 - " " udiff_ctx recolor=-1 - "@" udiff_prehunk2 - -:udiff_minus1 Idle - * udiff_del noeat recolor=-2 - "-" udiff_minus2 - -:udiff_minus2 Idle - * udiff_del noeat recolor=-3 - "-" udiff_minus3 - -:udiff_minus3 Idle - * udiff_del noeat recolor=-4 - " " udiff_minus4 - -:udiff_minus4 Idle - * udiff_oldf recolor=-5 - "\n" udiff_hunkbody - " " udiff_del recolor=-5 - -:udiff_del DelLine - * udiff_del - "\n" udiff_hunkbody - -:udiff_add AddLine - * udiff_add - "\n" udiff_hunkbody - -:udiff_ctx CtxLine - * udiff_ctx - "\n" udiff_hunkbody - -#---------------------------------------------- - -# "normal" diffs: - -:ndiff_r0 Idle - * garbage noeat recolormark - "0-9" ndiff_r0 - "," ndiff_r1 - "adc" ndiff_r2 - "\n" reset markend - -:ndiff_r1 Idle - * garbage recolormark - "0-9" ndiff_r1 - "adc" ndiff_r2 - "\n" reset markend - -:ndiff_r2 Idle - * garbage noeat recolormark - "0-9" ndiff_r2 - "," ndiff_r3 - "\n" ndiff_re noeat recolormark - -:ndiff_r3 Idle - * garbage noeat recolormark - "0-9" ndiff_r3 - "\n" ndiff_re noeat recolormark - -:ndiff_re HunkHead - "\n" ndiff_hunk0 - -:ndiff_hunk0 HunkHead - * reset noeat - "<" ndiff_o1 - ">" ndiff_n1 - "\\" ndiff_t1 - - -:ndiff_hunk1 HunkHead - * reset noeat - "<" ndiff_o1 - ">" ndiff_n1 - "-" ndiff_m1 recolor=-1 - "\\" ndiff_t1 - - -:ndiff_t1 Idle - * garbage recolor=-3 - "\n" reset - " " ndiff_txt recolor=-3 - -:ndiff_o1 Idle - * garbage recolor=-3 - "\n" reset - " " ndiff_del recolor=-3 - -:ndiff_n1 Idle - * garbage recolor=-3 - "\n" reset - " " ndiff_add recolor=-3 - -:ndiff_txt CtxLine - * ndiff_txt - "\n" ndiff_hunk1 - -:ndiff_del DelLine - * ndiff_del - "\n" ndiff_hunk1 - -:ndiff_add AddLine - * ndiff_add - "\n" ndiff_hunk1 - - -:ndiff_m1 Idle - * garbage recolor=-2 - "-" ndiff_m2 - "\n" reset recolor=-2 - -:ndiff_m2 Idle - * garbage recolor=-3 - "-" ndiff_m3 recolor=-3 - -:ndiff_m3 HunkMid - * garbage recolor=-4 - "\n" ndiff_hunk0 - -#---------------------------------------------- - -# context diffs: - -:cdiff_o1 Idle - * garbage recolor=-2 buffer - "*" cdiff_o2 - -:cdiff_o2 Idle - * garbage recolor=-3 buffer - "*" cdiff_o3 - -:cdiff_o3 Idle - * garbage recolor=-4 buffer - " " cdiff_o4 - -:cdiff_o4 Idle - * cdiff_oldf recolor=-5 - " " garbage recolor=-5 buffer - -:cdiff_oldf FileOld - * cdiff_oldf - "\n" cdiff_n0 - -:cdiff_n0 Idle - * garbage recolor=-1 buffer - "-" cdiff_n1 - -:cdiff_n1 Idle - * garbage recolor=-2 buffer - "-" cdiff_n2 - -:cdiff_n2 Idle - * garbage recolor=-3 buffer - "-" cdiff_n3 - -:cdiff_n3 Idle - * garbage recolor=-4 buffer - " " cdiff_newf recolor=-4 - -:cdiff_newf FileNew - * cdiff_newf - "\n" cdiff_prehunk0 - -:cdiff_prehunk0 Idle - * manystars buffer - -:manystars Idle - * garbage noeat strings - "***************" cdiff_prehunk1 -done - "*" manystars - - -:cdiff_prehunk1 HunkHead - * cdiff_ho0 - -:cdiff_ho0 Idle - * garbage recolor=-1 buffer - "*" cdiff_ho1 - -:cdiff_ho1 Idle - * garbage recolor=-2 buffer - "*" cdiff_ho2 - -:cdiff_ho2 Idle - * garbage recolor=-3 buffer - "*" cdiff_ho3 - -:cdiff_ho3 Idle - * garbage recolor=-4 buffer - " " cdiff_ho4 recolor=-4 mark - -:cdiff_ho4 HunkHead - * garbage recolormark buffer - "0-9," cdiff_ho4 - " " cdiff_ho5 recolormark buffer - "\n" reset markend - -:cdiff_ho5 HunkHead - * garbage recolor=-1 buffer - "*" cdiff_ho6 - -:cdiff_ho6 Idle - * garbage recolor=-2 buffer - "*" cdiff_ho7 - -:cdiff_ho7 Idle - * garbage recolor=-3 buffer - "*" cdiff_ho8 - -:cdiff_ho8 Idle - * garbage recolor=-4 buffer - "*" cdiff_ho9 recolor=-4 - -:cdiff_ho9 HunkHead - * garbage recolor=-5 buffer - "\n" cdiff_hunk - - -:cdiff_hn0 Idle - * garbage recolor=-1 buffer - "-" cdiff_hn1 - -:cdiff_hn1 Idle - * garbage recolor=-2 buffer - "-" cdiff_hn2 - -:cdiff_hn2 Idle - * garbage recolor=-3 buffer - "-" cdiff_hn3 - -:cdiff_hn3 Idle - * garbage recolor=-4 buffer - " " cdiff_hn4 recolor=-4 mark - -:cdiff_hn4 HunkHead - * garbage recolormark buffer - "0-9," cdiff_hn4 - " " cdiff_hn5 recolormark buffer - "\n" reset markend - -:cdiff_hn5 HunkHead - * garbage recolor=-1 buffer - "-" cdiff_hn6 - -:cdiff_hn6 Idle - * garbage recolor=-2 buffer - "-" cdiff_hn7 - -:cdiff_hn7 Idle - * garbage recolor=-3 buffer - "-" cdiff_hn8 - -:cdiff_hn8 Idle - * garbage recolor=-4 buffer - "-" cdiff_hn9 recolor=-4 - -:cdiff_hn9 HunkHead - * garbage recolor=-5 buffer - "\n" cdiff_hunk - - - -:cdiff_hunk Idle - * garbage recolor=-1 buffer - " " cdiff_h_c0 - "+" cdiff_h_p0 - "!" cdiff_h_x0 - "-" cdiff_h_m0 - "*" manystars buffer - -:cdiff_h_c0 Idle - * garbage recolor=-2 buffer - " " cdiff_h_c1 recolor=-2 - "\n" reset - -:cdiff_h_c1 CtxLine - * cdiff_h_c1 - "\n" cdiff_hunk - -:cdiff_h_p0 Idle - * garbage recolor=-2 buffer - " " cdiff_h_p1 recolor=-2 - "\n" reset - -:cdiff_h_p1 AddLine - * cdiff_h_p1 - "\n" cdiff_hunk - -:cdiff_h_x0 Idle - * garbage recolor=-2 buffer - " " cdiff_h_x1 recolor=-2 - "\n" reset - -:cdiff_h_x1 ChgLine - * cdiff_h_x1 - "\n" cdiff_hunk - -:cdiff_h_m0 Idle - * garbage recolor=-2 buffer - " " cdiff_h_m1 recolor=-2 - "-" cdiff_hn2 recolor=-2 - "\n" reset - -:cdiff_h_m1 DelLine - * cdiff_h_m1 - "\n" cdiff_hunk diff --git a/.config/joestar/syntax/dockerfile.jsf b/.config/joestar/syntax/dockerfile.jsf @@ -1,171 +0,0 @@ -# Barebones Dockerfile syntax for JOE. Doesn't handle more sophisticated sh syntax. - -=Idle -=Command +Statement +Keyword -=Comment -=Constant -=String +Constant -=Ident -=Escape -=Brace -=StringEscape +Escape -=Variable +DefinedIdent - -# Start of line is special -:start Idle - * idle - " \t" start - "#" comment noeat - "A-Za-z" command buffer noeat - "\n" start - -# Comments between commands -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" start - -# Comments in the middle of a command -:comment_idle Comment comment - * comment_idle - "\n" idle - -# Start of line in the middle of "idle" mode (skips command recognition in case a comment -# comes in the middle of a RUN) -:start_idle Idle - * idle noeat - "#" comment_idle recolor=-1 - -# Generic middle-of-a-command -:idle Idle - * idle - "$" idle recolor=-1 call=.variable() - "\n" start - "\\" escape recolor=-1 - -:escape Escape - * idle recolor=-2 noeat - "\\\"" idle - "\r" escape - "\n" start_idle - -:command Idle - * idle noeat istrings - "FROM" from - "MAINTAINER" string_command - "RUN" list_command - "CMD" list_command - "LABEL" label - "EXPOSE" generic_command - "ENV" generic_command - "ADD" list_command - "COPY" list_command - "ENTRYPOINT" list_command - "VOLUME" list_command - "USER" string_command - "WORKDIR" string_command - "ARG" generic_command - "ONBUILD" generic_command - "STOPSIGNAL" generic_command -done - "a-zA-Z" command - -# EXPOSE, ENV, ARG, ONBUILD, STOPSIGNAL -:generic_command Command - * idle - -# MAINTAINER, USER, WORKDIR -:string_command Command - * string_command_data - -:string_command_data Constant - * string_command_data - "$" string_command_data recolor=-1 call=.variable() - "\n" start - -# FROM -:from Command - * from_image noeat - -:from_image Constant - * from_image - ":@" from_tag noeat - "\n" start - -:from_tag Idle - * from_tag - "\n" start - -# RUN, CMD, ADD, COPY, ENTRYPOINT, VOLUME -:list_command Command - * idle noeat - " \t" list_command - "[" array noeat - "\n" start - -:array Idle - * array - "[]" bracket noeat - "\"'" array recolor=-1 call=.string() save_c - "\n" start - -:comma Idle - * array noeat - -:bracket Brace - "]" idle - "[" array - -# LABEL -:label Command - * label_key - "\n" start - -:label_key Variable - * label_key - "=" label_value noeat - "\n" start - -:label_value Constant - * label_value - "\"" label_value recolor=-1 call=.string() save_c - "\n" start - -.subr variable - -:variable Variable - * variable recolor=-2 return noeat - "A-Za-z_" variable_name - "{" variable_long - -:variable_name Variable - * variable_name return noeat - "A-Za-z0-9_" variable_name - -:variable_long Variable - * variable_long - & variable return noeat - "\n" variable return noeat - "}" variable return - ":" variable_after - -:variable_after Idle - * variable_after - & variable_after return noeat - "}" variable_long noeat - -.end - -.subr string - -:string String string - * string - & string return - "\n" string return noeat - "\\" string_escape recolor=-1 - "$" string recolor=-1 call=.variable() - -:string_escape StringEscape string - * string - -.end diff --git a/.config/joestar/syntax/elixir.jsf b/.config/joestar/syntax/elixir.jsf @@ -1,239 +0,0 @@ -# JOE syntax highlight file for Elixir - -# Written by Andrey Lisin (at gmail.com) - -# TODO -# - test attributes and docstrings highlighting -# - maybe highlight arithmetical operations -# - comprehensions highlighting - -# Changes -# - fix atom with underscore highlighting -# - distinct docstrings and module attributes - -=Idle -=Ident -=Comment -=Keyword -=Statement +Keyword -=Conditional +Statement -=Type -=DefinedIdent +Ident -=DefinedType +DefinedIdent -=DefinedFunction +DefinedIdent -=Operator +Keyword -=Constant -=Boolean +Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=StringVariable +StringEscape -=Atom +Constant +DefinedIdent -=Attribute +Define +Preproc -=Brace +Escape -=Bracket +Brace -=Underscore +Keyword -=ModAttr +Atom # key in %{key: value} - - -:idle Idle - * idle - "#" line_comment noeat - "A-Z" type recolor=-1 - "a-z" ident noeat - "_" underscore recolor=-1 - "'" single_quoted recolor=-1 - "\"" double_quoted recolor=-1 - ":" atom recolor=-1 - "@" modattr recolor=-1 - "[]" brack recolor=-1 - "{}" brace recolor=-1 - "|" maybe_pipe - "\\" maybe_opt - "-" maybe_rarrow recolor=-1 - "<" maybe_larrow recolor=-1 - "0-9" decimal recolor=-1 - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:single_quoted String string - * single_quoted - "'" idle - -:double_quoted String string - * double_quoted - "#" maybe_extrapolation - "\"" idle - -:maybe_extrapolation String string - * double_quoted noeat - "{" extrapolation recolor=-2 - -:extrapolation StringVariable string - * extrapolation - "}" double_quoted - "\"" double_quoted noeat - -:atom Atom - * idle noeat - "a-zA-Z0-9_" atom - -:modattr ModAttr - * idle - "a-zA-Z0-9_" modattr - " " maybe_edoc - -:maybe_edoc Idle - * idle - " " maybe_edoc - "\"" string_dq_1 recolor=-1 - -:string_dq_1 String string - * double_quoted recolor=-1 - "\"" string_dq_2 - -:string_dq_2 Comment comment - * idle - "\"" docstr_dq recolor=-3 - -:docstr_dq Comment comment - * docstr_dq - "\"" docstr_dq_1 - -:docstr_dq_1 Comment comment - * docstr_dq - "\"" docstr_dq_2 - -:docstr_dq_2 Comment comment - * docstr_dq - "\"" idle - - - -:brace Brace - * idle noeat - -:brack Bracket - * idle noeat - -:maybe_larrow Idle - "-" arrow recolor=-2 - * idle noeat - -:maybe_rarrow Idle - ">" arrow recolor=-2 - * idle noeat - -:arrow Operator - * idle noeat - -:maybe_pipe Idle - * idle - ">" pipe recolor=-2 - -:pipe Operator - * idle noeat - -:maybe_opt Idle - * idle - "\\" opt recolor=-2 - -:opt Keyword - * idle noeat - -:decimal Number - * idle noeat - "0-9_" decimal - "." float - -:float Number - * idle noeat - "0-9" float - - - - -:underscore Underscore - * idle noeat - "a-zA-Z0-9?_" underscore - - -:type Type - "a-zA-Z0-9_" type - * idle noeat - -:ident Ident - * ident1 noeat buffer mark - -:ident1 Ident - * idle noeat strings - "def" start_func_def - "defp" start_func_def - "defmodule" start_mod_def - "defprotocol" start_def - "defmacro" start_def - "defmacrop" start_def - "defdelegate" start_def - "defexception" start_def - "defstruct" start_def - "defimpl" start_def - "defcallback" start_def - "import" start_mod_def - "require" start_mod_def - "test" start_def - "use" start_mod_def - "alias" start_mod_def - "end" stmt - "do" kw - "for" loop - "if" cond - "else" cond - "unless" cond - "case" cond - "cond" cond - "true" bool - "false" bool - "fn" kw -done - "a-zA-Z_0-9" ident1 - ":" attr noeat recolormark - -:attr Attribute - * idle - -:kw Keyword - * idle noeat - -:stmt Statement - * idle noeat - -:cond Conditional - * idle noeat - -:bool Boolean - * idle noeat - -:start_def Statement - * def - -:start_mod_def Statement - * moddef - -:start_func_def Statement - * funcdef - -:def DefinedIdent - * def - " (" idle noeat - -:funcdef DefinedFunction - * funcdef - " (" idle noeat - -:moddef DefinedType - * moddef - " " idle noeat - "\n" idle diff --git a/.config/joestar/syntax/erb.jsf b/.config/joestar/syntax/erb.jsf @@ -1,31 +0,0 @@ -# JOE syntax highlight file for plain ERB -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Keyword -=Bad -=Brace -=ERB +Escape - -:content Idle - * content - "<" maybe_erb_start - -:maybe_erb_start Idle - * content noeat - "%" maybe_erb_eq recolor=-2 - -:maybe_erb_eq ERB - * rtn_ruby noeat call=ruby.ruby(erb) - "=" rtn_ruby call=ruby.ruby(erb) - -:rtn_ruby ERB - * content noeat - -:erb ERB - * erb - "%" maybe_erb_end - -:maybe_erb_end ERB - * erb - ">" content diff --git a/.config/joestar/syntax/erlang.jsf b/.config/joestar/syntax/erlang.jsf @@ -1,506 +0,0 @@ -# JOE syntax highlight file for Erlang -# by Christian Nicolai (http://mycrobase.de) -# with contributions from Jonas Rosling and Andrew Lisin - -# TODO Handle type information :: -# TODO implement subroutines for cleaner and more correct implementation. -# TODO Probably use less colors to be less distractive. - - -=Idle -=Ident -=Comment -=Constant -=String +Constant -=String_mod +StringEscape -=String_esc +StringEscape -=Number +Constant -=Keyword -=Operator +Keyword -=Type -=Module +Type -=Brace +Control -=Bracket +Control -=Character +String +Constant -=CharacterEscape +StringEscape +Character -=Attribute +Preproc -=Variable #+DefinedIdent +Ident ?? -=Record +Include +Preproc -=Macro +Define -=Guard +Conditional +Statement +Bif -=Bif +DefinedFunction -=Fun +Ident -=Recatt - - -:idle Idle - * idle - "A-Z_" variable noeat - "%" line_comment noeat - "\"" string recolor=-1 - "'" quoted_atom mark - "0-9" decimal recolor=-1 - "[]" brack recolor=-1 - "{}" brace recolor=-1 - "-" maybe_attribute buffer - "a-z" atom buffer mark noeat - "#" record recolor=-1 - "$" char recolor=-1 - "?" is_macro mark - "<|" lc buffer - -:lc Idle - * idle noeat strings - "<-" kw - "||" kw -done - "-<|" lc - -:pipe Idle - * idle noeat - "|" kw recolormark - -:is_macro Idle - * macro recolormark noeat - "a-zA-Z0-9_@" is_macro - -:macro Macro - * idle noeat - -:char Character string - * idle - "\\" charesc - -:charesc Character string - * idle - -:line_comment Comment comment - * line_comment - "@" is_edoc noeat buffer - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:is_edoc Comment comment - * line_comment noeat strings - "@clear" edoc - "@docfile" edoc - "@headerfle" edoc - "@todo" edoc - "@TODO" edoc - "@type" edoc - "@reference" edoc - "@see" edoc - "@since" edoc - "@deprecated" edoc - "@hidden" edoc - "@private" edoc - "@equiv" edoc - "@throws" edoc - "@author" edoc - "@copyright" edoc - "@version" edoc - "@title" edoc - "@spec" edoc - "@doc" edoc - "@end" edoc -done - "A-Za-z@" is_edoc - -:edoc Keyword - * line_comment noeat - -:variable Variable - * idle noeat - "a-zA-Z0-9_" variable - -:record Record - * idle noeat - "a-z" rec noeat - "'" qtrec recolor=-1 - -:rec Record - * idle noeat - "a-zA-Z0-9_@" rec - "." recatt recolor=-1 - -:qtrec Record - * qtrec - "'" rec - -:recatt Recatt - * idle noeat - "a-zA-Z_" recatt - "#" record - -# STRINGS -:string String string - * string - "\\" string_escape recolor=-1 - "~" string_ mark - "\"" idle - -:string_escape String_esc string - * string - -:string_ String string - * string_mod noeat - "0-9" string_f - "t" string_mod -:string_f String string - * string_mod noeat - "0-9*" string_f - "." string_p - -:string_p String string - * string_mod noeat - "0-9*" string_p - -:string_mod String string - * string - "cfegswpWPBX#bx+ni" string_modifier recolormark noeat - -:string_modifier String_mod string - * string -# END STRINGS -:decimal Number - * idle noeat - "0-9" decimal - "." float - "#" base - -:float Number - * idle noeat - "0-9" float - "Ee" eintval - -:base Number - * idle noeat - "0-9A-Fa-f" base - -:eintval Number - * eint noeat - "-" eint - -:eint Number - * idle noeat - "0-9" eint - -:brace Brace - * idle noeat - -:brack Bracket - * idle noeat - -:maybe_attribute Idle - * idle noeat strings - "-module" attribute - "-export" attribute - "-import" attribute - "-compile" attribute - "-ifdef" attribute - "-endif" attribute - "-define" attribute - "-file" attribute - "-type" attribute - "-opaque" attribute - "-export_type" attribute - "-spec" attribute - "-author" attribute - "-copyright" attribute - "-include" attribute - "-include_lib" attribute - "-vsn" attribute - "-behaviour" attribute - "-behavior" attribute - "-record" attribute - "-on_load" attribute - "-connect_all" attribute - "-hidden" attribute - "-name" attribute - "-setcookie" attribute - "-sname" attribute - "-mode" attribute -done - "a-z_" maybe_attribute - -:attribute Attribute - * idle noeat - -:no_atom Idle - * idle noeat - " " no_atom - "(" function recolormark noeat - ":" module recolormark noeat - "/" funarity - -:module Module - * idle noeat - -:function Fun - * idle noeat - -:funarity Fun - * function recolormark noeat - "0-9" idle - -:kw Keyword - * idle noeat - -:guard Guard - * idle noeat - -:rterr Guard - * idle noeat - -:bif Bif - * idle recolormark noeat - " " bif - "(" idle noeat - -:type Type - * idle recolormark noeat - "(" idle noeat - ":" module recolormark noeat - -:quoted_atom Idle - * quoted_atom - "'" no_atom - -# This implementation is sort of funky. -# Most of the cases it's correct but some highlighting may be wrong. -# Should be looked over... -:atom Ident - * no_atom noeat strings - "after" kw - "and" kw - "andalso" kw - "band" kw - "begin" kw - "bnot" kw - "bor" kw - "bsl" kw - "bsr" kw - "bxor" kw - "case" kw - "catch" kw - "cond" kw - "div" kw - "end" kw - "fun" kw - "if" kw - "let" kw - "not" kw - "of" kw - "or" kw - "orelse" kw - "query" kw - "receive" kw - "rem" kw - "try" kw - "when" kw - "xor" kw - "any" type - "none" type - "pid" type - "port" type - "reference" type - "float" type - "atom" type - "binary" type - "integer" type - "list" type - "improper_list" type - "maybe_improper_list" type - "tuple" type - "term" type - "boolean" type - "byte" type - "char" type - "non_neg_integer" type - "pos_integer" type - "neg_integer" type - "number" type - "string" type - "nonempty_string" type - "iolist" type - "module" type - "mfa" type - #interfears with the bif "node" type - "timeout" type - "no_return" type - "badarg" rterr - "badarith" rterr - "badmatch" rterr - "function_clause" rterr - "case_clause" rterr - "if_clause" rterr - "try_clause" rterr - "undef" rterr - "badfun" rterr - "badarity" rterr - "timeout_value" rterr - "noproc" rterr - "nocatch" rterr - "system_limit" rterr - "is_atom" guard - "is_binary" guard - "is_bitstream" guard - "is_boolean" guard - "is_float" guard - "is_function" guard - "is_integer" guard - "is_list" guard - "is_number" guard - "is_pid" guard - "is_port" guard - "is_record" guard - "is_reference" guard - "is_tuple" guard - "abs" bif - "adler32" bif - "adler32_combine" bif - "append_element" bif - "apply" bif - "atom_to_binary" bif - "atom_to_list" bif - "binary_part" bif - "binary_to_atom" bif - "binary_to_existing_atom" bif - "binary_to_list" bif - "bitstring_to_list" bif - "binary_to_term" bif - "bit_size" bif - "bump_reductions" bif - "byte_size" bif - "cancel_timer" bif - "check_old_code" bif - "check_process_code" bif - "crc32" bif - "crc32_combine" bif - "date" bif - "decode_packet" bif - "delete_module" bif - "demonitor" bif - "disconnect_node" bif - "display" bif - "element" bif - "erase" bif - "error" bif - "exit" bif - "external_size" bif - "float" bif - "float_to_list" bif - "fun_info" bif - "fun_to_list" bif - "function_exported" bif - "garbage_collect" bif - "get" bif - "get_cookie" bif - "get_keys" bif - "get_stacktrace" bif - "group_leader" bif - "halt" bif - "hash" bif - "hd" bif - "hibernate" bif - "integer_to_list" bif - "iolist_to_binary" bif - "iolist_size" bif - "is_alive" bif - "is_builtin" bif - "is_process_alive" bif - "length" bif - "link" bif - "list_to_atom" bif - "list_to_binary" bif - "list_to_bitstring" bif - "list_to_existing_atom" bif - "list_to_float" bif - "list_to_integer" bif - "list_to_pid" bif - "list_to_tuple" bif - "load_module" bif - "load_nif" bif - "loaded" bif - "local_time" bif - "local_time_to_universaltime" bif - "make_ref" bif - "make_tuple" bif - "max" bif - "md5" bif - "md5_final" bif - "md5_init" bif - "md5_update" bif - "memory" bif - "min" bif - "module_loaded" bif - "monitor" bif - "monitor_node" bif - "nif_error" bif - "node" bif - "nodes" bif - "now" bif - "open_port" bif - "phash" bif - "phash2" bif - "pid_to_list" bif - "port_close" bif - "port_command" bif - "port_connect" bif - "port_control" bif - "port_call" bif - "port_info" bif - "port_to_list" bif - "ports" bif - "pre_loaded" bif - "process_display" bif - "process_flag" bif - "process_info" bif - "processes" bif - "purge_module" bif - "put" bif - "raise" bif - "read_timer" bif - "ref_to_list" bif - "register" bif - "registered" bif - "resume_process" bif - "round" bif - "self" bif - "send" bif - "send_after" bif - "send_nosuspend" bif - "set_cookie" bif - "setelement" bif - "size" bif - "spawn" bif - "spawn_link" bif - "spawn_monitor" bif - "spawn_opt" bif - "split_binary" bif - "start_timer" bif - "statistics" bif - "suspended_process" bif - "system_flag" bif - "system_info" bif - "system_monitor" bif - "system_profile" bif - "term_to_binary" bif - "throw" bif - "time" bif - "tl" bif - "trace" bif - "trace_deliviered" bif - "trace_info" bif - "trace_pattern" bif - "trunc" bif - "tuple_size" bif - "tuple_to_list" bif - "universaltime" bif - "universaltime_to_localtime" bif - "unlink" bif - "unregister" bif - "whereis" bif - "yield" bif -done - "a-zA-Z0-9_@" atom diff --git a/.config/joestar/syntax/filename.jsf b/.config/joestar/syntax/filename.jsf @@ -1,21 +0,0 @@ -# Filename highlighter - -=Idle -=Notused +Comment - -:idle Idle - * filename noeat mark - -:filename Idle - * filename - "/" slash - "\n" idle - -:slash Idle - * filename - "/" restart noeat recolormark - "~" restart noeat recolormark - "\n" idle - -:restart Notused - * filename noeat mark diff --git a/.config/joestar/syntax/fortran.jsf b/.config/joestar/syntax/fortran.jsf @@ -1,822 +0,0 @@ -# JOE syntax highlight file for FORTRAN -# Heavily improved by: Malte Thoma (thoma@uni-muenster.de) - -# Bugs: -# in: 4. eq. -- does not recognize the .eq. -# needs more intrinsics. - -=Idle -=Ident -=Comment -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=Type -=Keyword -=Operator +Keyword -=Statement +Keyword -=Builtin +DefinedFunction -=Loop +Statement -=Conditional +Statement -=Label +Statement -=Preproc -=Bad - -# First character of line... - -:reset Idle - * idle noeat - "\n" reset - "cC*" comment recolor=-1 - "#" pre recolor=-1 - -:pre Preproc - * pre - "\n" reset - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" reset - -:idle Idle - * idle - "!" comment recolor=-1 - "\n" reset - "0-9" first_number recolor=-1 - "." have_dot - "'" string recolor=-1 - "a-zA-Z_" ident buffer - -:first_number Number - * idle noeat - "0-9" first_number - "." second_start - "eEdD" epart - -:have_dot Number - * idle recolor=-2 noeat - "0-9" second_number recolor=-2 - " \ta-zA-Z" operator1 noeat recolor=-2 - -# Color the left . - -:operator1 Operator - * operator buffer noeat - " \t" operator1 - -# Default color is Idle for unknown operator - -:operator Idle - * idle noeat - "a-zA-Z" operator - ". \t" unknown noeat istrings - "gt" op - "ge" op - "eq" op - "le" op - "ne" op - "lt" op - "and" op - "or" op - "llt" op - "lle" op - "lgt" op - "lge" op - "not" op - "false" bool - "true" bool -done - -# Eat the right . - -:unknown Operator - * idle - " \t" unknown - -:op Operator - * idle - " \t" op - -:bool Boolean - * idle - "." op noeat - " \t" const - -# For distrinuishing between 4.e1 and 4.eq. - -:second_start Number - * idle noeat - "a-zA-Z" operator1 noeat recolor=-2 - "dD" epart - "eE" epart1 - "0-9" second_number - -:epart1 Number - * idle noeat - "q" epart2 - "0-9+\-" enum - -:epart2 Idle - * idle noeat - ". \t" op noeat recolor=-4 - -:second_number Number - * idle noeat - "eEdD" epart - "0-9" second_number - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\n" reset - "'" maybe_end_string - -:maybe_end_string String string - * idle noeat - "'" string - -:ident Ident - * idle noeat istrings - "allocate" kw - "allocatable" kw - "assign" kw - "assignment" kw - "backspace" kw - "block" kw - "blockdata" kw - "call" kw - "case" label - "character" type - "close" kw - "common" kw - "complex" type - "contains" kw - "continue" loop - "cycle" kw - "data" kw - "deallocate" kw - "default" label - "dimension" type - "do" loop - "double" type - "doubleprecision" type - "elemental" kw - "else" cond - "elseif" cond - "elsewhere" cond - "end" kw - "endblock" kw - "endblockdata" kw - "enddo" loop - "endfile" kw - "endforall" loop - "endif" cond - "endinterface" kw - "endmodule" kw - "endselect" cond - "endtype" kw - "endwhere" kw - "entry" kw - "equivalence" kw - "exit" kw - "external" kw - "forall" loop - "format" kw - "function" kw - "go" loop - "goto" loop - "if" cond - "implicit" kw - "in" kw - "inout" kw - "inquire" kw - "integer" type - "intent" kw - "interface" kw - "intrinsic" kw - "iolength" kw - "kind" kw - "logical" type - "module" kw - "namelist" kw - "none" kw - "nullify" kw - "only" kw - "open" kw - "optional" kw - "out" kw - "parameter" kw - "pause" kw - "pointer" kw - "precision" type - "print" kw - "private" kw - "procedure" kw - "program" kw - "publc" kw - "public" kw - "pure" kw - "read" kw - "real" type - "recursive" kw - "result" kw - "return" kw - "rewind" kw - "save" kw - "select" cond - "selectcase" cond - "sequence" kw - "stat" kw - "stop" kw - "subroutine" kw - "target" kw - "then" cond - "to" loop - "type" kw - "use" kw - "where" kw - "while" loop - "write" kw -done - "(" idle noeat istrings -# Keywords have to be duplicated here... - "allocate" kw - "allocatable" kw - "assign" kw - "assignment" kw - "backspace" kw - "block" kw - "blockdata" kw - "call" kw - "case" label - "character" type - "close" kw - "common" kw - "complex" type - "contains" kw - "continue" loop - "cycle" kw - "data" kw - "deallocate" kw - "default" label - "dimension" type - "do" loop - "double" type - "doubleprecision" type - "elemental" kw - "else" cond - "elseif" cond - "elsewhere" cond - "end" kw - "endblock" kw - "endblockdata" kw - "enddo" loop - "endfile" kw - "endforall" loop - "endif" cond - "endinterface" kw - "endmodule" kw - "endselect" cond - "endtype" kw - "endwhere" kw - "entry" kw - "equivalence" kw - "exit" kw - "external" kw - "forall" loop - "format" kw - "function" kw - "go" loop - "goto" loop - "if" cond - "implicit" kw - "in" kw - "inout" kw - "inquire" kw - "integer" type - "intent" kw - "interface" kw - "intrinsic" kw - "iolength" kw - "kind" kw - "logical" type - "module" kw - "namelist" kw - "none" kw - "nullify" kw - "only" kw - "open" kw - "optional" kw - "out" kw - "parameter" kw - "pause" kw - "pointer" kw - "precision" type - "print" kw - "private" kw - "procedure" kw - "program" kw - "publc" kw - "public" kw - "pure" kw - "read" kw - "real" kw - "recursive" kw - "result" kw - "return" kw - "rewind" kw - "save" kw - "select" cond - "selectcase" cond - "sequence" kw - "stat" kw - "stop" kw - "subroutine" kw - "target" kw - "then" cond - "to" loop - "type" kw - "use" kw - "where" kw - "while" loop - "write" kw -# Here are instrinsics - "abs" intrinsic - "achar" intrinsic - "acos" intrinsic - "adjustl" intrinsic - "adjustr" intrinsic - "aimag" intrinsic - "aint" intrinsic - "all" intrinsic - "allocated" intrinsic - "alog" intrinsic - "alog10" intrinsic - "anint" intrinsic - "any" intrinsic - "asin" intrinsic - "associated" intrinsic - "atan" intrinsic - "atan2" intrinsic - "bit_size" intrinsic - "btest" intrinsic - "ceiling" intrinsic - "char" intrinsic - "cmplx" intrinsic - "conjg" intrinsic - "cos" intrinsic - "cosh" intrinsic - "count" intrinsic - "cpu_time" intrinsic - "cshift" intrinsic - "date_and_time" intrinsic - "dble" intrinsic - "digits" intrinsic - "dim" intrinsic - "dot_product" intrinsic - "dprod" intrinsic - "eoshift" intrinsic - "epsilon" intrinsic - "exp" intrinsic - "exponent" intrinsic - "false" bool - "floor" intrinsic - "float" intrinsic - "fraction" intrinsic - "huge" intrinsic - "iachar" intrinsic - "iand" intrinsic - "ibclr" intrinsic - "ibits" intrinsic - "ibset" intrinsic - "ichar" intrinsic - "ieor" intrinsic - "index" intrinsic - "int" intrinsic - "int2" intrinsic - "ior" intrinsic - "ishft" intrinsic - "ishftc" intrinsic - "kind" intrinsic - "lbound" intrinsic - "len" intrinsic - "len_trim" intrinsic - "lge" intrinsic - "lgt" intrinsic - "lle" intrinsic - "llt" intrinsic - "log" intrinsic - "log10" intrinsic - "matmul" intrinsic - "max" intrinsic - "maxexponent" intrinsic - "maxloc" intrinsic - "maxval" intrinsic - "merge" intrinsic - "min" intrinsic - "minexponent" intrinsic - "minloc" intrinsic - "minval" intrinsic - "mod" intrinsic - "modulo" intrinsic - "mvbits" intrinsic - "nearest" intrinsic - "nint" intrinsic - "not" intrinsic - "null" intrinsic - "pack" intrinsic - "present" intrinsic - "product" intrinsic - "radix" intrinsic - "random_number" intrinsic - "random_seed" intrinsic - "range" intrinsic - "real" intrinsic - "repeat" intrinsic - "reshape" intrinsic - "rrspacing" intrinsic - "scale" intrinsic - "scan" intrinsic - "selected_int_kind" intrinsic - "selected_real_kind" intrinsic - "set_exponent" intrinsic - "shape" intrinsic - "sign" intrinsic - "sin" intrinsic - "sinh" intrinsic - "size" intrinsic - "spacing" intrinsic - "spread" intrinsic - "sqrt" intrinsic - "sum" intrinsic - "system_clock" intrinsic - "tan" intrinsic - "tanh" intrinsic - "tiny" intrinsic - "transfer" intrinsic - "transpose" intrinsic - "trim" intrinsic - "true" intrinsic - "ubound" intrinsic - "unpack" intrinsic - "verify" intrinsic -done - "a-zA-Z0-9_" ident - " \t" ws_ident hold - - -# Whitespace after an identifier... we wait to see if there is a "(" -:ws_ident Idle - * idle noeat istrings - "allocate" kw - "allocatable" kw - "assign" kw - "assignment" kw - "backspace" kw - "block" kw - "blockdata" kw - "call" kw - "case" label - "character" type - "close" kw - "common" kw - "complex" type - "contains" kw - "continue" loop - "cycle" kw - "data" kw - "deallocate" kw - "default" label - "dimension" type - "do" loop - "double" type - "doubleprecision" type - "elemental" kw - "else" cond - "elseif" cond - "elsewhere" cond - "end" kw - "endblock" kw - "endblockdata" kw - "enddo" loop - "endfile" kw - "endforall" loop - "endif" cond - "endinterface" kw - "endmodule" kw - "endselect" cond - "endtype" kw - "endwhere" kw - "entry" kw - "equivalence" kw - "exit" kw - "external" kw - "forall" loop - "format" kw - "function" kw - "go" loop - "goto" loop - "if" cond - "implicit" kw - "in" kw - "inout" kw - "inquire" kw - "integer" type - "intent" kw - "interface" kw - "intrinsic" kw - "iolength" kw - "kind" kw - "logical" type - "module" kw - "namelist" kw - "none" kw - "nullify" kw - "only" kw - "open" kw - "optional" kw - "out" kw - "parameter" kw - "pause" kw - "pointer" kw - "precision" type - "print" kw - "private" kw - "procedure" kw - "program" kw - "publc" kw - "public" kw - "pure" kw - "read" kw - "real" type - "recursive" kw - "result" kw - "return" kw - "rewind" kw - "save" kw - "select" cond - "selectcase" cond - "sequence" kw - "stat" kw - "stop" kw - "subroutine" kw - "target" kw - "then" cond - "to" loop - "type" kw - "use" kw - "where" kw - "while" loop - "write" kw -done - "(" idle noeat istrings -# Keywords have to be duplicated here... - "allocate" kw - "allocatable" kw - "assign" kw - "assignment" kw - "backspace" kw - "block" kw - "blockdata" kw - "call" kw - "case" label - "character" type - "close" kw - "common" kw - "complex" type - "contains" kw - "continue" loop - "cycle" kw - "data" kw - "deallocate" kw - "default" label - "dimension" type - "do" loop - "double" type - "doubleprecision" type - "elemental" kw - "else" cond - "elseif" cond - "elsewhere" cond - "end" kw - "endblock" kw - "endblockdata" kw - "enddo" loop - "endfile" kw - "endforall" loop - "endif" cond - "endinterface" kw - "endmodule" kw - "endselect" cond - "endtype" kw - "endwhere" kw - "entry" kw - "equivalence" kw - "exit" kw - "external" kw - "forall" loop - "format" kw - "function" kw - "go" loop - "goto" loop - "if" cond - "implicit" kw - "in" kw - "inout" kw - "inquire" kw - "integer" kw - "intent" kw - "interface" kw - "intrinsic" kw - "iolength" kw - "kind" kw - "logical" type - "module" kw - "namelist" kw - "none" kw - "nullify" kw - "only" kw - "open" kw - "optional" kw - "out" kw - "parameter" kw - "pause" kw - "pointer" kw - "precision" type - "print" kw - "private" kw - "procedure" kw - "program" kw - "publc" kw - "public" kw - "pure" kw - "read" kw - "real" type - "recursive" kw - "result" kw - "return" kw - "rewind" kw - "save" kw - "select" cond - "selectcase" cond - "sequence" kw - "stat" kw - "stop" kw - "subroutine" kw - "target" kw - "then" cond - "to" loop - "type" kw - "use" kw - "where" kw - "while" loop - "write" kw -# Here are instrinsics - "abs" intrinsic - "achar" intrinsic - "acos" intrinsic - "adjustl" intrinsic - "adjustr" intrinsic - "aimag" intrinsic - "aint" intrinsic - "all" intrinsic - "allocated" intrinsic - "alog" intrinsic - "alog10" intrinsic - "anint" intrinsic - "any" intrinsic - "asin" intrinsic - "associated" intrinsic - "atan" intrinsic - "atan2" intrinsic - "bit_size" intrinsic - "btest" intrinsic - "ceiling" intrinsic - "char" intrinsic - "cmplx" intrinsic - "conjg" intrinsic - "cos" intrinsic - "cosh" intrinsic - "count" intrinsic - "cpu_time" intrinsic - "cshift" intrinsic - "date_and_time" intrinsic - "dble" intrinsic - "digits" intrinsic - "dim" intrinsic - "dot_product" intrinsic - "dprod" intrinsic - "eoshift" intrinsic - "epsilon" intrinsic - "exp" intrinsic - "exponent" intrinsic - "false" intrinsic - "floor" intrinsic - "float" intrinsic - "fraction" intrinsic - "huge" intrinsic - "iachar" intrinsic - "iand" intrinsic - "ibclr" intrinsic - "ibits" intrinsic - "ibset" intrinsic - "ichar" intrinsic - "ieor" intrinsic - "index" intrinsic - "int" intrinsic - "int2" intrinsic - "ior" intrinsic - "ishft" intrinsic - "ishftc" intrinsic - "kind" intrinsic - "lbound" intrinsic - "len" intrinsic - "len_trim" intrinsic - "lge" intrinsic - "lgt" intrinsic - "lle" intrinsic - "llt" intrinsic - "log" intrinsic - "log10" intrinsic - "matmul" intrinsic - "max" intrinsic - "maxexponent" intrinsic - "maxloc" intrinsic - "maxval" intrinsic - "merge" intrinsic - "min" intrinsic - "minexponent" intrinsic - "minloc" intrinsic - "minval" intrinsic - "mod" intrinsic - "modulo" intrinsic - "mvbits" intrinsic - "nearest" intrinsic - "nint" intrinsic - "not" intrinsic - "null" intrinsic - "pack" intrinsic - "present" intrinsic - "product" intrinsic - "radix" intrinsic - "random_number" intrinsic - "random_seed" intrinsic - "range" intrinsic - "real" intrinsic - "repeat" intrinsic - "reshape" intrinsic - "rrspacing" intrinsic - "scale" intrinsic - "scan" intrinsic - "selected_int_kind" intrinsic - "selected_real_kind" intrinsic - "set_exponent" intrinsic - "shape" intrinsic - "sign" intrinsic - "sin" intrinsic - "sinh" intrinsic - "size" intrinsic - "spacing" intrinsic - "spread" intrinsic - "sqrt" intrinsic - "sum" intrinsic - "system_clock" intrinsic - "tan" intrinsic - "tanh" intrinsic - "tiny" intrinsic - "transfer" intrinsic - "transpose" intrinsic - "trim" intrinsic - "true" bool - "ubound" intrinsic - "unpack" intrinsic - "verify" intrinsic -done - " \t" ws_ident - -:intrinsic Builtin - * idle noeat - -:kw Keyword - * idle noeat - -:type Type - * idle noeat - -:label Label - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat diff --git a/.config/joestar/syntax/git-commit.jsf b/.config/joestar/syntax/git-commit.jsf @@ -1,17 +0,0 @@ -# JOE syntax highlight file for Markdown -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Ignore +Comment - -:line_start Idle - * idle noeat - "#" ignore recolor=-1 - -:idle Idle - * idle - "\n" line_start - -:ignore Ignore - * ignore - "\n" line_start diff --git a/.config/joestar/syntax/go.jsf b/.config/joestar/syntax/go.jsf @@ -1,361 +0,0 @@ -# Google Go (golang) syntax -# (c) 2012 Matthias S. Benkmann -# License: http://creativecommons.org/licenses/by/3.0/deed.en_US - - -=Idle -=Bad -=Comment -=Constant -=Boolean +Constant -=String +Constant -=Character +String -=BackQuoted +String -=StringEscape +Escape -=Number +Constant -=Ident -=DefinedIdent +Ident -=Keyword -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=Label +DefinedIdent -=Structure +Type +Keyword -=Type -=Builtin +DefinedFunction - -=Control -=Brackets +Control -=Brace +Control -=Semicolon +Control -=Comma +Control -=Period +Control -=PeriodDecimal +Period +Number - - -##################### main ######################### -:main Idle - * keyword_or_identifier noeat buffer - " \t" main - "\n" main - "/" maybe_comment recolor=-1 - "'" single_quoted recolor=-1 - "\"" double_quoted recolor=-1 - "`" back_quoted recolor=-1 - "+&=!|*^<>:%-" operator noeat - "()" parentheses noeat - "[]" brackets noeat - "{}" curlies noeat - ";" semicolon noeat - "," comma noeat - "." period - "0" number0 recolor=-1 - "1-9" float recolor=-1 - "#$@~" error noeat - -#################### error ########################## -:error Bad - * error - "\n" main - "/" maybe_comment_err recolor=-1 - -:maybe_comment_err Operator - * error noeat recolor=-2 - "/" line_comment recolor=-2 - "*" block_comment recolor=-2 - -################## comments ######################### -:maybe_comment Operator - * main noeat - "/" line_comment recolor=-2 - "*" block_comment recolor=-2 - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" main - -:block_comment Comment comment - * block_comment - "BFHNTX" block_comment noeat call=comment_todo.comment_todo() - "*" maybe_end_block_comment - -:maybe_end_block_comment Comment comment - * block_comment noeat - "/" main - -################ strings ############################ -:single_quoted Character string - * single_quoted - "'" main - "\\" single_quoted call=.escape() recolor=-1 - "\n" error - -:double_quoted String string - * double_quoted - "\"" main - "\\" double_quoted call=.escape() recolor=-1 - "\n" error - -:back_quoted BackQuoted string - * back_quoted - "`" main - -################### operators ####################### -:operator Operator - * main - -:parentheses Control - * main - -:brackets Brackets - * main - -:curlies Brace - * main - -:semicolon Semicolon - * main - -:comma Comma - * main - -##################### period ####################### - -:period Period - * period_other noeat recolor=-2 - "0-9" period_decimal noeat recolor=-2 - -:period_other Period - * main noeat - -:period_decimal PeriodDecimal - * float_no_period noeat - - -################### numbers #################### -:float_no_period Number - * end_of_number noeat - "0-9" float_no_period - "eE" integer - -:integer Number - * error noeat - "+-" unsigned - "0-9" unsigned_or_end - -:unsigned Number - * error noeat - "0-9" unsigned_or_end - -:unsigned_or_end Number - * end_of_number noeat - "0-9" unsigned_or_end - -:end_of_number Number - * main noeat - "i" main # imaginary number suffix - -:number0 Number - * end_of_number noeat - "xX" hex - "." period_decimal recolor=-1 - # 099i is a valid imaginary number, 099.0 is a valid float, - # but 099 is an invalid octal. - #We don't check for this and simply lump both cases together. - "0-9" float - -:hex Number - * main noeat - "0-9a-fA-F" hex - -:float Number - * end_of_number noeat - "0-9" float - "." period_decimal recolor=-1 - "eE" integer - -################# keywords and identifiers ########################## -:keyword_or_identifier Ident - * identifier - "\p{Lu}\p{Lt}" exported_identifier recolor=-1 - "\p{Ll}\p{Lo}\p{Pc}\p{Nl}" keyword_or_identifier2 - -:exported_identifier DefinedIdent - * exported_identifier - "\x01-/:-@[-^`{-\x7f" main noeat - -:identifier Ident - * identifier - "\x01-/:-@[-^`{-\x7f" main noeat - -:keyword_or_identifier2 Ident - * identifier - "\c" keyword_or_identifier2 - "\x01-/:-@[-^`{-\x7f" main noeat hold strings - "_" keyword - "break" stmt - "default" label - "func" keyword - "interface" struct - "select" cond - "case" label - "defer" stmt - "go" keyword - "struct" struct - "else" cond - "goto" stmt - "package" stmt - "switch" cond - "const" stmt - "fallthrough" keyword - "if" cond - "range" loop - "type" struct - "continue" stmt - "for" loop - "import" stmt - "return" stmt - "var" stmt - - "true" boolean - "false" boolean - "nil" constant - "iota" constant - - "byte" type - "rune" type - "int" type - "uint" type - "uintptr" type - "uint8" type - "uint16" type - "uint32" type - "uint64" type - "int8" type - "int16" type - "int32" type - "int64" type - "float32" type - "float64" type - "complex64" type - "complex128" type - "bool" type - "string" type - "error" type - "map" type - "chan" type - - "delete" builtin - "make" builtin - "len" builtin - "cap" builtin - "new" builtin - "copy" builtin - "append" builtin - "close" builtin - "complex" builtin - "imag" builtin - "panic" builtin - "print" builtin - "println" builtin - "real" builtin - "recover" builtin - done - -:keyword Keyword - * main noeat - -:constant Constant - * main noeat - -:type Type - * main noeat - -:builtin Builtin - * main noeat - -:stmt Statement - * main noeat - -:label Label - * main noeat - -:struct Structure - * main noeat - -:cond Conditional - * main noeat - -:loop Loop - * main noeat - -:boolean Boolean - * main noeat - -########################## .subr escape START ###################################### -.subr escape -:esc StringEscape string - * esc_err noeat - "abfnrtv'\"" whatever return - # For some reason joe doesn't interpret \\ properly if merged with the - # previous case. So create a separate case for it. - "\\" whatever return - "x" hex2 - "u" hex4 - "U" hex8 - "0-3" oct2 - -:hex8 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex7 - -:hex7 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex6 - -:hex6 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex5 - -:hex5 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex4 - -:hex4 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex3 - -:hex3 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex2 - -:hex2 StringEscape string - * esc_err noeat - "a-fA-F0-9" hex1 - -:hex1 StringEscape string - * esc_err noeat - "a-fA-F0-9" whatever return - -:oct2 StringEscape string - * esc_err noeat - "0-7" oct1 - -:oct1 StringEscape string - * esc_err noeat - "0-7" whatever return - -:esc_err Bad - * esc_err return - "\n" esc_err_newline noeat recolor=-2 - -:esc_err_newline Bad - * esc_err return noeat - - -.end -########################## .subr escape END ###################################### - - diff --git a/.config/joestar/syntax/groovy.jsf b/.config/joestar/syntax/groovy.jsf @@ -1,502 +0,0 @@ -# JOE syntax highlight file for Groovy - -=Idle -=Ident -=Comment -=Shebang +Preproc -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=Regex +String -=Escape -=StringEscape +Escape +String -=RegexEscape +StringEscape -=Keyword -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=Structure +Type +Keyword -=Label +DefinedIdent -=StorageClass +Type +Keyword -=Bad -=Brace -=Builtin +DefinedFunction - -:pre_idle Idle - * NULL noeat call=.groovy() - -.subr groovy - -# #! allowed on first line - -:reset Idle - * idle noeat - "#" maybe_shebang - -:maybe_shebang Idle - * idle noeat - "!" shebang recolor=-2 - -:shebang Shebang - * shebang - "\n" idle - -:idle Idle - * idle - "{}" brace recolor=-1 - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." ident_no_kw - "\"" double_quote recolor=-1 - "'" single_quote recolor=-1 - "/" maybe_regex recolor=-1 - "$" not_string buffer - "\i" ident buffer - -# / / regex not allowed after terms - -:after_term Idle - * idle noeat - " \t)" after_term - "/" slash_after_term - -:slash_after_term Idle - * idle noeat - "/" line_comment recolor=-2 - "*" comment recolor=-2 - -:maybe_regex Regex string - * regex noeat - "*" comment recolor=-2 - "/" line_comment recolor=-2 - -:regex Regex string - * regex - "\\" regex_quote recolor=-1 - "/" after_term - "$" maybe_regex_subst recolor=-1 - -:maybe_regex_subst Regex string - * regex noeat - "\i" regex_subst1 recolor=-2 - "{" regex_subst recolor=-2 - -:regex_subst RegexEscape string - * regex_subst - "}" regex - -:regex_subst1 RegexEscape string - * regex noeat - ".\c" regex_subst1 - -:regex_quote RegexEscape string - * regex - -:not_string Idle - * idle noeat - "\c" builtin recolor=-2 - "/" dstring recolor=-2 - -:brace Brace - * idle noeat - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:end_of_file_comment Comment comment - * end_of_file_comment - -:first_digit Number - * after_term noeat - "x" hex - "b" binary - "." float - "eE" epart - "0-7" octal - "89" bad_number recolor=-1 - "gGlLiIdDfF" after_term - -:bad_number Bad - * after_term noeat - "0-9" bad_number - -:octal Number - * after_term noeat - "0-7_" octal - "89" bad_number recolor=-1 - -:binary Number - * after_term noeat - "01_" binary - "2-9" 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 - "gGlLiIdDfF" after_term - -:float Number - * after_term noeat - "eE" epart - "0-9_" float - "gGlLiIdDfF" after_term - -:epart Number - * after_term noeat - "0-9+\-" enum - -:enum Number - * after_term noeat - "0-9_" enum - "gGlLiIdDfF" after_term - -# Distinguish between " and """ - -:double_quote String string - * string noeat - "\"" double_quote_1 - -:double_quote_1 String string - * after_term noeat - "\"" tstring - -# strings like "hello" -# interpolation allowed -# line crossing not allowed - -:string String string - * string - "\"" after_term - "\n" after_term - "\\" string_escape recolor=-1 - "$" maybe_string_subst recolor=-1 - -:maybe_string_subst String string - * string noeat - "\i" string_subst1 recolor=-2 - "{" string_subst recolor=-2 - -:string_subst StringEscape string - * string_subst - "}" string - -:string_subst1 StringEscape string - * string noeat - ".\c" string_subst1 - -:string_escape StringEscape string - * string - "x" string_hex2 - "u" string_hex4 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex4 StringEscape string - * string noeat - "0-9a-fA-F" string_hex3 - -:string_hex3 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string_hex1 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal1 - -:string_octal1 StringEscape string - * string noeat - "0-7" string - -# tstrings like "hello" -# interpolation allowed -# line crossing not allowed - -:tstring String string - * tstring - "\"" tstring_maybe_done - "\\" tstring_escape recolor=-1 - "$" maybe_tstring_subst recolor=-1 - -:tstring_maybe_done String string - * tstring noeat - "\"" tstring_maybe_done_2 - -:tstring_maybe_done_2 String string - * tstring noeat - "\"" after_term - -:maybe_tstring_subst String string - * tstring noeat - "\i" tstring_subst1 recolor=-2 - "{" tstring_subst recolor=-2 - -:tstring_subst StringEscape string - * tstring_subst - "}" tstring - -:tstring_subst1 StringEscape string - * tstring noeat - ".\c" tstring_subst1 - -:tstring_escape StringEscape string - * tstring - "x" tstring_hex2 - "u" tstring_hex4 - "0-7" tstring_octal2 - "\n" tstring recolor=-2 - -:tstring_hex4 StringEscape string - * tstring noeat - "0-9a-fA-F" tstring_hex3 - -:tstring_hex3 StringEscape string - * tstring noeat - "0-9a-fA-F" tstring_hex2 - -:tstring_hex2 StringEscape string - * tstring noeat - "0-9a-fA-F" tstring_hex1 - -:tstring_hex1 StringEscape string - * tstring noeat - "0-9a-fA-F" tstring - -:tstring_octal2 StringEscape string - * tstring noeat - "0-7" tstring_octal1 - -:tstring_octal1 StringEscape string - * tstring noeat - "0-7" tstring - -# strings like: $/sdfsdf/$ -# interpolation allowed - -:dstring String string - * dstring - "$" dstring_esc recolor=-1 - "/" dstring_maybe_done - -:dstring_maybe_done String string - * dstring noeat - "$" after_term - -:dstring_esc StringEscape string - * dstring - "/" dstring_esc_slash - -:dstring_esc_slash StringEscape string - * dstring noeat recolor=-1 - "$" dstring - -:single_quote String string - * char noeat recolor=-1 - "\'" single_quote_1 - -:single_quote_1 String string - * after_term noeat - "\'" tchar - -# strings like 'hello' -# no interpolation -# no line crossing - -:char String string - * char - "\n" after_term - "\'" after_term - "\\" char_escape recolor=-1 - -:char_escape StringEscape string - * char - "x" char_hex2 - "u" char_hex4 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex4 StringEscape string - * char noeat - "0-9a-fA-F" char_hex3 - -:char_hex3 StringEscape string - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 StringEscape string - * char noeat - "0-9a-fA-F" char_hex1 - -:char_hex1 StringEscape string - * char noeat - "0-9a-fA-F" char - -:char_octal2 StringEscape string - * char noeat - "0-7" char_octal1 - -:char_octal1 StringEscape string - * char noeat - "0-7" char - -# strings like 'hello' -# no interpolation -# no line crossing - -:tchar String string - * tchar - "\'" after_term - "\\" tchar_escape recolor=-1 - -:tchar_maybe_done String string - * tchar noeat - "\'" tchar_maybe_done_2 - -:tchar_maybe_done_2 String string - * tchar noeat - "\'" after_term - -:tchar_escape StringEscape string - * tchar - "x" tchar_hex2 - "u" tchar_hex4 - "0-7" tchar_octal2 - "\n" tchar recolor=-2 - -:tchar_hex4 StringEscape string - * tchar noeat - "0-9a-fA-F" tchar_hex3 - -:tchar_hex3 StringEscape string - * tchar noeat - "0-9a-fA-F" tchar_hex2 - -:tchar_hex2 StringEscape string - * tchar noeat - "0-9a-fA-F" tchar_hex1 - -:tchar_hex1 StringEscape string - * tchar noeat - "0-9a-fA-F" tchar - -:tchar_octal2 StringEscape string - * tchar noeat - "0-7" tchar_octal1 - -:tchar_octal1 StringEscape string - * tchar noeat - "0-7" tchar - -:ident_no_kw Ident - * after_term noeat - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "\i" ident_no_kw1 - -:ident_no_kw1 Ident - * after_term noeat - "\c" ident_no_kw1 - -:ident Ident - * after_term noeat strings - "as" operator - "assert" stmt - "break" loop - "case" label - "catch" stmt - "class" struct - "const" storage - "continue" loop - "def" stmt - "default" label - "do" loop - "else" cond - "enum" struct - "extends" struct - "finally" stmt - "for" loop - "goto" loop - "if" cond - "implements" struct - "import" kw - "in" operator - "instanceof" operator - "interface" struct - "new" operator - "package" kw - "return" stmt - "super" kw - "switch" cond - "throw" kw - "throws" struct - "trait" kw - "try" stmt - "while" loop - "true" bool - "false" bool - "null" lit -done - "\c" ident - -:kw Keyword - * idle noeat - -:stmt Statement - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:struct Structure - * idle noeat - -:storage StorageClass - * idle noeat - -:label Label - * idle noeat - -:lit Constant - * idle noeat - -:bool Boolean - * idle noeat - -:operator Operator - * idle noeat - -:builtin Builtin - * idle noeat - "\c" builtin - -.end diff --git a/.config/joestar/syntax/haml.jsf b/.config/joestar/syntax/haml.jsf @@ -1,124 +0,0 @@ -# JOE syntax highlight file for Haml -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Comment -=Constant -=Escape -=Bad -=Brace - -=TagName +Keyword -=TagEnd +Keyword -=Id +DefinedIdent - -=Class +Type -=Doctype +Preproc -=Filter +Operator +Keyword - -:line_start Idle - * idle noeat - # eat indent - " " line_start - "\\" escape_first recolor=-1 - "!" doctype1 - "%" tag recolor=-1 - # implicit <div> - ".#" after_tag noeat - "/" html_comment recolor=-1 - ":" filter recolor=-1 - -:escape_first Constant - * idle_no_ruby - -:idle Constant - * idle_no_ruby - "\n" line_start - "#" maybe_subst - "\\" maybe_subst_escape - "=~-" ruby_call noeat - "&!" maybe_esc_ruby_call - -:idle_no_ruby Constant - * idle_no_ruby - "\n" line_start - "#" maybe_subst - "\\" maybe_subst_escape - -:doctype1 Idle - * idle recolor=-2 - "=" esc_ruby_call recolor=-2 - "!" doctype2 - -:doctype2 Idle - * idle recolor=-3 - "!" doctype3 recolor=-3 - -:doctype3 Doctype - * doctype3 - "\n" line_start - -:tag TagName - * idle noeat - "a-zA-Z0-9_-" tag - ".#{(/" after_tag noeat - -:after_tag Idle - * idle noeat - "." class recolor=-1 - "#" id recolor=-1 - "{" attrA - "(" attrB - "/" tag_close recolor=-1 - -:class Class - * after_tag noeat - "a-zA-Z0-9_-" class - -:id Id - * after_tag noeat - "a-zA-Z0-9_-" id - -:attrA Idle - * attrA - "}" after_tag - -:attrB Idle - * attrB - ")" after_tag - -:tag_close TagEnd - * idle noeat - -:html_comment Comment comment - * html_comment - "\n" line_start - -:ruby_call Idle - * line_start call=ruby.ruby(haml) - -:maybe_esc_ruby_call Constant - * idle_no_ruby - "=" esc_ruby_call recolor=-2 - -:esc_ruby_call Idle - * line_start call=ruby.ruby(haml) - "=" esc_ruby_call2 - -:esc_ruby_call2 Idle - * line_start call=ruby.ruby(haml) - -:maybe_subst Constant - * idle_no_ruby - "{" subst recolor=-2 - -:subst Escape - * subst - "}" idle_no_ruby - -:maybe_subst_escape Constant - * idle_no_ruby - -:filter Filter - * idle - "a-zA-Z0-9_" filter diff --git a/.config/joestar/syntax/haskell.jsf b/.config/joestar/syntax/haskell.jsf @@ -1,445 +0,0 @@ -# JOE syntax highlight file for Haskell - -=Idle -=Comment -=Keyword -=Statement +Keyword -=Conditional +Statement +Keyword -=Structure +Type +Keyword -=Bad -=Constant -=Number +Constant -=FloatNumber +Number -=DecNumber +Number -=HexNumber +Number -=OctNumber +Number -=String +Constant -=StringEscape +Escape +String -=Character +String -=CharacterEscape +StringEscape - -=StringGap -=Special +Escape -=ModId +Type -=VarId +Ident -=ConId +Ident -=VarSym +Operator -=Pragma +Preproc - -:reset Idle - * reset - "a-z_" varid buffer recolor=-1 - "A-Z" conormodid mark recolor=-1 - ":" consym buffer recolor=-1 - "!#$%&*+./<=>?@\\^|~" varsym buffer recolor=-1 - "-" dashorvarsym mark buffer recolor=-1 - "(),;[]`}" special recolor=-1 - "{" specialorncomment recolor=-1 - "0-9" integerstart mark noeat - "\'" charlit recolor=-1 - "\"" strlit recolor=-1 - -:special Special - * reset noeat - -:specialorncomment Special - * reset noeat - "-" ncommentstart recolor=-2 - -:ncommentstart Comment comment - * reset noeat call=.comment() - "#" pragma recolor=-3 - -.subr comment - -:ncomment Comment comment - * ncomment - "BFHNTX" ncomment noeat call=comment_todo.comment_todo() - "-" ncommentmaybeend - "{" ncommentmaybenest - -:ncommentmaybeend Comment comment - * ncomment noeat - "}" ncomment return - -:ncommentmaybenest Comment comment - * ncomment noeat - "-" ncomment call=.comment() - -.end - -:pragma Pragma - * pragma - "#" pragmamaybeend1 - "-" pragmamaybebadend - -:pragmamaybeend1 Pragma - * pragma noeat - "-" pragmamaybeend2 - -:pragmamaybeend2 Pragma - * pragma noeat - "}" reset - -:pragmamaybebadend Bad - * pragma noeat - "}" errorstate recolor=-2 - -:errorstate Bad - * reset - -:conormodid ConId - * reset noeat - "." probablymodid recolor=-1 - "a-zA-Z0-9'_" conormodid - -# give it color varid to color the dot in case it is *not* a modid in the -# right color -:probablymodid VarSym - * ismodid noeat recolormark recolor=-1 - " \t\r\n\v\f" reset - -:ismodid ModId - * reset noeat - -:varid VarId - * reset noeat strings - "case" stmt - "class" struct - "data" struct - "default" struct - "deriving" struct - "do" stmt - "else" cond - "if" cond - "import" kw - "infix" struct - "infixl" struct - "infixr" struct - "instance" struct - "let" stmt - "module" struct - "newtype" kw - "of" stmt - "then" cond - "type" kw - "where" struct - "_" kw -done - "a-zA-Z0-9_'" varid - -:kw Keyword - * reset noeat - -:cond Conditional - * reset noeat - -:struct Structure - * reset noeat - -:stmt Statement - * reset noeat - -:consym ConId - * reset noeat strings - ":" kw - "::" kw -done - "-!#$%&*+./<=>?@\\^|~:" consym - -:varsym VarSym - * reset noeat strings - ".." kw - "=" kw - "\\" kw - "|" kw - "<-" kw - "->" kw - "@" kw - "~" kw -done - "-!#$%&*+./<=>?@\\^|~:" varsym - -:dashorvarsym VarSym - * varsym noeat - "-" dashdash hold - -:dashdash VarSym - * linecomment recolormark noeat - "!#$%&*+./<=>?@\\^|~:" varsym - "-" dashdash - -:linecomment Comment comment - * linecomment - "BFHNTX" linecomment noeat call=comment_todo.comment_todo() - "\n" reset - -:integerstart DecNumber - * decnum - "0" intdispatch - -:decnum DecNumber - * reset noeat - "." floatmaybemant - "e" floatexponentstart - "0-9" decnum - -:intdispatch DecNumber - * decnum noeat - "oO" octstart - "xX" hexstart - -# Catch "0o " which is "integer 0" "symbol o" "whitespace" -# and "0oo" which is "integer 0" "symbol oo" -:octstart OctNumber - * varid noeat recolor=-2 - "0-7" octint recolor=-3 - -# Catch "0o08" which is "(octal) integer 0" "integer 8" -:octint OctNumber - * reset noeat - "0-7" octint - -:hexstart HexNumber - * varid noeat recolor=-2 - "0-9a-fA-F" hexint recolor=-3 - -:hexint HexNumber - * reset noeat - "0-9a-fA-F" hexint - -# default jumps to varsym because the dot that sent us here is the first -# char of a symbol. -:floatmaybemant FloatNumber - * varsym noeat recolor=-2 - "0-9" floatmantissa recolormark - -:floatmantissa FloatNumber - * reset noeat - "0-9" floatmantissa - "eE" floatexponentstart - -# after an 'e' -# default jump is for identifiers starting with e directly pasted to a -# number -# recolormark is needed in the case we got here from decnum -:floatexponentstart FloatNumber - * varid noeat recolor=-2 - "+-" floatexponentstart2 - "0-9" floatexponent recolormark - -# in case of non-digit: -# the e is a one-char-identifier, the + or - is the start of a symbol -:floatexponentstart2 FloatNumber - * unrollfloat noeat recolor=-3 - "0-9" floatexponent recolormark - -:floatexponent FloatNumber - * reset noeat - "0-9" floatexponent - -# the error is just for testing... -:unrollfloat VarId - * varsym noeat recolor=-2 - -:charlit Character string - * charlitend - "\n" errorstate noeat recolor=-2 - "\'" errorstate noeat recolor=-2 - "\\" escape_charlit mark recolor=-1 - -:charlitend Character string - * charliterror noeat - "\'" reset - -:escape_charlit CharacterEscape string - * charliterror recolor=-2 - "0-9" escdecchar - "o" escoctcharstart - "x" eschexcharstart - "abfnrtv\\\"\'" charlitend - "A-Z" escasciichar buffer - "^" escasciictrlchar - -:escoctcharstart CharacterEscape string - * charliterror recolor=-3 noeat - "0-7" escoctchar - -:escoctchar CharacterEscape string - * charlitend noeat - "0-7" escoctchar - -:escdecchar CharacterEscape string - * charlitend noeat - "0-9" escdecchar - -:eschexcharstart CharacterEscape string - * charliterror recolor=-3 noeat - "0-9a-fA-F" eschexchar - -:eschexchar CharacterEscape string - * charlitend noeat - "0-9a-fA-F" eschexchar - -:escascnotfoundchar CharacterEscape string - * charliterror recolormark noeat - "A-Z" escasciichar - -:escasciichar CharacterEscape string - * charliterror recolormark - "A-Z'" escascnotfoundchar noeat strings - "NUL" asciidonechar - "STX" asciidonechar - "ETX" asciidonechar - "EOT" asciidonechar - "ENQ" asciidonechar - "ACK" asciidonechar - "BEL" asciidonechar - "BS" asciidonechar - "HT" asciidonechar - "LF" asciidonechar - "VT" asciidonechar - "FF" asciidonechar - "CR" asciidonechar - "SO" asciiSOchar - "SI" asciidonechar - "DLE" asciidonechar - "DC1" asciidonechar - "DC2" asciidonechar - "DC3" asciidonechar - "DC4" asciidonechar - "NAK" asciidonechar - "SYN" asciidonechar - "ETB" asciidonechar - "CAN" asciidonechar - "EM" asciidonechar - "SUB" asciidonechar - "ESC" asciidonechar - "FS" asciidonechar - "GS" asciidonechar - "RS" asciidonechar - "US" asciidonechar - "SP" asciidonechar - "DEL" asciidonechar -done - -:asciiSOchar CharacterEscape string - * charliterror recolormark - "'" charlitend noeat - "H" charlitend - -:escasciictrlchar CharacterEscape string - * charliterror noeat recolor=-3 - "A-Z@[\\]^_" charlitend - -:asciidonechar CharacterEscape string - * charlitend noeat - -:charliterror Bad - * charliterror - "\'" charlitend noeat - -# now for string literals - -:strlit String string - * strlit - "\"" reset - "\n" errorstate noeat recolor=-2 - "\\" escape_strlit mark recolor=-1 - -:escape_strlit StringEscape string - * strliterror recolor=-2 - "0-9" escdecstr - "o" escoctstrstart - "x" eschexstrstart - "abfnrtv\\\"\'&" strlit - "A-Z" escasciistr buffer - "^" escasciictrlstr - " \t\n\r\v" stringgap recolor=-2 - -:escoctstrstart StringEscape string - * strliterror recolor=-3 noeat - "0-7" escoctstr - -:escoctstr StringEscape string - * strlit noeat - "0-7" escoctstr - -:escdecstr StringEscape string - * strlit noeat - "0-9" escdecstr - -:eschexstrstart StringEscape string - * strliterror recolor=-3 noeat - "0-9a-fA-F" eschexstr - -:eschexstr StringEscape string - * strlit noeat - "0-9a-fA-F" eschexstr - -:escascnotfoundstr StringEscape string - * strliterror recolormark noeat - "A-Z" escasciistr - -:escasciistr StringEscape string - * strliterror noeat recolormark - "A-Z\"" escascnotfoundstr noeat strings - "NUL" asciidonestr - "STX" asciidonestr - "ETX" asciidonestr - "EOT" asciidonestr - "ENQ" asciidonestr - "ACK" asciidonestr - "BEL" asciidonestr - "BS" asciidonestr - "HT" asciidonestr - "LF" asciidonestr - "VT" asciidonestr - "FF" asciidonestr - "CR" asciidonestr - "SO" asciiSOstr - "SI" asciidonestr - "DLE" asciidonestr - "DC1" asciidonestr - "DC2" asciidonestr - "DC3" asciidonestr - "DC4" asciidonestr - "NAK" asciidonestr - "SYN" asciidonestr - "ETB" asciidonestr - "CAN" asciidonestr - "EM" asciidonestr - "SUB" asciidonestr - "ESC" asciidonestr - "FS" asciidonestr - "GS" asciidonestr - "RS" asciidonestr - "US" asciidonestr - "SP" asciidonestr - "DEL" asciidonestr -done - -:asciiSOstr StringEscape string - * strlit noeat - "H" strlit - -:escasciictrlstr StringEscape string - * strliterror noeat recolor=-3 - "A-Z@[\\]^_" strlit - -:asciidonestr StringEscape string - * strlit noeat - -:stringgap StringGap string - * strgaperror recolor=-1 - "\\" strlit - " \n\r\t\v" stringgap - -:strgaperror Bad - * strgaperror - "\\" strlit - "\"" reset - -:strliterror Bad - * strlit noeat - diff --git a/.config/joestar/syntax/html.jsf b/.config/joestar/syntax/html.jsf @@ -1,1358 +0,0 @@ -# JOE syntax highlight file for HTML - -# -# Note: -# * <script>..</script> and <style>..</style> -# blocks are assumed to be html-encoded, not raw. -# To make them raw, you should enclose them within <!-- -->. -# -# * "#" 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 -=Idle -=Tag +DefinedFunction +DefinedIdent -=TagName +Tag -=TagEnd +Tag -=TagScript +TagName -=Attr +Type -=TagDelim +Attr -=Constant -=Comment -=CommentEdge +Comment -=Entity +Escape -=Bad -=SGMLTag +Statement +Keyword - -=PIStart +Preproc +Tag -=PIBody +Comment -=PIEnd +Preproc +Tag - -# Call HTML highlighter subroutine - -:first Idle - * call_failed noeat call=.html() - -:call_failed Bad - * call_failed - -# -# HTML highlighter as a subroutine -# - -.subr html - -:reset Idle - * idle noeat -.ifdef mason - "%" reset call=perl.perl(mason_line) -.endif - -# Rules -:idle Idle - * idle - "\n" reset - "<" tag_begin recolor=-1 - "&" idle call=.entity() recolor=-1 -:mistake_idle Bad - * idle noeat - -# Tags -:tag_begin Tag - * tag_name_first buffer noeat recolor=-1 - "/" end_tag recolor=-2 -.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 Tag - * idle noeat - -:maybe_erb_eq Tag - * rtn_php noeat call=ruby.ruby(erb) - "=" rtn_php call=ruby.ruby(erb) - -:tag_name_first Bad - * tag_idle noeat - "-A-Za-z0-9._:" tag_name recolor=-1 - -:end_tag TagEnd - "-A-Za-z0-9._: \t" end_tag - ">" idle - * mistake_idle - -:tag_name TagName - * tag_idle noeat strings - "script" stag_enter_idle - "style" ytag_enter_idle -done - "-A-Za-z0-9._:" tag_name - -:tag_idle Idle - * 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 Bad - * tag_idle - "?" tag_call_php recolor=-2 - -:tag_call_php Tag - * rtn_php_tag noeat call=php.php() - -:rtn_php_tag Tag - * tag_idle noeat - -:tag_param Attr - * 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 Constant - * tag_idle noeat recolor=-1 - "-A-Za-z0-9._:" tag_value - -:tag_end Tag - * idle - -:mistake_tag Bad - * tag_idle noeat - -# We're about to enter a script... - -:stag_enter_idle TagScript - * stag_idle noeat - -:stag_idle Idle - * 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 Attr - * 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 Constant - * stag_idle noeat recolor=-1 - "-A-Za-z0-9._:" stag_value - -:stag_end Tag -.ifdef php - * tag_begin call=js.js(php) -.else - * tag_begin call=js.js(html) -.endif - -:stag_done Tag - * tag_name_first buffer noeat - -:smistake_tag Bad - * stag_idle noeat - -# We're about to entry a script... - -:ytag_enter_idle TagName - * ytag_idle noeat - -:ytag_idle Idle - * 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 Attr - * 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 Constant - * ytag_idle noeat recolor=-1 - "-A-Za-z0-9._:" ytag_value - -:ytag_end Tag -.ifdef php - * tag_begin call=css.css(php) -.else - * tag_begin call=css.css() -.endif - -:ytag_done Tag - * tag_name_first buffer noeat - -:ymistake_tag Bad - * ytag_idle noeat - -# SGML and comments -:sgml_tag SGMLTag - * sgml_tag - "-" sgml_tag_maybe_comment - ">" idle -:sgml_tag_maybe_comment SGMLTag - * sgml_tag - "-" sgml_tag_comment recolor=-4 -:sgml_tag_comment Comment comment - * sgml_tag_comment - "-" sgml_tag_maybe_comment_end - "BFHNTX" sgml_tag_comment noeat call=comment_todo.comment_todo() -:sgml_tag_maybe_comment_end Comment comment - * sgml_tag_comment - "-" sgml_tag_end_comment -:sgml_tag_end_comment Comment comment - ">" idle - -# XML processing info -:xml_pi PIStart - * xml_pi_body noeat -:xml_pi_body PIBody - * xml_pi - "?" xml_pi_maybe_end -:xml_pi_maybe_end PIBody - * xml_pi - "?" xml_pi_maybe_end - ">" xml_pi_end noeat recolor=-2 -:xml_pi_end PIEnd - * idle - -.end - -# -# Quoted string tag values -# - -.subr tag_value_quoted - -:tag_value_quoted Constant - * 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 Constant - * tag_value_quoted noeat - "?" tag_value_call_php recolor=-2 - -:tag_value_call_php Tag - * tag_value_rtn_php noeat call=php.php() - -:tag_value_rtn_php Tag - * 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 Bad - * 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 Bad - * 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 Bad - * idle noeat - -.end diff --git a/.config/joestar/syntax/htmlerb.jsf b/.config/joestar/syntax/htmlerb.jsf @@ -1,7 +0,0 @@ -# JOE syntax highlight file for HTML embedded ERB -# by Christian Nicolai (http://mycrobase.de) - -=Idle - -:begin Idle - * NULL noeat call=html.html(erb) diff --git a/.config/joestar/syntax/ini.jsf b/.config/joestar/syntax/ini.jsf @@ -1,79 +0,0 @@ -# JOE syntax highlight file for INI files -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Comment -=Escape -=Bad -=Value # Maybe should be +Constant but it's too colorful. - -=Attr +Type -=Key +Attr -=Separator +Attr -=Section +Preproc - -:line_start Idle - * key noeat - "\n" line_start - " \t\r" line_start # leading spaces - ";#" line_comment recolor=-1 - "[" section recolor=-1 - "=" missing_key recolor=-1 - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" line_start - -:section Section - * section - "]" section_end - "\n" section_unexp_end recolor=-2 - -:section_end Bad - * section_end - "\n" line_start - -:section_unexp_end Bad - * line_start noeat - -:missing_key Bad - * value_pre noeat - -:key Key - * key - " \t\r" key_post noeat - "=" sep recolor=-1 - "\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 Value - * value - "\\" value_esc - "\n" line_start - " " maybe_comment recolor=-1 - -:value_esc Escape - * value - "\n" value_error recolor=-2 - -:value_error Bad - * value noeat - -:maybe_comment Idle - * value noeat - ";#" line_comment recolor=-1 diff --git a/.config/joestar/syntax/iptables.jsf b/.config/joestar/syntax/iptables.jsf @@ -1,129 +0,0 @@ -# JOE syntax highlight file for ip(6)tables-save and -restore -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Comment -=Constant -=Escape -=Bad - -=Table +Preproc -=Policy +Keyword -=Option +Type -=Module +DefinedIdent - -: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 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/.config/joestar/syntax/java.jsf b/.config/joestar/syntax/java.jsf @@ -1,311 +0,0 @@ -# JOE syntax highlight file for JAVA - -# Needs: improve escape parsing - -=Idle -=Ident -=Comment -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=Character +String -=Escape -=StringEscape +Escape +String -=CharacterEscape +StringEscape -=Type -=Keyword -=Operator +Keyword -=Bad -=Brace -=Control -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=Structure +Type +Keyword -=StorageClass +Type +Keyword -=Include +Preproc -=Label +DefinedIdent - -=Methods +DefinedFunction +DefinedIdent +Ident - -: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 - "\i\p{Sc}" 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 - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "u" string_uni1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_uni1 StringEscape string - * string noeat - "0-9a-fA-F" string_uni2 - -:string_uni2 StringEscape string - * string noeat - "0-9a-fA-F" string_uni3 - -:string_uni3 StringEscape string - * string noeat - "0-9a-fA-F" string_uni4 - -:string_uni4 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\n" reset - "diouxXeEfFgGaAcspn%SC" string - -:char Character string - * char - "\n" reset - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape string - * char - "u" char_uni1 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_uni1 CharacterEscape string - * char noeat - "0-9a-fA-F" char_uni2 - -:char_uni2 CharacterEscape string - * char noeat - "0-9a-fA-F" char_uni3 - -:char_uni3 CharacterEscape string - * char noeat - "0-9a-fA-F" char_uni4 - -:char_uni4 CharacterEscape string - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape string - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char noeat - "0-7" char - -:ident Ident - * ident_end noeat markend strings - "abstract" storage - "assert" stmt - "boolean" type - "break" loop - "byte" type - "case" label - "catch" kw - "char" type - "class" struct - "const" bad_kw - "continue" loop - "default" label - "do" loop - "double" type - "else" cond - "enum" storage - "extends" storage - "false" bool - "final" storage - "finally" kw - "float" type - "for" loop - "goto" bad_kw - "if" cond - "implements" storage - "import" include - "instanceof" operator - "int" type - "interface" struct - "long" type - "native" include - "new" operator - "null" lit - "package" include - "private" storage - "protected" storage - "public" storage - "return" stmt - "serializable" storage - "short" type - "static" storage - "strictfp" storage - "super" kw - "switch" cond - "synchronized" storage - "this" kw - "throw" stmt - "throws" storage - "transient" storage - "true" bool - "try" kw - "void" kw - "volatile" storage - "while" loop -done - "\c\p{Sc}" ident - -:type Type - * idle noeat - -:kw Keyword - * idle noeat - -:bad_kw Bad - * idle noeat - -:bool Boolean - * idle noeat - -:lit Constant - * idle noeat - -:operator Operator - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:storage StorageClass - * idle noeat - -:struct Structure - * idle noeat - -:include Include - * idle noeat - -:stmt Statement - * idle noeat - -:label Label - * idle noeat - -:ident_end Ident - * idle noeat - " " ident_end - "(" method_end noeat recolormark - -:method_end Methods - * idle noeat - -.end diff --git a/.config/joestar/syntax/jcf.jsf b/.config/joestar/syntax/jcf.jsf @@ -1,86 +0,0 @@ -# JOE syntax highlight file for Joe Colors - -=Idle -=Comment -=Preproc -=Define +DefinedIdent -=ColorSection +Preproc -=BuiltinSpec +Keyword -=ColorAttr +Keyword -=ColorDef +Type -=ColorRef +Type -=Constant -=Number +Constant -=Operator -=Macro +Variable +Escape - -:idle Idle - * idle - "#" comment recolor=-1 - "0-9" number recolor=-1 - "$" hex_color recolor=-1 - "*" asterisk recolor=-1 - "=" color_def recolor=-1 - "+" color_ref recolor=-1 - "." pre recolor=-1 buffer - "/" slash recolor=-1 - "-" builtin recolor=-1 - "[" macro_ref recolor=-1 - "a-zA-Z" attribute recolor=-1 - -:comment Comment comment - * comment - "\n" idle - -:number Number - * idle noeat - "0-9" number - -:hex_color Number - * idle noeat - "0-9a-fA-F" hex_color - -:asterisk Operator - * idle noeat - -:slash Operator - * idle noeat - -:color_def ColorDef - * idle noeat - "\c." color_def - -:color_ref ColorRef - * idle noeat - "\c." color_ref - -:pre Preproc - * idle noeat strings - ".colors" color_section - ".set" macro_def -done - "\c" pre - -:color_section ColorSection - * idle noeat - -:macro_def Preproc - * idle - " \t" macro_def - "\i" macro_name noeat - -:macro_name Define - * idle - "\i\c" macro_name - -:macro_ref Macro - * macro_ref - "\n]" idle - -:builtin BuiltinSpec - * idle noeat - "\c" builtin - -:attribute ColorAttr - * idle noeat - "a-zA-Z" attribute diff --git a/.config/joestar/syntax/joerc.jsf b/.config/joestar/syntax/joerc.jsf @@ -1,122 +0,0 @@ -# JOE syntax highlight file for typical UNIX configuration files - -=Idle -=Comment -=Constant -=Number +Constant -=String +Constant -=Escape -=Bad - -:idle Idle - * not_comment - "\n" idle - " " comment - "-" option - "\"" keybind_string recolor=-1 - "\i" keybind - -:keybind Idle - * keybind - "\"" keybind_string recolor=-1 - "\n" idle - "," keybind_after_comma - " " keybind1 - -:keybind_after_comma Idle - * keybind noeat - " " keybind_after_comma - "\n" keybind_after_comma - -:keybind_string String string - * keybind_string - "\\" keybind_escape recolor=-1 - "\"" keybind - -:keybind_escape Escape - * keybind_string - -:keybind1 Idle - * keybind2 - "\n" idle - " " keybind1 - -:keybind2 Idle - * keybind2 - "\n" idle - " " comment noeat - " " maybe_com - -:maybe_com Idle - * keybind2 noeat - " " comment noeat - -:option Idle - * bad recolor=-1 - "-" option - "\i" ident buffer - -:ident Idle - * comment noeat strings - "backpath" sopt - "lines" nopt - "baud" nopt - "columns" nopt - "skiptop" nopt - "text_color" sopt - "status_color" sopt - "help_color" sopt - "menu_color" sopt - "prompt_color" sopt - "msg_color" sopt - "lmsg" sopt - "rmsg" sopt - "smsg" sopt - "zmsg" sopt - "xmsg" sopt - "aborthint" sopt - "helphint" sopt - "cpara" sopt - "encoding" sopt - "syntax" sopt - "indentc" nopt - "istep" nopt - "lmargin" nopt - "rmargin" nopt - "keymap" sopt - "mfirst" sopt - "mnew" sopt - "mold" sopt - "msnew" sopt - "msold" sopt - "text_delimiters" sopt -done - "\c" ident - -:sopt Idle - * dosopt # Do eat the space - -:dosopt String string - * dosopt - "\n" idle - -:nopt Idle - * bad recolor=-1 - " \t" nopt - "0-9" nopt1 recolor=-1 - -:nopt1 Number - * comment noeat - "0-9" nopt1 - -:bad Bad - * bad - "\n" idle - -:comment Comment comment - * comment - "\n" idle - -:not_comment Idle - * not_comment - "\n" idle diff --git a/.config/joestar/syntax/js.jsf b/.config/joestar/syntax/js.jsf @@ -1,704 +0,0 @@ -# JOE syntax highlight file for JavaScript -# by Christian Nicolai (http://mycrobase.de) and Rebecca Turner - -# Define colors - -=Idle -=Comment -=Constant -=String +Constant -=StringEscape +Escape -=Regex +String -=RegexEscape +StringEscape -=RegexOptions -=Number +Constant -=Type -=CustomType +DefinedType +DefinedIdent -=Keyword -=Global -=Exports -=ExportItem -=Operator -=Bad -=Brace -=Assign -=Paren -=Bracket -=Semicolon -=Comma -=PropSep -=Syntax -=Ident -=Method +Ident - -# from html.jsf to support embedded languages -=TagEdge - -:begin Idle - * begin noeat call=.js() - "#" shebang recolor=-1 - -:shebang Comment 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 - "\"" after_term call=.string() recolor=-1 save_c - "'" after_term call=.string() recolor=-1 save_c - "`" after_term call=.string(template) recolor=-1 - "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 -.ifdef typescript - "\"'A-Za-z_0-9" idle noeat -.else - "a-z" infix_operator buffer recolor=-1 - "\"'A-Z_0-9" bad_after_term recolor=-1 -.endif - "{}" 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 - * comment - # might be TODO label - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - # might be TODO label - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:regex Regex - * regex - "\\" regex_quote recolor=-1 - "[" regex_charclass - "/" regex_mod - "\n" regex_bad - -:regex_quote RegexEscape - * regex - "\n" regex_bad - -:regex_charclass Regex - * regex_charclass - "\\" regex_cc_quote recolor=-1 - "\n" regex_bad_cc - "]" regex - -:regex_cc_quote RegexEscape - * 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 RegexOptions - * 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 -.ifdef typescript - "." ellipsis recolor=-2 -.endif - "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 - -:infix_operator Bad - * bad_op noeat markend strings - "in" operator - "instanceof" operator - "of" operator -done - "a-zA-Z0-9_" infix_operator - -.ifdef typescript -:ellipsis Idle - * bad_after_term recolor=-3 - "." ident_only -.endif - -: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 - -.ifdef typescript - -: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 - "of" kw - "return" kw - "switch" kw - "throw" kw - "try" kw - "var" kw - "void" kw - "while" kw - "with" kw - "false" lit - "null" lit - "true" lit - "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 - "const" kw - # By convention... - "self" quasikw - - # Typescript-specific - "abstract" kw - "as" kw - "async" kw - "await" kw - "class" kw - "constructor" kw - "declare" kw - "enum" kw - "extends" kw - "export" kw - "from" kw - "get" kw - "implements" kw - "import" kw - "instanceof" kw - "interface" kw - "is" kw - "module" kw - "namespace" kw - "private" kw - "public" kw - "require" kw - "set" kw - "static" kw - "super" kw - "typeof" kw - - "any" type - "boolean" type - "number" type - "string" type - -done - "$a-zA-Z0-9_" ident - -.else - -: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 - "of" kw - "return" kw - "switch" kw - "throw" kw - "try" kw - "var" kw - "void" kw - "while" kw - "with" kw - "false" lit - "null" lit - "true" lit - "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 - "const" kw - # By convention... - "self" quasikw -done - "$a-zA-Z0-9_" ident - -.endif - -: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 string - -:string String string - * string_body noeat mark - -:string_body String string - * string - "\n" string_bad -.ifdef template - "$" string_template - "`" after_term return # save_c saves ` as ' (by-design) -.else - & after_term return -.endif - "\\" string_escape recolor=-1 - -:string_bad Bad - * string_bad - "\\" string_bad_escape -.ifdef template - "`" after_term return -.else - & after_term return -.endif - -:string_bad_escape Bad - * string_bad - -:string_template StringEscape string - * string_bad - "{" string_template_expr - -:string_template_expr Type - * string_template_expr -.ifdef template - "`" string_body noeat -.else - & string_body noeat -.endif - "}" string_template_end noeat - -:string_template_end StringEscape string - * string - -:string_escape StringEscape string - * string - "x" string_hex1 - "u" string_uni1 - "0-7" string_octal2 - "\n" string_bad noeat - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_uni1 StringEscape string - * string noeat - "{" string_uni_brackets - "0-9a-fA-F" string_uni2 - -:string_uni2 StringEscape string - * string noeat - "0-9a-fA-F" string_uni3 - -:string_uni3 StringEscape string - * string noeat - "0-9a-fA-F" string_uni4 - -:string_uni4 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_uni_brackets StringEscape string - * string_bad_escape noeat -.ifdef template - "`" string noeat -.else - & string noeat -.endif - "}" string - "0-9a-fA-F" string_uni_brackets - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -.end - diff --git a/.config/joestar/syntax/jsf.jsf b/.config/joestar/syntax/jsf.jsf @@ -1,627 +0,0 @@ -# JOE Syntax-Highlighting Description -# for -# JOE Syntax-Highlighting Descriptions -# -# Author: Charles J. Tabony -# Date: 2007-2-13 -# -# This is a highlighting description for files like this one. -# -# When CHECKING is defined, it is very aggressive about error checking. The -# idea is that anywhere the highlighted file contains a syntax error, at least -# one visible character should be highlighted as Bad. While that feature is -# useful for finding syntax errors, it is annoying when editing a file, since -# nearly everything is an error until you finish typing it. -# -# In order to not annoy people by default, but keep the option of strictly -# checking syntax, I predicated the stricter checking on the CHECKING parameter. -# By default, things that are incomplete are generally not marked as errors. -# Only things that appear to be actual mistakes are highlighted as Bad. To -# enable the stricter checking, one can highlight the file with the jsf_check -# syntax. jsf_check.jsf simply calls the entire jsf.jsf file with CHECKING -# defined. -# -# The idea is for authors of a jsf file to edit their file, highlight it with -# jsf_check, and then look for any red characters. That way they can check for -# syntax errors before testing the changes. - - - - -##################### -# Color Definitions # -##################### - -=Idle -=Comment -=Conditional +Precond +Preproc -=Parameter +Ident -=Keyword -=Color +Type -=ColorRef -=State +Ident -=Subr +Ident -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape +String -=Bad - - - - -################## -# Initial States # -################## - -# This is a dummy state that simply jumps to comment_or_bad. It is here so that -# when this file calls itself with the STRINGS parameter defined, comment_or_bad -# will effectively be the initial state. comment_or_bad should be the initial -# state because strings and istrings options can only be used as the last option -# of a transition. -.ifdef STRINGS -:strings_initial Idle - * comment_or_bad noeat -.endif - -# Each new line (that is not considered bad from the beginning) begins in the -# idle state. The first non-whitespace character determines what the rest of -# the line should contain. Following a strings or istrings option, only strings -# and comments are allowed until the word "done" denotes the end of the list. -:idle Idle - * bad noeat - " \t\n" idle -.ifdef STRINGS -.else - "-" sync_lines_first - "." conditional_first mark recolor=-1 - "=" color_definition_first - ":" state_first - "*&%" special_character recolor=-1 -.endif - "\"" string recolor=-1 -.ifdef STRINGS - "\i" special_word mark recolor=-1 buffer -.endif - "#" comment recolor=-1 - - -############## -# Sync Lines # -############## - -# Following a '-' should be either the number of sync lines or nothing (meaning -# unlimited). Nothing else other than a comment should appear on the same line. -.ifdef STRINGS -# A sync lines directive should not appear between "[i]strings" and "done". -.else -# If we see a non-digit or a '0', then we have seen the entire sync lines -# directive. The only thing that may appear on the rest of the line is a -# comment. Otherwise there may be more digits in the number. -:sync_lines_first Number - * comment_or_bad noeat - "0" comment_or_bad - "1-9" sync_lines - -# Highlight the remainder of the number. -:sync_lines Number - * comment_or_bad noeat - "0-9" sync_lines -.endif - - -########################## -# Conditional Directives # -########################## - -# Following a '.' should be a conditional directive. -.ifdef STRINGS -# A conditional directive should not appear between "[i]strings" and "done". -.else -# Start buffering the conditional directive. -:conditional_first Conditional - * conditional noeat buffer - -# Recognize the set of conditional directives. -:conditional Idle - * conditional_unknown noeat strings - "ifdef" ifdef_color - "else" conditional_color - "endif" conditional_color - "subr" subr_color - "end" conditional_color - done - "\c" conditional - -# We encountered what looks like a conditional directive but is unrecognized as -# such. -:conditional_unknown Idle -.ifdef CHECKING - * bad_line recolormark noeat -.else - * comment_or_bad noeat -.endif - -# We saw a conditional directive that does not take an argument. Nothing else -# other than a comment should appear on the same line. -:conditional_color Conditional - * comment_or_bad noeat - -# We saw a ".ifdef" which must be followed by a parameter. -:ifdef_color Conditional - * need_parameter noeat - -# We loop over whitespace until we see the first character of the parameter. -:need_parameter Idle - * bad noeat - " \t" need_parameter - "\i" parameter recolor=-1 - -# Now we highlight the remainder of the parameter. -:parameter Parameter - * comment_or_bad noeat - "\c" parameter - -# The following three states are identical to the previous three except the -# color. -:subr_color Conditional - * need_subr noeat - -:need_subr Idle - * bad noeat - " \t" need_subr - "\i" subr recolor=-1 - -:subr Subr - * comment_or_bad noeat - "\c" subr -.endif - - -#################### -# Color Definition # -#################### - -# Following an '=' should be a color definition. -.ifdef STRINGS -# Color definitions should not appear between "[i]strings" and "done". -.else -# A color name must have at least one character. -:color_definition_first Color - * color_definition - " \t#\n" bad noeat - -# Highlight any remaining characters until we see whitespace, a comment, or a -# newline. -:color_definition Color - * color_definition - " \t#\n" colors_ws noeat - -# The color name may be followed by zero or more standard colors or attributes, -# ending in a comment or newline. -:colors_ws Idle - * color_bad recolor=-1 - " \t" colors_ws - "+" color_ref recolor=-1 - "#\n" comment noeat - -:color_ref ColorRef - * colors_ws noeat - "\c" color_ref - -# We have encountered something that is not recognized as a standard color or -# attribute. Continue to highlight characters as Bad until we see whitespace, a -# comment, or a newline. -:color_bad Bad - * color_bad - " \t#\n" colors_ws noeat -.endif - - -######### -# State # -######### - -# Following a ':' should be a state definition. -.ifdef STRINGS -# New states should not appear between "[i]strings" and "done". -.else -# A state name must begin with an alpha character or an underscore. -:state_first State - * bad noeat - "\i" state - -# Subsequent characters in a state name must be alpha-numeric or underscores. -:state State - * bad noeat - "\c" state - " \t" need_state_color recolor=-1 - -# A state must have a color. -:need_state_color Idle - * state_color recolor=-1 - " \t" need_state_color - "#\n" bad noeat - -# Highlight any remaining characters until we see whitespace, a comment, or a -# newline. -:state_color Color - * state_color - " \t" context_ws recolor=-1 - "#\n" comment_or_bad noeat - -# Following the state color, there might be one or more contexts. Loop over -# whitespace until we find something else. -:context_ws Idle - * comment_or_bad noeat - " \t" context_ws - "\i" context mark recolor=-1 buffer - -# Here we recognize the possible contexts. -:context Idle - * context_unknown noeat strings - "comment" context_color - "string" context_color - done - "\c" context - -# We encountered what looks like a context but is unrecognized as such. -:context_unknown Idle -.ifdef CHECKING - * context_bad recolormark noeat -.else - * context_ws noeat -.endif - -# We encountered a valid context. -:context_color Keyword - * context_ws noeat - -# We saw something that is not a valid context name with checking enabled. -# Continue to highlight it as Bad until we see whitespace or a comment. -:context_bad Bad - * context_bad - " \t#\n" context_ws noeat -.endif - - -############## -# Transition # -############## - -# A state transition starts with a '*', an '&', or a string. -.ifdef STRINGS -# Transitions must start with a string between "[i]strings" and "done". -.else -# We saw either a '*' or an '&'. Now we need the next state. -:special_character Keyword - * need_next_state noeat -.endif - -# We are in a string. Continue until we see the close quote or a newline. -# Highlight escaped characters within the string differently. They start with a -# '\'. -:string String string - * string - "\\" escape recolor=-1 - "\"" need_next_state -.ifdef CHECKING - "\n" bad -.else - "\n" bad noeat -.endif - -# Highlight an escaped character within a string. -:escape StringEscape string - * string - -# Loop over whitespace until we see the first character of the next state. -:need_next_state Idle - * bad noeat - " \t" need_next_state - "\i" next_state recolor=-1 - -# Now we highlight the remainder of the next state. -:next_state State - * bad noeat - "\c" next_state - " \t" options_ws - "#\n" comment noeat - -# Following the next state should be zero or more options. Loop over whitespace -# until we find an option, comment, or newline. -:options_ws Idle - * option_bad recolor=-1 - " \t" options_ws - "\i" option mark recolor=-1 buffer - "#\n" comment noeat - -# Here we recognize the possible options. The strings and istrings options -# cannot be used between "[i]strings" and "done". Since conditional directives -# cannot be used between "[i]strings" and "done" either, the list must be -# duplicated, once without and once with the strings and istrings options. -:option Idle -.ifdef STRINGS - * option_unknown recolormark noeat strings - "noeat" option_color - "recolor" recolor_color - "mark" option_color - "markend" option_color - "recolormark" option_color - "buffer" option_color - "save_c" option_color - "save_s" option_color - "hold" option_color - "call" call_color - "return" option_color - "reset" option_color - done -.else - * option_unknown recolormark noeat strings - "noeat" option_color - "recolor" recolor_color - "mark" option_color - "markend" option_color - "recolormark" option_color - "buffer" option_color - "save_c" option_color - "save_s" option_color - "strings" strings_color - "istrings" strings_color - "hold" option_color - "call" call_color - "return" option_color - "reset" option_color - done -.endif - "\c" option - -# We encountered what looks like an option but is unrecognized as such. -:option_unknown Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - -# We have encountered an option that does not take an argument. Highlight it -# and continue to look for more options. -:option_color Keyword - * options_ws noeat - -.ifdef STRINGS -# The strings and istrings options cannot be used between "[i]strings" and -# "done". -.else -# The strings and istrings options are followed by a list of transitions. -# Rather than duplicate all of the states that highlight transitions, we call -# this entire file as a subroutine and use the STRINGS parameter to disable -# everything else and enable the done keyword. We return to the comment_or_bad -# state since we will return after seeing the done keyword, and nothing but a -# comment should follow the done keyword. -:strings_color Keyword - * comment_or_bad noeat call=jsf(STRINGS) -.endif - -# Highlight the recolor option. -:recolor_color Keyword - * recolor_equal noeat - -# The recolor option must be followed by an '='. Loop over whitespace until we -# find one. -:recolor_equal Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - " \t" recolor_equal - "=" recolor_minus mark - -# The recolor option takes an integer argument, and that integer must be -# negative. Thus the '=' must be followed by a minus sign. Loop over -# whitespace until we find one. -:recolor_minus Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - " \t" recolor_minus - "-" recolor_amount_first mark recolor=-1 - -# The first digit of the argument to recolor must be non-zero. -:recolor_amount_first Number -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws recolormark noeat - "0" option_bad recolormark noeat -.endif - "1-9" recolor_amount - -# Keep highlighting digits until we see something else. -:recolor_amount Number - * option_bad recolormark recolor=-1 - "0-9" recolor_amount - " \t#\n" options_ws noeat - -# Highlight the call option. -:call_color Keyword - * call_equal noeat - -# The call option must be followed by an '='. Loop over whitespace until we -# find one. -:call_equal Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - " \t" call_equal - "=" call_file_or_dot mark - -# The first part of the argument to the call option is the name of the file -# containing the subroutine or a '.', implying the current file. Loop over -# whitespace until we see one of those two things. -:call_file_or_dot Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - " \t" call_file_or_dot - "\i" call_file mark recolor=-1 - "." call_dot mark - -# Highlight the remainder of the file name. The file name can be followed by a -# '.', which must then be followed by the name of a subroutine, or by a list of -# parameters in parentheses. The '.', if present, cannot have whitespace on -# either side. -:call_file Subr -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - "\c" call_file - "." call_dot mark recolor=-1 - " \t(" call_open_paren noeat - -# We saw a '.'. The next character must start the name of a subroutine. -:call_dot Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - "(" call_dot_bad recolormark noeat - "\i" call_subr mark recolor=-1 - -# We have seen a dot followed by an open parenthesis. A dot must be followed by -# a subroutine name. Highlight the dot as Bad. -:call_dot_bad Bad - * call_open_paren noeat - -# Highlight the remainder of the subroutine name. Following the subroutine name -# must be a list of parameters in parentheses, possibly preceded by whitespace. -:call_subr Subr -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - "\c" call_subr - " \t(" call_open_paren noeat - -# Loop over whitespace until we find the open parenthesis. -:call_open_paren Idle -.ifdef CHECKING - * option_bad recolormark noeat -.else - * options_ws noeat -.endif - " \t" call_open_paren - "(" call_parameters_ws - -# The list of parameters is delimited by whitespace. Loop over whitespace until -# we find either the beginning of a parameter or a close parenthesis. We should -# not see a comment or newline since the list should be terminated by a close -# parenthesis. -:call_parameters_ws Idle - * call_parameter_bad recolor=-1 - " \t" call_parameters_ws - "-" call_parameter_undef - "\i" call_parameter recolor=-1 - ")" options_ws - "#\n" bad noeat - -# We saw a "-". The next character should start the parameter being undefined. -:call_parameter_undef Parameter - * call_parameters_ws noeat - "\i" call_parameter recolor=-2 - -# Highlight the remainder of the parameter. -:call_parameter Parameter - * call_parameters_ws noeat - "\c" call_parameter - -# We saw something that is not a valid parameter name. Continue to highlight it -# as Bad until we see whitespace. -:call_parameter_bad Bad - * call_parameter_bad - ") \t#\n" call_parameters_ws noeat - -# We saw something that is not a valid option name. Continue to highlight it as -# Bad until we see whitespace or a comment. -:option_bad Bad - * option_bad - " \t#\n" options_ws noeat - - -######## -# Done # -######## - -.ifdef STRINGS -# The special word, "done", can only be used after a strings or istrings option. -# Recognize the done keyword. -:special_word Idle - * bad_line recolormark noeat strings - "done" done_color - done - "\c" special_word - -# Highlight the done keyword and return to highlighting things normally, since -# the list of strings has been terminated. -:done_color Keyword - * comment_or_bad return noeat -.endif - - -################## -# Comment or Bad # -################## - -# We have seen everything that should appear on the current line except an -# optional comment. Loop over whitespace until we find a comment or newline. -:comment_or_bad Idle - * bad noeat - " \t" comment_or_bad - "#\n" comment noeat - - -########### -# Comment # -########### - -# Continue to highlight the comment until the end of the line. -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - - -####### -# Bad # -####### - -.ifdef CHECKING -# We have encountered incorrect syntax. Loop over whitespace until we see the -# first visible character. Highlight that character and the rest of the line as -# Bad. -:bad Bad - * bad_line - " \t\n" bad -.else -# When not performing strict checking, don't go searching for the next visible -# character to highlight as Bad. Simply highlight the rest of the line as Bad, -# even if it is invisible. -:bad Bad - * bad_line noeat -.endif - -# Continue to highlight everything as Bad until the end of the line. -:bad_line Bad - * bad_line - "\n" idle diff --git a/.config/joestar/syntax/jsf_check.jsf b/.config/joestar/syntax/jsf_check.jsf @@ -1,6 +0,0 @@ -# See jsf.jsf - -=Idle - -:initial Idle - * initial noeat call=jsf(CHECKING) diff --git a/.config/joestar/syntax/json.jsf b/.config/joestar/syntax/json.jsf @@ -1,309 +0,0 @@ -# JSON highlighter per json.org - -# Written by Rebecca Turner (@ReBecaOrg) - -# Define colors - -=Idle -=Comma -=PairSep -=Bracket +Brace -=Brace +Control +Operator -=Constant -=Number +Constant -=Boolean +Constant -=Null +Constant -=String +Constant -=Key +Attr +Type +String -=Escape -=StringEscape +Escape +String - -=Bad -=ERROR +Bad - -: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=.keystring() - " \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 string - * stringBAD noeat - "\"" body - -:body String string - * body - "\"" end - "\\" escape recolor=-1 - -:stringBAD ERROR - * end - -:escape StringEscape string - * escapeBAD recolor=-2 noeat - "\"/bfnrt\\" body - "u" unicode1 - -:escapeBAD Bad - * body - -:unicode1 StringEscape string - * unicodeBAD recolor=-3 noeat - "0-9a-fA-F" unicode2 - -:unicode2 StringEscape string - * unicodeBAD recolor=-4 noeat - "0-9a-fA-F" unicode3 - -:unicode3 StringEscape string - * unicodeBAD recolor=-5 noeat - "0-9a-fA-F" unicode4 - -:unicode4 StringEscape string - * unicodeBAD recolor=-6 noeat - "0-9a-fA-F" body - -:unicodeBAD Bad - * body - -:end Idle - * NULL noeat return - -.end - -.subr keystring - -:string Key - * stringBAD noeat - "\"" body - -:body Key - * body - "\"" end - "\\" escape recolor=-1 - -:stringBAD ERROR - * end - -:escape Escape - * escapeBAD recolor=-2 noeat - "\"/bfnrt\\" body - "u" unicode1 - -:escapeBAD Bad - * body - -:unicode1 Escape - * unicodeBAD recolor=-3 noeat - "0-9a-fA-F" unicode2 - -:unicode2 Escape - * unicodeBAD recolor=-4 noeat - "0-9a-fA-F" unicode3 - -:unicode3 Escape - * unicodeBAD recolor=-5 noeat - "0-9a-fA-F" unicode4 - -:unicode4 Escape - * 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/.config/joestar/syntax/lisp.jsf b/.config/joestar/syntax/lisp.jsf @@ -1,26 +0,0 @@ -# JOE syntax highlight file for LISP - -# Needs lots of work... - -=Idle -=Comment -=String +Constant -=StringEscape +Escape - -:idle Idle - * idle - ";" comment recolor=-1 - "\"" string recolor=-1 - -:comment Comment comment - * comment - "\n" idle - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "\n" string recolor=-2 diff --git a/.config/joestar/syntax/lua.jsf b/.config/joestar/syntax/lua.jsf @@ -1,349 +0,0 @@ -# JOE syntax highlight file for LUA - -=Idle [blue] -=Ident -=Bad -=Comment -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=Character +String +Constant -=Escape -=StringEscape +Escape -=CharacterEscape +StringEscape -=Keyword -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement - -:idle Idle - * idle - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "'" char recolor=-1 - "\i" ident buffer - "-" maybe_comment - "[" maybe_lua_string - -:maybe_lua_string Idle - * idle noeat - "[" lua_string_0 recolor=-2 - "=" maybe_lua_1 - -:maybe_lua_1 Idle - * idle noeat - "[" lua_string_1 recolor=-3 - "=" maybe_lua_2 - -:maybe_lua_2 Idle - * idle noeat - "[" lua_string_2 recolor=-4 - "=" maybe_lua_3 - -:maybe_lua_3 Idle - * idle noeat - "[" lua_string_3 recolor=-5 - -:lua_string_0 String string - * lua_string_0 - "]" lua_string_0_maybe_done - -:lua_string_0_maybe_done String string - * lua_string_0 noeat - "]" idle - -:lua_string_1 String string - * lua_string_1 - "]" lua_string_1_maybe_donea - -:lua_string_1_maybe_donea String string - * lua_string_1 noeat - "=" lua_string_1_maybe_done - -:lua_string_1_maybe_done String string - * lua_string_1 noeat - "]" idle - -:lua_string_2 String string - * lua_string_2 - "]" lua_string_2_maybe_donea - -:lua_string_2_maybe_donea String string - * lua_string_2 noeat - "=" lua_string_2_maybe_doneb - -:lua_string_2_maybe_doneb String string - * lua_string_2 noeat - "=" lua_string_2_maybe_done - -:lua_string_2_maybe_done String string - * lua_string_2 noeat - "]" idle - -:lua_string_3 String string - * lua_string_3 - "]" lua_string_3_maybe_donea - -:lua_string_3_maybe_donea String string - * lua_string_3 noeat - "=" lua_string_3_maybe_doneb - -:lua_string_3_maybe_doneb String string - * lua_string_3 noeat - "=" lua_string_3_maybe_donec - -:lua_string_3_maybe_donec String string - * lua_string_3 noeat - "=" lua_string_3_maybe_done - -:lua_string_3_maybe_done String string - * lua_string_3 noeat - "]" idle - -:maybe_comment Idle - * idle noeat - "-" maybe_long_comment recolor=-2 - -:maybe_long_comment Comment comment - * line_comment noeat - "[" maybe_long_comment_0 - -:maybe_long_comment_0 Comment comment - * line_comment noeat - "=" maybe_long_comment_1 - "[" long_comment_0 - -:maybe_long_comment_1 Comment comment - * line_comment noeat - "=" maybe_long_comment_2 - "[" long_comment_1 - -:maybe_long_comment_2 Comment comment - * line_comment noeat - "=" maybe_long_comment_3 - "[" long_comment_2 - -:maybe_long_comment_3 Comment comment - * line_comment noeat - "[" long_comment_3 - -:long_comment_0 Comment comment - * long_comment_0 - "BFHNTX" long_comment_0 noeat call=comment_todo.comment_todo() - "]" maybe_done_comment_0 - -:maybe_done_comment_0 Comment comment - * long_comment_0 noeat - "]" idle - -:long_comment_1 Comment comment - * long_comment_1 - "BFHNTX" long_comment_1 noeat call=comment_todo.comment_todo() - "]" maybe_done_comment_1a - -:maybe_done_comment_1a Comment comment - * long_comment_1 noeat - "=" maybe_done_comment_1 - -:maybe_done_comment_1 Comment comment - * long_comment_1 noeat - "]" idle - -:long_comment_2 Comment comment - * long_comment_2 - "BFHNTX" long_comment_2 noeat call=comment_todo.comment_todo() - "]" maybe_done_comment_2a - -:maybe_done_comment_2a Comment comment - * long_comment_2 noeat - "=" maybe_done_comment_2b - -:maybe_done_comment_2b Comment comment - * long_comment_2 noeat - "=" maybe_done_comment_2 - -:maybe_done_comment_2 Comment comment - * long_comment_2 noeat - "]" idle - -:long_comment_3 Comment comment - * long_comment_3 - "]" maybe_done_comment_3a - -:maybe_done_comment_3a Comment comment - * long_comment_3 noeat - "=" maybe_done_comment_3b - -:maybe_done_comment_3b Comment comment - * long_comment_3 noeat - "=" maybe_done_comment_3c - -:maybe_done_comment_3c Comment comment - * long_comment_3 noeat - "=" maybe_done_comment_3 - -:maybe_done_comment_3 Comment comment - * long_comment_2 noeat - "]" idle - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string - "\"" string noeat - "\n" reset - "0-9.\-+ #hjILtz$" string_control - -:char Character string - * char - "\n" reset - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape string - * char - "x" char_hex1 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex1 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape string - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape string - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char noeat - "0-7" char - -:ident Ident - * idle noeat strings - "and" kw - "end" kw - "in" oper - "repeat" loop - "break" loop - "false" bool - "local" kw - "return" stmt - "do" loop - "for" loop - "nil" const - "then" cond - "else" cond - "function" kw - "not" oper - "true" bool - "elseif" cond - "if" cond - "or" oper - "until" loop - "while" loop -done - "\c" ident - -:kw Keyword - * idle noeat - -:oper Operator - * idle noeat - -:stmt Statement - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat - -:bool Boolean - * idle noeat - -:const Constant - * idle noeat diff --git a/.config/joestar/syntax/m4.jsf b/.config/joestar/syntax/m4.jsf @@ -1,122 +0,0 @@ -# m4 - -=Idle -=Ident -=Comment -=Constant -=Variable +Escape -=Brace -=Keyword - -:start Idle - * start noeat call=.m4() - -.subr m4 - -.ifdef quote -:idle Constant -.else -:idle Idle -.endif - * idle - "[" idle recolor=-1 call=.m4(quote -brace) -# "[" idle recolor=-1 call=.quote() - "a-zA-Z_" ident buffer mark -.ifdef quote - "]" idle return -.endif -.ifdef brace - ")" endbrace recolor=-1 -.endif - -:quote Constant string - * quote - "]" idle - -:endbrace Brace - * idle noeat return - -.ifdef quote -:ident Constant string -.else -:ident Ident -.endif - * maybe_macro noeat strings - "builtin" maybe_kw - "changecom" maybe_kw - "changequote" maybe_kw - "changeword" maybe_kw - "debugfile" maybe_kw - "debugmode" maybe_kw - "decr" maybe_kw - "define" maybe_kw - "defn" maybe_kw - "divert" maybe_kw - "divnum" maybe_kw - "dnl" comment - "dumpdef" maybe_kw - "errprint" maybe_kw - "esyscmd" maybe_kw - "eval" maybe_kw - "file" maybe_kw - "format" maybe_kw - "ifdef" maybe_kw - "ifelse" maybe_kw - "include" maybe_kw - "incr" maybe_kw - "index" maybe_kw - "indir" maybe_kw - "len" maybe_kw - "line" maybe_kw - "m4exit" maybe_kw - "m4wrap" maybe_kw - "maketemp" maybe_kw - "patsubst" maybe_kw - "popdef" maybe_kw - "pushdef" maybe_kw - "regexp" maybe_kw - "shift" maybe_kw - "sinclude" maybe_kw - "substr" maybe_kw - "syscmd" maybe_kw - "sysval" maybe_kw - "traceoff" maybe_kw - "traceon" maybe_kw - "translit" maybe_kw - "undefine" maybe_kw - "undivert" maybe_kw -done - "a-zA-Z0-9_" ident - -:maybe_macro Idle - * idle noeat - "(" macro recolormark noeat - -:maybe_kw Idle - * idle noeat - "(" kw recolormark noeat - -:kw Keyword - * idle noeat - "(" macro noeat - -:comment Comment comment - * comment - "\n" idle - -:macro Variable - * idle noeat - "(" brace recolor=-1 - -:brace Brace - * idle noeat call=.m4(brace -quote) - -.end - -.subr quote -:idle Constant string - * idle - "]" idle return - "[" idle call=.quote() - -.end diff --git a/.config/joestar/syntax/mail.jsf b/.config/joestar/syntax/mail.jsf @@ -1,198 +0,0 @@ -# JOE syntax highlight file for typical UNIX mail files -# 2004-04-25 Tomas Szepe <szepe@pinerecords.com> - -# Improved to handle quote characters commonly seen on Usenet, and -# highlighting of the more frequently edited mail and news headers, with -# some sanity checking of the same. -# 2004-06-26 Jeff Hurwit <darkmoon@verizon.net> - -- - -=Idle -=Head +Statement +Keyword -=Email +Escape +Head -=HdTo +Email -=HdFrom +Email -=HdSbj +Title +String +Constant +Head -=HdDate +Number +Constant +Head -=HdRRT +Email -=HdGrp +Email -=HdFuT +Email -=HdBad +Bad -=Quot1 +Comment -=Quot2 +DefinedIdent -=Sign +Preproc - -# Start in headers. We know we're out at the first blank line. - -:first Idle - * hbol noeat - "\n" newline - ">|:~}#]" newline noeat - -# Require header -# "\n" nohead - -:nohead HdBad - * nohead - -:hbol Idle - * hbad recolor=-1 - "\n" newline - "A-Z" bufhdrs buffer - "-" newline noeat - -:hbad HdBad - * hbad - "\n" hbol - -:hlbad HdBad - * hbol - -:bufhdrs Idle - * hbad recolor=-1 - "\n" hlbad noeat recolor=-2 - "-_a-zA-Z0-9" bufhdrs - ":" headers hold - -:headers Idle - * hbad recolor=-1 - " \n" hnocolor noeat strings - "To" hsto recolor=-2 - "Cc" hsto recolor=-2 - "Bcc" hsto recolor=-2 - "From" hsfrom recolor=-2 - "Subject" hssbj recolor=-2 - "Date" hsdate recolor=-2 - "Return-Receipt-To" hsrrecp recolor=-2 - "Newsgroups" hsgroups recolor=-2 - "Followup-To" hsfolup recolor=-2 -done - -:hnocolor Idle - * hnocolor - "\n" cont_nocolor - -:cont_nocolor Idle - * hbol noeat - " \t" hnocolor recolor=-1 - -:hsto Head - * hto - "\n" hbol - -:hto HdTo - * hto - "\n" cont_to - -:cont_to HdTo - * hbol noeat - " \t" hto recolor=-1 - -:hsfrom Head - * hfrom - "\n" hbol - -:hfrom HdFrom - * hfrom - "\n" hbol - -:hssbj Head - * hsbj - "\n" hbol - -:hsbj HdSbj - * hsbj - "\n" cont_sbj - -:cont_sbj HdSbj - * hbol noeat - " \t" hsbj recolor=-1 - -:hsdate Head - * hdate - "\n" hbol - -:hdate HdDate - * hdate - "\n" hbol - -:hsrrecp Head - * hrrecp - "\n" hbol - -:hrrecp HdRRT - * hrrecp - "\n" hbol - -:hsgroups Head - * hgroups - "\n" hbol - -:hgroups HdGrp - * hgroups - "\n" hbol - -:hsfolup Head - * hfolup - "\n" hbol - -:hfolup HdFuT - * hfolup - "\n" hbol - -# body of the message - -:newline Idle - * knocolor - "\n" newline - ">|:~}#]" q1 recolor=-1 - "-" maybesign1 recolor=-1 - -:maybesign1 Quot1 - * q1 - " \t" q1 - "\n" newline recolor=-1 - ">|:~}#]" q2 recolor=-1 - "-" maybesign2 recolor=-1 - -:maybesign2 Quot2 - * q2 - "\t" q2 - "\n" newline recolor=-1 - " " maybesign3 recolor=-1 - ">|:~}#]" q1 recolor=-1 - "-" knocolor recolor=-3 - -:maybesign3 Quot2 - * q2 - " \t" q2 - "\n" sign recolor=-4 - "->|:~}#]" q1 recolor=-1 - -:sign Sign - * sign - -:q1 Quot1 - * kq1 - "\n" newline - " \t" q1 - "->|:~}#]" q2 recolor=-1 - -:q2 Quot2 - * kq2 - "\n" newline - " \t" q2 - "->|:~}#]" q1 recolor=-1 - -:knocolor Idle - * knocolor - "\n" newline - -:kq1 Quot1 - * kq1 - "\n" newline - -:kq2 Quot2 - * kq2 - "\n" newline diff --git a/.config/joestar/syntax/mason.jsf b/.config/joestar/syntax/mason.jsf @@ -1,8 +0,0 @@ -# JOE syntax file for Mason - -=Idle - -# Call HTML with mason flag. It will call perl. - -:idle Idle - * idle noeat call=html.html(mason) diff --git a/.config/joestar/syntax/matlab.jsf b/.config/joestar/syntax/matlab.jsf @@ -1,97 +0,0 @@ -# joe Matlab syntax highlighting -# Created by Gustav Stenberg 2007-10-30 -# - -=Idle -=Ident -=Comment -=Keyword -=Number +Constant -=String +Constant -=Secondary +Ident -=Error +Bad -=Command +Statement +Keyword - -:idle Idle - * idle - "%" comment recolor=-1 - "\'" string mark recolor=-1 - "a-zA-Z_." ident buffer - "!" command recolor=-1 - "([{" parent buffer - "0-9" first_digit recolor=-1 - -:command Command - * command - "\n" idle - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - -:keyword Keyword - * idle noeat - -:keywordc Keyword - * comment - "\n" idle - -:parent Idle - * parent - ")]}" idle - -:string Error - * string - "\'" stringdone recolormark recolor=-1 - "\n" idle - -:stringdone String string - * idle recolor=-1 - -:first_digit Number - * idle noeat - "." float - "eE" epart - "0-9" first_digit - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:secondary Secondary - * idle noeat - "a-zA-Z_0-9. " secondary - "\n;:=!\"\'+-,*(){}[]&\\\|/~" idle recolor=-1 - -:ident Ident - * secondary noeat strings - "..." keywordc - "break" keyword - "case" keyword - "catch" keyword - "continue" keyword - "else" keyword - "elseif" keyword - "end" keyword - "for" keyword - "function" keyword - "global" keyword - "if" keyword - "otherwise" keyword - "persistent" keyword - "return" keyword - "switch" keyword - "try" keyword - "while" keyword -done - "a-zA-Z0-9_." ident diff --git a/.config/joestar/syntax/md.jsf b/.config/joestar/syntax/md.jsf @@ -1,135 +0,0 @@ -# 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 +DefinedFunction +DefinedIdent -=Escape -=Bad - -=Bold +Keyword -=Headline +Title +Preproc +Statement -=Quote +Comment -=Code +String +Constant -=List +TagName +Tag -=LinkDesc +Title +String -=Link +Number +Constant -=Rule +Preproc - -: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 - -: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 diff --git a/.config/joestar/syntax/ocaml.jsf b/.config/joestar/syntax/ocaml.jsf @@ -1,406 +0,0 @@ -# JOE syntax highlight file for OCaml - -=Idle -=Bad -=Comment -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=Character +String -=CharacterEscape +StringEscape -=Boolean +Constant -=Keyword -=Type -=Operator +Keyword -=Control -=Brace -=LowId +Ident -=CapId +DefinedIdent -=Builtin +DefinedFunction +DefinedIdent -=Structure +Keyword -=StorageClass +Type +Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement - -# Bugs: -# = in some contexts is a control, not an operator (let, etc) -# "type" keyword introduces a type = type - -:expr Idle - * expr - "#.,)];" control recolor=-1 - "!?" prefixop recolor=-1 - "=<>@^&+*/$%" infixop recolor=-1 - "\-" minus recolor=-1 - "~" tilde recolor=-1 - "[" brace recolor=-1 - "|" pipe recolor=-1 - ":" colon recolor=-1 - "(" bracket recolor=-1 - "0" zero recolor=-1 - "1-9" decimal recolor=-1 - "\"" string recolor=-1 - "\'" char recolor=-1 - "a-z_" lowid buffer recolor=-1 - "A-Z`" capid buffer recolor=-1 - -:bad Bad - * expr - -:control Control - * expr noeat - -:prefixop Operator - * operator noeat - -:infixop Operator - * operator noeat - -:operator Operator - * expr noeat - "!?~=<>@^|&+*/$%.:\-" operator - -:minus Operator - * operator noeat - "0" zero recolor=-2 - "1-9" decimal recolor=-2 - -:tilde Operator - * prefixop noeat - "a-z" opparam noeat - -:opparam LowId - * expr noeat - "a-zA-Z0-9_'" opparam - ":" control - -:brace Control - * expr noeat - "|" expr - -:pipe Operator - * infixop noeat - "]" pipeclose recolor=-2 - -:pipeclose Control - * expr noeat - -:colon Operator - * type1 noeat - "=" assign recolor=-2 - -:assign Operator - * expr noeat - -:bracket Control - * expr noeat - "*" comment recolor=-2 - -:zero Number - * expr noeat - "0-9_" decimal - "b" binaryl buffer - "B" binaryh buffer - "o" octall buffer - "O" octalh buffer - "x" hexl buffer - "X" hexh buffer - "e" epartl buffer - "E" eparth buffer - "." float - -:decimal Number - * expr noeat - "0-9_" decimal - "." float - "e" epartl buffer - "E" eparth buffer - -:binaryl Number - * lowid noeat recolor=-2 - "01" binary -:binaryh Number - * capid noeat recolor=-2 - "01" binary -:binary Number - * expr noeat - "01_" binary - -:octall Number - * lowid noeat recolor=-2 - "0-7" octal -:octalh Number - * capid noeat recolor=-2 - "0-7" octal -:octal Number - * expr noeat - "0-7_" octal - -:hexl Number - * lowid noeat recolor=-2 - "0-9a-fA-F" hex -:hexh Number - * capid noeat recolor=-2 - "0-9a-fA-F" hex -:hex Number - * expr noeat - "0-9a-fA-F_" hex - -:float Number - * expr noeat - "0-9_" float - "e" epartl buffer - "E" eparth buffer - -:epartl Number - * lowid noeat recolor=-2 - "0-9" enum - "+\-" enum1 -:eparth Number - * capid noeat recolor=-2 - "0-9" enum - "+\-" enum1 - -:enum1 Number - * bad noeat - "0-9_" enum -:enum Number - * expr noeat - "0-9_" enum - -:string String string - * string - "\"" expr - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\"" string noeat - "diouxXeEfFgGaAcspn%SC" string - -:char Character string - * charend - "\\" char_escape recolor=-1 - -:charend Character string - * bad noeat - "\'" expr - -:char_escape CharacterEscape string - * charend - "x" char_hex1 - "0-7" char_octal2 - -:char_hex1 CharacterEscape string - * bad noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape string - * charend noeat - "0-9a-fA-F" charend - -:char_octal2 CharacterEscape string - * charend noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * charend noeat - "0-7" charend - -:lowid LowId - * expr noeat strings - "_" kw - "and" kw - "as" kw - "assert" kw - "begin" kw - "class" kw - "constraint" kw - "do" kw - "done" kw - "downto" kw - "else" kw - "end" kw - "exception" kw - "external" kw - "false" bool - "for" loop - "fun" kw - "function" struct - "functor" struct - "if" cond - "in" kw - "include" kw - "inherit" kw - "initializer" kw - "lazy" storage - "let" kw - "match" kw - "method" struct - "module" struct - "mutable" storage - "object" kw - "of" kw - "open" kw - "private" storage - "raise" kw # technically not, but ... - "rec" kw - "sig" kw - "struct" kw - "then" cond - "to" kw - "true" bool - "try" kw - "type" kw - "val" kw - "virtual" storage - "when" loop - "while" loop - "with" kw - "asr" operatorkw - "land" operatorkw - "lor" operatorkw - "lsl" operatorkw - "lsr" operatorkw - "lxor" operatorkw - "mod" operatorkw - "new" operatorkw - "or" operatorkw -done - "a-zA-Z0-9_'" lowid - -:kw Keyword - * expr noeat - -:operatorkw Operator - * expr noeat - -:bool Boolean - * expr noeat - -:loop Loop - * expr noeat - -:struct Structure - * expr noeat - -:storage StorageClass - * expr noeat - -:cond Conditional - * expr noeat - -:capid CapId - * expr noeat strings - "Arg" stdlib - "Array" stdlib - "ArrayLabels" stdlib - "Buffer" stdlib - "Callback" stdlib - "Char" stdlib - "Complex" stdlib - "Digest" stdlib - "Filename" stdlib - "Format" stdlib - "Gc" stdlib - "Genlex" stdlib - "Hashtbl" stdlib - "Int32" stdlib - "Int64" stdlib - "Lazy" stdlib - "Lexing" stdlib - "List" stdlib - "ListLabels" stdlib - "Map" stdlib - "Marshal" stdlib - "MoreLabels" stdlib - "Nativeint" stdlib - "Oo" stdlib - "Parsing" stdlib - "Printexc" stdlib - "Printf" stdlib - "Queue" stdlib - "Random" stdlib - "Scanf" stdlib - "Set" stdlib - "Sort" stdlib - "Stack" stdlib - "StdLabels" stdlib - "Stream" stdlib - "String" stdlib - "StringLabels" stdlib - "Sys" stdlib - "Weak" stdlib -done - "a-zA-Z0-9_'" capid - -:stdlib Builtin - * expr noeat - -:type1 Type - * expr noeat - "a-z *>'\t\-" type1 - "(" type2 - -:type2 Type - * expr noeat - "a-z *>'\t\-" type2 - "(" type3 - ")" type1 - -:type3 Type - * expr noeat - "a-z *>'\t\-" type3 - "(" type4 - ")" type2 - -:type4 Type - * expr noeat - "a-z *>'\t\-" type4 - "(" expr # too deep nesting - ")" type2 - -:comment Comment comment - * expr call=.comment() - -.subr comment - -:comment_body Comment comment - * comment_body - "(" nest_comment - "*" end_comment - "BFHNTX" comment_body noeat call=comment_todo.comment_todo() - -:end_comment Comment comment - * comment_body noeat - ")" end_comment return - -:nest_comment Comment comment - * comment_body - "*" comment_body call=.comment() - -.end diff --git a/.config/joestar/syntax/pascal.jsf b/.config/joestar/syntax/pascal.jsf @@ -1,241 +0,0 @@ -# PASCAL highlighter for JOE -# With support for Delphi and FPC by Michael Van Canneyt - -=Idle -=Comment -=Constant -=String +Constant -=Number +Constant -=Type -=Keyword -=Statement +Keyword -=Operator +Keyword -=Loop +Statement -=Conditional +Statement -=DefinedFunction +DefinedIdent -=Builtin +DefinedFunction -=Structure +Type -=Bad - -:idle Idle - * idle - "\i" ident buffer - "(" maybe_comment - "/" maybe_linecomment - "{" comment recolor=-1 - "'" string recolor=-1 - "$" maybe_hex_number - "%" maybe_bin_number - "&" maybe_oct_number - "0-9" number recolor=-1 - -# Comments - -:maybe_comment Idle - * idle noeat - "*" comment recolor=-2 - -:maybe_linecomment Idle - * idle noeat - "/" line_comment recolor=-2 - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - "}" idle - -:maybe_end_comment Comment comment - * comment noeat - ")" idle - -# String constant - -:string String string - * string - "\n" idle - "'" maybe_end_string - -:maybe_end_string String string - * idle recolor=-1 noeat - "'" string - -# Numeric constant - -:maybe_hex_number Idle - * idle noeat - "0-9A-Fa-f" hex_number recolor=-2 - -:maybe_bin_number Idle - * idle noeat - "01" bin_number recolor=-2 - -:maybe_oct_number Idle - * idle noeat - "0-7" oct_number recolor=-2 - -:bad Bad - * idle noeat - -:hex_number Number - * idle noeat - "0-9" hex_number - "a-fA-F" hex_number - -:bin_number Number - * idle noeat - "01" bin_number - "2-9" bad recolor=-1 - -:oct_number Number - * idle noeat - "0-7" oct_number - "89" bad recolor=-1 - -:number Number - * idle noeat - "0-9" number - "eE" epart - "." dot - -:dot Number - * idle noeat - "0-9" float - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - - -# Keywords - -:ident Idle - * idle noeat istrings - "and" operator - "array" type - "begin" kw - "case" cond - "const" kw - "div" operator - "do" kw - "downto" kw - "else" cond - "end" kw - "file" kw - "for" loop - "function" kw - "goto" loop - "if" cond - "in" kw - "label" kw - "mod" operator - "nil" word_constant - "not" operator - "of" kw - "or" operator - "packed" kw - "procedure" kw - "program" kw - "record" kw - "repeat" loop - "set" kw - "then" kw - "type" kw - "until" loop - "var" kw - "while" loop - "with" kw -# Delphi keywords - "to" kw - "try" kw - "finally" kw - "raise" kw - "absolute" kw - "cdecl" kw - "stdcall" kw - "register" kw - "interface" struct - "library" kw - "constructor" kw - "destructor" kw - "dispinterface" kw - "inherited" kw - "public" kw - "private" kw - "published" kw - "protected" kw - "initialization" kw - "finalization" kw - "class" struct - "object" kw - "resourcestring" kw - "property" kw - "threadvar" kw - "integer" type - "boolean" type - "real" type - "char" type - "string" type - "text" type - "abs" function - "atan" function - "arctan" function - "concat" function - "cos" function - "eof" function - "eoln" function - "exp" function - "insert" function - "length" function - "ln" function - "log" function - "odd" function - "ord" function - "page" function - "pred" function - "round" function - "sin" function - "sqr" function - "sqrt" function - "succ" function - "trun" function -done - "\c" ident - -:kw Keyword - * idle noeat - -:type Type - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:struct Structure - * idle noeat - -:operator Operator - * idle noeat - -:word_constant Constant - * idle noeat - -:function Builtin - * idle noeat diff --git a/.config/joestar/syntax/perl.jsf b/.config/joestar/syntax/perl.jsf @@ -1,487 +0,0 @@ -# JOE syntax highlight file for Perl - -# Define colors - -=Idle -=Ident -=Comment -=Pod +Preproc -=Variable +DefinedIdent # TODO: Make this work. -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=StringVariable +StringEscape -=Regex +String -=RegexEscape +StringEscape -=Type -=Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement -=Structure +Statement -=Bad - -:begin Idle - * begin noeat call=.perl() - -# -# Perl as a subroutine for Mason -# - -.subr perl - -# Detect pod - -:idle Idle - * idle1 noeat -.ifdef mason_line - "\n" idle return -.else - "\n" idle -.endif - "=" pod_start - -# allow keywords - -:idle1 Idle - * idle1 - "#" line_comment_i recolor=-1 - "\n" idle noeat - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "'" char recolor=-1 - "`" backtick recolor=-1 - "<" maybe_inc - "$" not_string buffer recolor=-1 -.ifdef mason_block - "&%" perl_maybe_done buffer - "-@\i" ident buffer recolor=-1 -.else - "/" regex recolor=-1 - "-\i@%&" ident buffer recolor=-1 -.endif - -:perl_maybe_done Idle - * ident noeat - ">" idle1 recolor=-2 return - -# prevent keywords - -:rest Idle - * rest - "({;~" idle1 - "#" line_comment recolor=-1 - "\n" idle noeat - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "'" char recolor=-1 - "`" backtick recolor=-1 - "$" not_string buffer recolor=-1 - "<" maybe_inc -.ifdef mason_block - "&%" perl_maybe_done buffer recolor=-1 - "\i@" maybe_string buffer -.else - "\i@%&" maybe_string buffer -.endif - -:pod_start Idle - * pod_start - "\n" pod_block - -:pod_block Pod - * pod_block - "=" pod_ident buffer - -:pod_ident Pod - * pod_block noeat strings - "=cut" rest -done - "\c" pod_ident - -:maybe_inc Idle - * rest noeat -.ifdef mason_block - "/" perl_maybe_done_2 -.endif - "<" maybe_inc1 - -:perl_maybe_done_2 Idle - * perl_idle noeat - "a-z" perl_maybe_done_2 - ">" idle - - -:maybe_inc1 Idle - * rest noeat - " " maybe_inc1 - "'\"" quoted_inc_start save_c recolor=-1 - "\i" inc buffer noeat - -:quoted_inc_start Variable - * quoted_inc buffer - -:quoted_inc Variable - * quoted_inc - & skipline save_s - -:inc Variable - * skipline save_s noeat - "\c" inc - -# Should be treated as a normal line here... - -:skipline Idle - * skipline - "\n" next_line - -:todelim String string - * todelim - "\n" next_line strings - "&" founddelim -done - -# eat \n so it's not in string. -:next_line String string - * todelim buffer - "\n" next_line - -:founddelim Variable - * idle noeat - -:regex Regex - * regex - "\\" regex_quote recolor=-1 - "/" rest - -:regex_quote RegexEscape - * regex - -:not_string Idle - * rest noeat - "\i" ident - "\"'`#" rest - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" rest - -:line_comment_i Comment comment - * line_comment_i - "BFHNTX" line_comment_i noeat call=comment_todo.comment_todo() - "\n" idle noeat - -:end_of_file_comment Comment comment - "BFHNTX" end_of_file_comment noeat call=comment_todo.comment_todo() - * end_of_file_comment - -:first_digit Number - * rest noeat - "x" hex - "b" binary - "." float - "eE" epart - "0-7" octal - "89" bad_number recolor=-1 - -:bad_number Bad - * rest noeat - "0-9" bad_number - -:octal Number - * rest noeat - "0-7_" octal - "89" bad_number recolor=-1 - -:binary Number - * rest noeat - "01_" binary - "2-9" bad_number recolor=-1 - -:hex Number - * rest noeat - "0-9A-Fa-f_" hex - -:decimal Number - * rest noeat - "0-9_" decimal - "eE" epart - "." float - -:maybe_float Number - * rest recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * rest noeat - "eE" epart - "0-9_" float - -:epart Number - * rest noeat - "0-9+\-" enum - -:enum Number - * rest noeat - "0-9_" enum - -:string String string - * string - "\"" rest - "\\" string_escape recolor=-1 - "$@" string_subst recolor=-1 - -:string_subst StringVariable string - * string noeat recolor=-1 - "\c" string_subst - -:string_escape StringEscape string - * string - "x" string_hex1 - "c" string_ctrl - "N" string_named - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_named StringEscape string - * string - "{" string_named_rest - -:string_named_rest StringEscape string - * string_named_rest - "}" string - -:string_ctrl StringEscape string - * string - -:string_hex1 StringEscape string - * string noeat - "{" string_unicode - "0-9a-fA-F" string_hex2 - -:string_unicode StringEscape string - * string_unicode - "}" string - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:char String string - * char - "\n" idle noeat - "'" rest - "\\" char_escape recolor=-1 - -:char_escape StringEscape string - * char recolor=-2 - "\\'" char - -:backtick String string - * backtick - "`" rest - "\\" backtick_escape recolor=-1 - "$@" backtick_subst recolor=-1 - -:backtick_subst StringVariable string - * backtick noeat recolor=-1 - "\c" backtick_subst - -:backtick_escape StringEscape string - * backtick - "x" backtick_hex1 - "c" backtick_ctrl - "N" backtick_named - "0-7" backtick_octal2 - "\n" backtick recolor=-2 - -:backtick_named StringEscape string - * backtick - "{" backtick_named_rest - -:backtick_named_rest StringEscape string - * backtick_named_rest - "}" backtick - -:backtick_ctrl StringEscape string - * backtick - -:backtick_hex1 StringEscape string - * backtick noeat - "{" backtick_unicode - "0-9a-fA-F" backtick_hex2 - -:backtick_unicode StringEscape string - * backtick_unicode - "}" backtick - -:backtick_hex2 StringEscape string - * backtick noeat - "0-9a-fA-F" backtick - -:backtick_octal2 StringEscape string - * backtick noeat - "0-7" backtick_octal3 - -:backtick_octal3 StringEscape string - * backtick noeat - "0-7" backtick - -# TODO: Tease out the variable logic from this so that we can highlight -# variables separate from other identifiers. - -:ident Ident - * rest noeat strings - "BEGIN" kw - "END" kw - "if" cond - "unless" cond - "while" loop - "until" loop - "foreach" loop - "sub" struct - "my" kw - "do" loop - "if" cond - "else" cond - "elsif" cond - "for" loop - "continue" loop - "last" loop - "print" stmt - "reset" kw - "die" stmt - "goto" stmt - "require" stmt - "use" kw - "eval" kw - "redo" kw - "next" loop - "warn" stmt - "return" stmt - "printf" stmt - "close" stmt - "package" kw - "m" match - "qr" match - "qq" match - "qx" match - "qw" match - "q" match - "s" subst - "tr" subst - "y" subst - "__END__" end_of_file_comment - "__DATA__" end_of_file_comment -done - "\c" ident - -:maybe_string Idle - * rest noeat strings - "qr" match - "qq" match - "qx" match - "qw" match - "q" match -done - "\c" maybe_string - -:type Type - * rest noeat - -:kw Keyword - * rest noeat - -:cond Conditional - * rest noeat - -:loop Loop - * rest noeat - -:struct Structure - * rest noeat - -:stmt Statement - * rest noeat - -:match Idle - * inmatch save_c recolor=-1 - " " match - -:inmatch Regex - * inmatch - % inmatch call=.inmatch() - & rest - "\\" inmatch_quote recolor=-1 - -:inmatch_quote RegexEscape - * inmatch - -:subst Idle - * insubst save_c recolor=-1 - "<([{`" delim_insubst save_c recolor=-1 - " " subst - -:insubst Regex - * insubst - & inrepl - "\\" insubst_quote recolor=-1 - -:insubst_quote RegexEscape - * insubst - -:inrepl Regex - * inrepl - & rest - "\\" inrepl_quote - -:inrepl_quote RegexEscape - * inrepl - -:delim_insubst Regex - * delim_insubst - & delim_repl - "\\" delim_quote - -:delim_quote RegexEscape - * delim_insubst - -:delim_repl Regex - * repl save_c recolor=-1 - " " delim_repl - -:repl Regex - * repl - & rest - "\\" repl_quote - -:repl_quote RegexEscape - * repl - -.end - -.subr inmatch - -:inmatch Regex - * inmatch - % inmatch call=.inmatch() - & inmatch return - "\\" inmatch_quote recolor=-1 - -:inmatch_quote RegexEscape - * inmatch -.end diff --git a/.config/joestar/syntax/php.jsf b/.config/joestar/syntax/php.jsf @@ -1,339 +0,0 @@ -# JOE syntax highlight file for PHP -# modified by Eric Lin - -# TODO: -# * heredoc support (as good as possible) -# * highlight function and class names? - -# Define colors - -=Idle -=Comment -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=Character +Constant -=CharacterEscape +Escape -=Boolean +Constant -=Escape -=Keyword -=Variable +DefinedIdent -=Builtin +DefinedFunc -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=Structure +Statement -=Label +DefinedIdent -=StorageClass +Type +Keyword - -# Call HTML highlighter. It will call the PHP highlighter subroutine in this file. - -:begin Idle - * call_failed noeat call=html.html(php) - -:call_failed Variable - * 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 - "\i" 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 - "\i" here_name buffer - -:here_name Idle - * inhere_doc save_s - "\c" here_name - -:inhere_doc Constant - * inhere_not_eol - "\n" inhere_doc - "\i" inhere_name buffer - -:inhere_not_eol Constant - * inhere_not_eol - "\n" inhere_doc - -:inhere_name Constant - * inhere_doc - ";" inhere_doc strings - "&" idle -done - "\c" inhere_name - -:brace Builtin - * idle noeat - -:php_var Variable - * idle noeat - "\c" php_var - -:var_indqstring Variable - * string_dq recolor=-1 - "\i" var_indqstringr - "\"" string_dq noeat - "\\" string_dq_esc recolor=-1 - -:var_indqstringr Variable - * string_dq recolor=-1 - "\c" var_indqstringr - "\"" string_dq noeat - "\\" string_dq_esc recolor=-1 - -:var_inbqstring Variable - * string_bq recolor=-1 - "\i" var_inbqstringr - "\`" string_bq noeat - "\\" string_bq_esc recolor=-1 - -:var_inbqstringr Variable - * string_bq recolor=-1 - "\c" var_inbqstringr - "\`" string_bq noeat - "\\" string_bq_esc recolor=-1 - -:maybe_method Builtin - * 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 - "\i" ident buffer - "$" php_var recolor=-1 - "{}" brace recolor=-1 - ">" method recolor=-2 - -:method Builtin - * idle recolor=-1 - "\i\c" method recolor=-1 - -:idle_qmark Idle - * idle noeat - ">" idle recolor=-2 return - -:idle_hash Idle - * idle noeat - ">" idle recolor=-2 return - -:sh_comment Comment comment - * sh_comment - "BFHNTX" sh_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:slash Idle - * idle noeat - "*" comment recolor=-2 - "/" line_comment recolor=-2 - -:comment Comment comment - * comment - "*" maybe_end_comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - -:maybe_end_comment Comment comment - * comment - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - "\n" idle - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - -:string_sq Character string - * string_sq - "\'" idle - "\\" string_sq_esc recolor=-1 - -:string_sq_esc CharacterEscape string - * string_sq - "\n" string_sq recolor=-2 - -:string_dq String string - * string_dq - "$" var_indqstring recolor=-1 - "\"" idle - "\\" string_dq_esc recolor=-1 - -:string_dq_esc StringEscape string - * string_dq - "\n" string_dq recolor=-2 - -:string_bq String string - * string_bq - "$" var_inbqstring recolor=-1 - "\`" idle - "\\" string_bq_esc recolor=-1 - -:string_bq_esc StringEscape string - * string_bq - "\n" string_bq recolor=-2 - -:first_digit Number - * idle noeat - "xX" hex - "." float - "0" octal - "1-9" first_number - -:octal Number - * idle noeat - "0-7" octal - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:first_number Number - * idle noeat - "0-9" first_number - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:ident Idle - * idle noeat strings - "addslashes" builtin - "array" builtin - "array_keys" builtin - "count" builtin - "date" builtin - "chr" builtin - "empty" builtin - "end" builtin - "header" builtin - "highlight_file" builtin - "htmlspecialchars" builtin - "isset" builtin - "shuffle" builtin - "strip_tags" builtin - "strlen" builtin - "strpos" builtin - "strrpos" builtin - "substr" builtin - "trim" builtin - "TRUE" bool - "FALSE" bool - "true" bool - "false" bool - "and" oper - "as" oper - "break" loop - "case" label - "class" struct - "continue" loop - "declare" struct - "default" kw - "die" kw - "do" loop - "echo" stmt - "else" cond - "elseif" cond - "eval" kw - "exception" kw - "exit" kw - "extends" struct - "for" loop - "foreach" loop - "function" struct - "global" kw - "if" cond - "include" stmt - "include_once" stmt - "list" kw - "new" kw - "or" oper - "print" stmt - "private" storage - "public" storage - "require" stmt - "require_once" stmt - "return" stmt - "static" storage - "switch" cond - "unset" stmt - "while" loop -done - "\c" ident - -:kw Keyword - * idle noeat - -:builtin Builtin - * idle noeat - -:bool Boolean - * idle noeat - -:var Variable - * mark noeat - -:oper Operator - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:stmt Statement - * idle noeat - -:label Label - * idle noeat - -:struct Structure - * idle noeat - -:storage StorageClass - * idle noeat - -.end diff --git a/.config/joestar/syntax/powershell.jsf b/.config/joestar/syntax/powershell.jsf @@ -1,329 +0,0 @@ -# PowerShell syntax highlighting for Joe's Own Editor -# Oskar Liljeblad <oskar@osk.mine.nu>, 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 -=Ident -=Comment -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=StringEscape +Escape -=StringVariable +StringEscape -=Keyword -=Type -=Operator +Keyword -=Statement +Keyword -=Structure +Statement -=Conditional +Statement -=Loop +Statement -=Variable +DefinedIdent -=VariableEscape +Escape - -=ParamKey +Attr +Operator - -:idle Idle - * idle - "#" comment recolor=-1 - "$" var recolor=-1 mark - "@" var_array recolor=-1 - "<" idle1 - "[" typespec - "\"" string_dq recolor=-1 - "'" string_sq recolor=-1 - "@" idle2 - "a-zA-Z_" ident buffer - "-" param recolor=-1 - -:idle1 Idle - * idle noeat - "#" delim_comment recolor=-2 - -:idle2 Idle - * idle noeat - "\"" herestr_dq recolor=-2 - "'" herestr_sq recolor=-2 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\r\n" idle - -:var_array Variable - * idle noeat - "$?^" idle mark - "a-zA-Z_" var_name - -:var Variable - * idle noeat - "{" var_brack - "$?^" idle - "a-zA-Z_" var_name buffer - -:var_name Variable - * idle noeat recolor=-1 istrings - "true" bool recolormark markend - "false" bool recolormark markend - "null" kw recolormark markend -done - "a-zA-Z0-9_:?" var_name - -:bool Boolean - * idle - -:var_brack Variable - * var_brack - "`" var_escape recolor=-1 - "}" idle - -:var_escape VariableEscape - * var_brack - -:delim_comment Comment comment - * delim_comment - "BFHNTX" delim_comment noeat call=comment_todo.comment_todo() - "#" delim_comment1 - -:delim_comment1 Comment comment - * delim_comment noeat - ">" idle - -:string_dq String string - * string_dq - "\"\n" idle - "$" string_dq_subst recolor=-1 - "`" string_dq_esc recolor=-1 - -:string_dq_subst StringVariable string - * 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 StringVariable string - * string_dq recolor=-1 noeat - "a-zA-Z0-9_:" string_dq_subst_name - "`" string_dq_subst_escape recolor=-1 - -:string_dq_subst_escape VariableEscape string - * string_dq_subst_name - -:string_dq_subst_brack Variable string - * string_dq_subst_brack - "}" string_dq - -:string_dq_subst_parens Variable string - * string_dq_sustr_parens - ")" string_dq - -:string_sq String string - * string_sq - "\'\n" idle - -:string_dq_esc StringEscape string - * string_dq - -:string_sq_esc StringEscape string - * string_sq - -:herestr_dq String string - * herestr_dq - "\"" herestr_dq1 - "$" herestr_dq_subst recolor=-1 - -:herestr_dq1 String string - * herestr_dq noeat - "@" idle - -:herestr_dq_subst Variable string - * 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 Variable string - * herestr_dq recolor=-1 noeat - "a-zA-Z0-9_:" herestr_dq_subst_name - "`" herestr_dq_subst_escape recolor=-1 - -:herestr_dq_subst_escape VariableEscape string - * herestr_dq_subst_name - -:herestr_dq_subst_parens Variable string - * herestr_dq_subst_parens - ")" herestr_dq - -:herestr_sq String string - * herestr_sq - "\'" herestr_sq1 - -:herestr_sq1 String string - * herestr_sq noeat - "@" idle - -:typespec_start Idle - * idle noeat - "\s" typespec_start - "\i.:" typespec noeat - -:typespec Type - * idle noeat - "\i.:\s" typespec - "[" typespec_brack - -:typespec_brack Type - * typespec noeat - "\s" typespec_brack - "]" typespec - -:param ParamKey - * after_param noeat istrings - "-and" oper - "-band" oper - "-bnot" oper - "-bor" oper - "-bxor" oper - "-not" oper - "-or" oper - "-xor" oper - "-f" oper - "-as" oper - "-ccontains" oper - "-ceq" oper - "-cge" oper - "-cgt" oper - "-cle" oper - "-clike" oper - "-clt" oper - "-cmatch" oper - "-cne" oper - "-cnotcontains" oper - "-cnotlike" oper - "-cnotmatch" oper - "-contains" oper - "-creplace" oper - "-csplit" oper - "-eq" oper - "-ge" oper - "-gt" oper - "-icontains" oper - "-ieq" oper - "-ige" oper - "-igt" oper - "-ile" oper - "-ilike" oper - "-ilt" oper - "-imatch" oper - "-in" oper - "-ine" oper - "-inotcontains" oper - "-inotlike" oper - "-inotmatch" oper - "-ireplace" oper - "-is" oper - "-isnot" oper - "-isplit" oper - "-join" oper - "-le" oper - "-like" oper - "-lt" oper - "-match" oper - "-ne" oper - "-notcontains" oper - "-notin" oper - "-notlike" oper - "-notmatch" oper - "-replace" oper - "-shl" oper - "-shr" oper - "-split" oper -done - "a-zA-Z_" param - -:after_param Ident - * herestr_noq noeat - " \t" after_param - -# Unquoted strings (after -parameter key) -:herestr_noq String string - * idle noeat - " \t\r\n" idle recolor=-1 - "\i" herestr_noq - -# After an operator, we do not assume what follows is an unquoted string. -:oper Operator - * idle noeat - -:ident Ident - * idle noeat istrings - "begin" kw - "break" loop - "catch" kw - "class" struct - "continue" loop - "data" kw - "define" kw - "do" loop - "dynamicparam" struct - "else" cond - "elseif" cond - "end" kw - "exit" stmt - "filter" kw - "finally" kw - "for" loop - "foreach" loop - "from" kw - "function" struct - "if" cond - "in" kw - "inlinescript" kw - "parallel" kw - "param" struct - "process" kw - "return" stmt - "switch" cond - "throw" kw - "trap" kw - "try" kw - "until" loop - "using" kw - "var" kw - "while" loop - "workflow" kw -done - "a-zA-Z_\-" ident - -:kw Keyword - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:stmt Statement - * idle noeat - -:struct Structure - * idle noeat diff --git a/.config/joestar/syntax/prolog.jsf b/.config/joestar/syntax/prolog.jsf @@ -1,160 +0,0 @@ -# JOE syntax highlight file for Prolog -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Ident -=Comment -=String +Constant -=Number +Constant -=Escape -=StringEscape +Escape -=Keyword -=Bad - -=Brace -=Variable -=Predicate +DefinedFunction +DefinedIdent - -: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 comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:maybe_comment Idle - * idle noeat - "*" comment recolor=-2 - -:comment Comment comment - * comment - "*" maybe_end_comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - "*" maybe_end_comment - -:brace Brace - * idle noeat - -:string_sq_1 String string - * string_sq noeat - -:string_sq String string - * string_sq - "\'" idle - "\\" string_sq_esc recolor=-1 - -:string_sq_esc StringEscape string - * string_sq - "\n" string_sq recolor=-2 - -:string_dq_1 String string - * string_dq noeat - -:string_dq String string - * string_dq - "\"" idle - "\\" string_dq_esc recolor=-1 - -:string_dq_esc StringEscape string - * string_dq - "\n" string_dq recolor=-2 - -:first_digit Number - * idle noeat - # no float support -# "." float - "0-9" first_number - -:first_number Number - * idle noeat - "0-9" first_number - "." float - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -# list of keywords includes some predicates... -:atom Ident - * 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/.config/joestar/syntax/properties.jsf b/.config/joestar/syntax/properties.jsf @@ -1,89 +0,0 @@ -# JOE syntax highlight file for properties files -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Comment -=Constant -=String +Constant -=StringEscape +Escape -=Escape -=Bad - -=Key +Attr +Type -=KeyEscape +Escape -=Separator +Control - -: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 comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\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 String string - * value - "\\" value_esc recolor=-1 - "\n" line_start - -:value_esc StringEscape string - * value_error recolor=-2 - "u" value_unicode_hex1 - "\n" value_cont - -:value_unicode_hex1 StringEscape string - * value_error recolor=-3 - "A-Fa-f0-9" value_unicode_hex2 - -:value_unicode_hex2 StringEscape string - * value_error recolor=-4 - "A-Fa-f0-9" value_unicode_hex3 - -:value_unicode_hex3 StringEscape string - * value_error recolor=-5 - "A-Fa-f0-9" value_unicode_hex4 - -:value_unicode_hex4 StringEscape string - * value_error recolor=-6 - "A-Fa-f0-9" value - -:value_cont String string - * value - " \t\r" value_cont # leading spaces - -:value_error Bad - * value noeat diff --git a/.config/joestar/syntax/ps.jsf b/.config/joestar/syntax/ps.jsf @@ -1,380 +0,0 @@ -# JOE syntax highlight file for Postscript - -=Idle -=Ident -=Bad -=Comment -=Constant -=Boolean +Constant -=String +Constant -=StringEscape +Escape -=Number +Constant -=Keyword - -:idle Idle - * idle - "%" line_comment recolor=-1 - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "(<" string recolor=-1 save_c - "a-zA-Z_" ident buffer - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - & idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\n" idle - "diouxXeEfFgGaAcspn%SC" string - -:ident Ident - * idle noeat istrings - "exch" kw - "pop" kw - "copy" kw - "dup" kw - "index" kw - "roll" kw - "clear" kw - "count" kw - "mark" kw - "cleartomark" kw - "countomark" kw - "add" kw - "div" kw - "sub" kw - "idiv" kw - "mul" kw - "mod" kw - "abs" kw - "neg" kw - "ceiling" kw - "floor" kw - "round" kw - "truncate" kw - "sqrt" kw - "atan" kw - "cos" kw - "sin" kw - "exp" kw - "ln" kw - "log" kw - "rand" kw - "srand" kw - "rrand" kw - "array" kw - "length" kw - "get" kw - "put" kw - "getinterval" kw - "putinterval" kw - "aload" kw - "astore" kw - "copy" kw - "forall" kw - "dict" kw - "length" kw - "maxlength" kw - "begin" kw - "end" kw - "def" kw - "load" kw - "store" kw - "get" kw - "put" kw - "known" kw - "where" kw - "copy" kw - "forall" kw - "errordict" kw - "systemdict" kw - "userdict" kw - "currentdict" kw - "countdictstack" kw - "dictstack" kw - "string" kw - "length" kw - "get" kw - "put" kw - "getinterval" kw - "putinterval" kw - "copy" kw - "forall" kw - "anchorsearch" kw - "search" kw - "token" kw - "eq" kw - "ne" kw - "ge" kw - "gt" kw - "le" kw - "lt" kw - "and" kw - "not" kw - "or" kw - "xor" kw - "true" bool - "false" bool - "bitshift" kw - "exec" kw - "if" kw - "ifelse" kw - "for" kw - "repeat" kw - "loop" kw - "exit" kw - "stop" kw - "stopped" kw - "countexecstack" kw - "execstack" kw - "quit" kw - "start" kw - "type" kw - "cvlit" kw - "cvx" kw - "xcheck" kw - "executeonly" kw - "noaccess" kw - "readonly" kw - "rcheck" kw - "wcheck" kw - "cvi" kw - "cvn" kw - "cvr" kw - "cvrs" kw - "cvs" kw - "file" kw - "closefile" kw - "read" kw - "write" kw - "readhexstring" kw - "writehexstring" kw - "readstring" kw - "writestring" kw - "readline" kw - "token" kw - "bytesavailable" kw - "flush" kw - "flushfile" kw - "resetfile" kw - "status" kw - "run" kw - "currentfile" kw - "print" kw - "stack" kw - "pstack" kw - "prompt" kw - "echo" kw - "save" kw - "restore" kw - "vmstatus" kw - "bind" kw - "null" kw - "usertime" kw - "version" kw - "gsave" kw - "grestore" kw - "grestoreall" kw - "initgraphics" kw - "setlinewidth" kw - "currentlinewidth" kw - "setlinecap" kw - "currentlinecap" kw - "setlinejoin" kw - "currentlinejoin" kw - "setmiterlimit" kw - "currentmiterlimit" kw - "setdash" kw - "currentdash" kw - "setflat" kw - "currentflat" kw - "setgray" kw - "currentgray" kw - "sethsbcolor" kw - "currenthsbcolor" kw - "setrgbcolor" kw - "currentrgbcolor" kw - "setscreen" kw - "currentscreen" kw - "settransfer" kw - "currenttransfer" kw - "matrix" kw - "initmatrix" kw - "identmatrix" kw - "defaultmatrix" kw - "currentmatrix" kw - "setmatrix" kw - "translate" kw - "translate" kw - "scale" kw - "scale" kw - "rotate" kw - "concat" kw - "concatmatrix" kw - "transform" kw - "transform" kw - "dtransform" kw - "dtransform" kw - "itransform" kw - "itransform" kw - "idtransform" kw - "idtransform" kw - "invertmatrix" kw - "newpath" kw - "currentpoint" kw - "moveto" kw - "rmoveto" kw - "lineto" kw - "rlineto" kw - "arc" kw - "arcn" kw - "arcto" kw - "curveto" kw - "rcurveto" kw - "closepath" kw - "flattenpath" kw - "reversepath" kw - "strokepath" kw - "charpath" kw - "clippath" kw - "pathbbox" kw - "pathforall" kw - "initclip" kw - "clip" kw - "eoclip" kw - "erasepage" kw - "fill" kw - "eofill" kw - "stroke" kw - "image" kw - "imagemask" kw - "showpage" kw - "copypage" kw - "banddevice" kw - "framedevice" kw - "nulldevice" kw - "renderbands" kw - "definefont" kw - "findfont" kw - "scalefont" kw - "makefont" kw - "setfont" kw - "currentfont" kw - "show" kw - "ashow" kw - "widthshow" kw - "awidthshow" kw - "kshow" kw - "stringwidth" kw - "cachestatus" kw - "setcachedevice" kw - "setcharwidth" kw - "setcachelimit" kw - "dictfull" kw - "dictstackoverflow" kw - "dictstackunderflow" kw - "execstackoverflow" kw - "handleerror" kw - "interrupt" kw - "invalidaccess" kw - "invalidexit" kw - "invalidfileaccess" kw - "invalidfont" kw - "invalidrestore" kw - "ioerror" kw - "limitcheck" kw - "nocurrentpoint" kw - "rangecheck" kw - "stackoverflow" kw - "stackunderflow" kw - "syntaxerror" kw - "timeout" kw - "typecheck" kw - "undefined" kw - "undefinedfilename" kw - "undefinedresult" kw - "unmatchedmark" kw - "unregistered" kw -done - "a-zA-Z0-9_\-" ident - -:kw Keyword - * idle noeat - -:bool Boolean - * idle noeat diff --git a/.config/joestar/syntax/puppet.jsf b/.config/joestar/syntax/puppet.jsf @@ -1,167 +0,0 @@ -# JOE syntax highlight file for Puppet -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Ident -=Comment -=Constant -=Number +Constant -=String +Constant -=Regex +String -=StringEscape +Escape -=StringVariable +StringEscape -=RegexEscape +StringEscape -=Type -=Keyword -=Bad -=Variable +DefinedIdent -=Brace - -=KeywordAttr +Attr +Type - -: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 comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:bad_number Bad - * idle noeat - "0-9" bad_number - -:octal Number - * idle noeat - "0-7_" octal - "89" bad_number recolor=-1 - -:decimal Number - * idle noeat - "0-9_" decimal - -:char String string - * char - "'" idle - -:string String string - * string - "\"" idle - "$" maybe_string_subst recolor=-1 - -:maybe_string_subst String string - * string noeat - "{" string_subst recolor=-2 - -:string_subst StringVariable string - * string_subst - "}" string - -:regex Regex string - * regex - "\\" regex_quote recolor=-1 - "/" idle - -:regex_quote RegexEscape string - * regex - -:variable Variable - * idle noeat - "a-zA-Z0-9_" variable - -:type Type - * idle noeat - "a-zA-Z0-9_" type - -:ident Ident - * 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/.config/joestar/syntax/python.jsf b/.config/joestar/syntax/python.jsf @@ -1,403 +0,0 @@ -# JOE syntax highlight file for Python - -=Idle -=Ident -=Comment -=Docstring +Comment -=DocstringLabel +Docstring -=DocEscape +Escape +Docstring -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=StringEscape +Escape -=Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement -=StorageClass +Type +Keyword -=Operator +Keyword -=Bad -=Brace - -=DefinedIdent +Ident -=DefinedFunction +DefinedIdent -=DefinedType +DefinedIdent -=SpecialIdent +Ident -=Decorator +Define +Preproc -=Builtin +DefinedFunction - -:idle Idle - * idle - "#" comment recolor=-1 - "0-9" first_digit recolor=-1 - "'\"" string_quot_1 recolor=-1 save_c - "\i" ident noeat - "{}" brace recolor=-1 - "@" decorator recolor=-1 - -:brace Brace - * idle noeat - -# annotations -:decorator Decorator - * decorator - " (\t\r\n" idle noeat - -:comment Comment comment - * comment - # might be TODO label - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * idle noeat - "xX" hex - "." float - "eE" epart - "0-9" first_number - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:first_number Number - * idle noeat - "0-9" first_number - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:ident Ident - * ident1 noeat buffer - "_" priv_member recolor=-1 - -:ident1 Ident - * idle noeat strings - "and" oper - "as" stmt - "assert" stmt - "break" loop - "class" classstmt - "continue" loop - "def" defstmt - "del" stmt - "elif" cond - "else" cond - "except" stmt - "finally" stmt - "for" loop - "from" stmt - "global" stmt - "if" cond - "import" stmt - "in" oper - "is" oper - "lambda" kw - "not" oper - "or" oper - "pass" stmt - "raise" stmt - "return" stmt - "try" stmt - "while" loop - "with" stmt - "yield" stmt - - # quasi-keywords - "False" bool - "True" bool - "None" kw - - # builtins - "abs" builtin - "all" builtin - "any" builtin - "ascii" builtin - "bin" builtin - "bool" builtin - "bytearray" builtin - "bytes" builtin - "callable" builtin - "chr" builtin - "classmethod" builtin - "compile" builtin - "complex" builtin - "copyright" builtin - "credits" builtin - "delattr" builtin - "dict" builtin - "dir" builtin - "divmod" builtin - "enumerate" builtin - "eval" builtin - "exec" builtin - "exit" builtin - "filter" builtin - "float" builtin - "format" builtin - "frozenset" builtin - "getattr" builtin - "globals" builtin - "hasattr" builtin - "hash" builtin - "help" builtin - "hex" builtin - "id" builtin - "input" builtin - "int" builtin - "isinstance" builtin - "issubclass" builtin - "iter" builtin - "len" builtin - "license" builtin - "list" builtin - "locals" builtin - "map" builtin - "max" builtin - "memoryview" builtin - "min" builtin - "next" builtin - "object" builtin - "oct" builtin - "open" builtin - "ord" builtin - "pow" builtin - "print" builtin - "property" builtin - "quit" builtin - "range" builtin - "repr" builtin - "reversed" builtin - "round" builtin - "set" builtin - "setattr" builtin - "slice" builtin - "sorted" builtin - "staticmethod" builtin - "str" builtin - "sum" builtin - "super" builtin - "tuple" builtin - "type" builtin - "vars" builtin - "zip" builtin - -done - "'\"" idle noeat istrings - "u" string_pre - "b" string_pre - "r" string_raw_pre - "br" string_raw_pre - "rb" string_raw_pre -done - "\c" ident1 - -:kw Keyword - * idle noeat - -:cond Conditional - * idle noeat - -:oper Operator - * idle noeat - -:bool Boolean - * idle noeat - -:loop Loop - * idle noeat - -:stmt Statement - * idle noeat - -:builtin Builtin - * idle noeat - -:classstmt Statement - * idle noeat recolor=-1 - "\i" classstmt - " \t" classname_1 - -:classname_1 DefinedType - * classname - -:classname DefinedType - * idle noeat recolor=-1 - "\c" classname - -:defstmt Statement - * idle noeat recolor=-1 - "\i" defstmt - " \t" defname_1 - -:defname_1 DefinedFunction - * defname - -:defname DefinedFunction - * idle noeat recolor=-1 - "\c" defname - -:priv_member SpecialIdent - * idle noeat - "\c" priv_member - -# Handle string prefixes up to the string itself. -:string_pre String string - * idle noeat - "'\"" string_quot_1 save_c - -:string_raw_pre String string - * idle noeat - "'\"" string_quot_raw_1 save_c - -# Differentiate between docstrings and regular strings, carrying with it raw state -:string_quot_1 String string - * idle call=.string() noeat - & string_quot_2 - -:string_quot_2 String string - * idle noeat - & idle call=.string(docstring) recolor=-3 - -:string_quot_raw_1 String string - * idle call=.string(raw) - & string_quot_raw_2 - -:string_quot_raw_2 String string - * idle noeat - & idle call=.string(docstring raw) recolor=-3 - -.subr string - -.ifdef docstring # Long strings -:string Docstring string - * string - "BFHNTX" string noeat call=.comment_todo_docstr() -.ifdef raw -.else - "\\" string_esc mark -.endif - & doc_end_1 - -:doc_end_1 Docstring string - * string noeat - & doc_end_2 - -:doc_end_2 Docstring string - * string noeat - & string return - -.else # Short strings - -:string String string - * string - "\n" string return -.ifdef raw -.else - "\\" string_esc mark -.endif - & string return - -.endif - -:string_esc String string - * string_esc_done - "x" string_hex2 - "u" string_hex4 - "U" string_hex8 - "0-7" string_octal2 - "\n" string_esc_done - -# Recolor whole escape sequence based on whether this is a docstring. -:string_esc_done String string - * string_esc_really_done noeat markend recolormark - -.ifdef docstring -:string_esc_really_done DocEscape - * string noeat -.else -:string_esc_really_done StringEscape string - * string noeat -.endif - -:string_hex1 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_esc_done - -:string_hex2 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex1 - -:string_hex3 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex2 - -:string_hex4 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex3 - -:string_hex5 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex4 - -:string_hex6 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex5 - -:string_hex7 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex6 - -:string_hex8 StringEscape string - * string_esc_done noeat - "0-9a-fA-F" string_hex7 - -:string_octal1 StringEscape string - * string_esc_done noeat - "0-7" string_esc_done - -:string_octal2 StringEscape string - * string_esc_done noeat - "0-7" string_octal1 - -.end - -.subr comment_todo_docstr -# initial state -:comment_todo_init Docstring string - * comment_todo_guess buffer - -# highlight common TODO labels -:comment_todo_guess Docstring string - * 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 string - * NULL noeat return - -:comment_todo DocstringLabel string - * NULL noeat return -.end diff --git a/.config/joestar/syntax/r.jsf b/.config/joestar/syntax/r.jsf @@ -1,175 +0,0 @@ -# JOE syntax highlight file for R - -=Idle -=Ident -=Bad -=Comment -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=Character +Constant -=CharacterEscape +Escape -=Boolean +Constant -=Escape -=Keyword -=Brace -=Control - -:idle Idle - * idle - "#" line_comment recolor=-1 - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float buffer - "\"" string recolor=-1 - "'" char recolor=-1 - "\p{L}\p{Nl}" ident buffer - "\\" outside_escape recolor=-1 - "{}" brace recolor=-1 - "/,:;=()><[]*&|!~+\-%^" control recolor=-1 - -:outside_escape Escape - * idle - -:brace Brace - * idle noeat - -:control Control - * idle noeat - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * idle noeat - "xX" hex - "." float - "eE" epart - "0-9" decimal - "L" idle - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - "L" idle - -:maybe_float Number - * idle recolor=-2 noeat - "\i." ident recolor=-2 - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - "L" idle - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - "L" idle - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex - "0-7" string_octal2 - "\n" string recolor=-2 - -# \x will consume all successive hex digits (ANSI C). -:string_hex StringEscape string - * string noeat - "0-9a-fA-F" string_hex - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string - "\"" string noeat - "\n" idle - "\\" string_escape recolor=-1 - "0-9.\-+ #hjILtz$" string_control - -:char Character string - * char - "\n" idle - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape string - * char - "x" char_hex - "0-7" char_octal2 - "\n" char recolor=-2 - -# \x will consume all successive hex digits (ANSI C). -:char_hex CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex - -:char_octal2 CharacterEscape string - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char noeat - "0-7" char - -# It feels to me like this could use some more work... - -:ident Ident - * idle noeat strings - "TRUE" bool - "FALSE" bool - "NULL" val - "Inf" val - "NaN" val - "NA" val - "NA_integer_" val - "NA_real_" val - "NA_complex_" val - "NA_character_" val - "if" kw - "else" kw - "repeat" kw - "while" kw - "function" kw - "for" kw - "in" kw - "next" kw - "break" kw -done - "\c." ident - -:bool Boolean - * idle noeat - -:val Constant - * idle noeat - -:kw Keyword - * idle noeat diff --git a/.config/joestar/syntax/rexx.jsf b/.config/joestar/syntax/rexx.jsf @@ -1,82 +0,0 @@ -# JOE syntax highlight file for REXX - -=Idle -=Bad -=Comment -=Constant -=String +Constant -=Keyword - -:idle Idle - * idle - "\"" dquote recolor=-1 - "'" squote recolor=-1 - "a-zA-Z.!?@_0-9" symbol buffer - "/" idle call=.maybe_comment() - -:symbol Idle - * idle noeat istrings - "address" kw - "arg" kw - "call" kw - "do" kw - "drop" kw - "exit" kw - "if" kw - "interpret" kw - "iterate" kw - "leave" kw - "nop" kw - "numeric" kw - "options" kw - "parse" kw - "procedure" kw - "pull" kw - "push" kw - "queue" kw - "return" kw - "say" kw - "select" kw - "signal" kw - "trace" kw - "upper" kw - "then" kw - "end" kw - "else" kw - "when" kw - "otherwise" kw -done - "a-zA-Z.!?@_0-9" symbol - -:kw Keyword - * idle noeat - -:squote String string - * squote - "'" idle - -:dquote String string - * dquote - "\"" idle - -# -# Subroutine to parse recursive /* */ comments -# - -.subr maybe_comment - -:maybe_comment Idle - * maybe_comment return noeat - "*" comment recolor=-2 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_done - "/" comment call=.maybe_comment() - -:maybe_done Comment comment - * comment noeat - "/" comment return - -.end diff --git a/.config/joestar/syntax/ruby.jsf b/.config/joestar/syntax/ruby.jsf @@ -1,703 +0,0 @@ -# JOE syntax highlight file for Ruby - -# Glitches: -# <<EOF1, <<EOF2 is not working. Only EOF1 is seen. It should wait for the -# EOF2. - -=Idle -=Comment -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=StringVariable +StringEscape -=Regex +String -=RegexEscape +StringEscape -=Boolean +Constant -=Escape -=Type -=Keyword -=Statement +Keyword -=Operator +Keyword -=Conditional +Statement -=Loop +Statement -=Label +DefinedIdent -=StorageClass +Type +Keyword -=Structure +Statement - -=Bad -=Brace - -=Symbol +Constant +DefinedIdent -=SymbolEscape +Escape -=ProcArg +DefinedIdent -=GlobalVar +Builtin # TODO: No good class for this. - -=DefinedType +DefinedIdent +Ident -=DefinedFunction +DefinedIdent +Ident -=ClassMember +Variable +DefinedIdent - -=POD +Preproc - -# Detect pod - -:pre_idle Idle - * NULL noeat call=.ruby() - -.subr ruby - -:idle Idle - * rest noeat - "=" pod_start - -# Rest of line - -:rest Idle - * rest - "(" after_term call=.ruby(paren) - "[" after_term call=.ruby(brack) - "{" do_brace recolor=-1 noeat -.ifdef paren - ")" rest return -.else - ")" stray recolor=-1 -.endif -.ifdef brack - "]" rest return -.else - "]" stray recolor=-1 -.endif -.ifdef squiggly - "}" brace recolor=-1 return -.else - "}" stray recolor=-1 -.endif - "#" line_comment recolor=-1 -.ifdef haml - "\n" NULL return -.else - "\n" idle -.endif - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." ident_no_kw - "\"" string recolor=-1 - "'" char recolor=-1 - "`" backtick recolor=-1 - "/" regex recolor=-1 - "<" maybe_inc - "$" not_string buffer - "%" pstring - "\i" ident buffer - "?" opr - - # higher level, ruby specific - ":" maybe_symbol -# "|" proc_arg - "@" class_member1 - -:opr Idle - * rest noeat - "/" rest - "%" rest - -:do_brace Brace - * rest noeat - "{" brace call=.ruby(squiggly) - -:brace Brace - * after_term noeat - -:stray Bad - * rest - - -# / / regex not allowed after terms - -:after_term Idle - * rest noeat - " \t" after_term -.ifdef erb - "/" rest - "%" after_term_erb_end -.else - "/%" rest -.endif - -:after_term_erb_end Idle - * rest noeat - ">" 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 - "\c" 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 - "\i" inc buffer noeat - -:allow_space Idle - * after_term noeat - "'\"" quoted_inc_start_allow save_c recolor=-1 - "\i" inc_allow buffer noeat - -:quoted_inc_start StringVariable string - * quoted_inc buffer - -:quoted_inc_start_allow StringVariable string - * quoted_inc_allow buffer - -:quoted_inc StringVariable string - * quoted_inc - & skipline save_s - -:quoted_inc_allow StringVariable string - * quoted_inc_allow - & skipline_allow save_s - -:inc StringVariable string - * skipline save_s noeat - "\c" inc - -:inc_allow StringVariable string - * skipline_allow save_s noeat - "\c" 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 String string - * todelim - "\n" next_line strings - "&" founddelim -done - -:todelim_allow String string - * todelim_allow - "\n" next_line_allow strings - "&" founddelim -done - -# eat \n so it's not in string. -:next_line String string - * todelim buffer - "\n" next_line - -:next_line_allow String string - * todelim_allow buffer - " \t\n" next_line_allow - -:founddelim StringEscape string - * idle noeat - -:regex Regex string - * regex - "\\" regex_quote recolor=-1 - "/" after_term - -:regex_quote RegexEscape string - * regex - -:not_string Idle - * rest noeat - "\c" global_var recolor=-2 - "\"'`#/" rest - -:brace Brace - * rest noeat - -:line_comment Comment comment - * line_comment -.ifdef erb - "%" line_comment_maybe_erb_end -.endif - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() -.ifdef haml - "\n" NULL return -.else - "\n" idle -.endif - -:line_comment_maybe_erb_end Comment comment - ">" NULL recolor=-2 return - -:end_of_file_comment Comment comment - * end_of_file_comment - -:first_digit Number - * after_term noeat - "x" hex - "b" binary - "." maybe_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 - -:binary Number - * after_term noeat - "01_" binary - "2-9" bad_number recolor=-1 - -:hex Number - * after_term noeat - "0-9A-Fa-f_" hex - -:decimal Number - * after_term noeat - "0-9_" decimal - "eE" epart - "." maybe_float - -:maybe_float Idle - * after_term noeat recolor=-2 - "0-9" float 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 - * string - "\"" after_term - "\\" string_escape recolor=-1 - "#" maybe_string_subst recolor=-1 - -:maybe_string_subst String string - * string noeat - "{" string_subst_begin recolor=-2 - -:string_subst_begin StringEscape string - * string_subst noeat call=.ruby(squiggly) - -:string_subst StringEscape string - * string noeat - -: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 String string - * char - "\n" reset - "'" after_term - "\\" char_escape recolor=-1 - -:char_escape Escape - * char recolor=-2 - "\\'" char - -:backtick String string - * backtick - "`" after_term - "\\" backtick_escape recolor=-1 - "$@" backtick_subst recolor=-1 - -:backtick_subst Escape - * backtick noeat recolor=-1 - "\c" 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=-2 - "1-9" decimal recolor=-2 - "\i" ident_no_kw1 - -:ident_no_kw1 Idle - * after_term noeat - "\c?!" ident_no_kw1 - -:ident Idle - * after_term noeat strings - "BEGIN" kw - "END" kw - "alias" kw_after - "and" oper - "begin" kw - "break" loop - "case" label - "catch" stmt - "class" kw_class - "def" kw_def - "defined" kw - "do" loop - "else" cond - "elsif" cond - "end" kw - "ensure" kw - "fail" kw - "false" bool - "for" loop - "if" cond - "in" oper - "lambda" kw - "module" kw_class - "next" kw - "nil" const - "not" oper - "or" oper - "private" storage - "proc" kw - "protected" storage - "public" storage - "raise" stmt - "redo" kw - "rescue" kw - "retry" stmt - "return" stmt - "self" kw_after - "super" kw - "then" cond - "throw" stmt - "true" bool - "undef" stmt - "unless" cond - "until" loop - "when" loop - "while" loop - "yield" stmt - # 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 - "\c?!" ident - -:bool Boolean - * rest noeat - -:loop Loop - * rest noeat - -:cond Conditional - * rest noeat - -:oper Operator - * rest noeat - -:kw Keyword - * rest noeat - -:label Label - * rest noeat - -:const Constant - * rest noeat - -:storage StorageClass - * rest noeat - -:struct Structure - * rest noeat - -:const Constant - * rest noeat - -:stmt Statement - * rest noeat - -# Handle case of def / -:kw_after Keyword - * after_term noeat - -:kw_def Structure - * after_term noeat - " \t\n" kw_def_space - -:kw_def_space Idle - * rest noeat - "\i" kw_func_decl noeat - " \t\n" kw_def_space - -:kw_func_decl DefinedFunction - * rest noeat - "\c!?" kw_func_decl - -:kw_class Structure - * rest noeat - " \t\n" kw_class_space - -:kw_class_space Idle - * rest noeat - # first char should be uppercase letter - "\i" kw_class_decl noeat - " \t\n" kw_class_space - -:kw_class_decl DefinedType - * rest noeat - "\c!?" kw_class_decl - -:pstring Idle - * match noeat - " \t" after_term noeat - "xrsqQwW" match -.ifdef erb - ">" NULL recolor=-2 return -.endif - -:match Idle - * inmatch save_c recolor=-1 - " \t" match - -:inmatch Regex string - * inmatch - & after_term - % inmatch call=.inmatch_recur() - "#" inmatch_maybe_subst - "\\" inmatch_quote recolor=-1 - -:inmatch_maybe_subst Regex string - * inmatch noeat - "{" inmatch_subst recolor=-2 call=.ruby(squiggly) - -:inmatch_subst Idle - * inmatch noeat - -:inmatch_quote RegexEscape string - * inmatch - -:subst Idle - * insubst save_c recolor=-1 - "<([{`" delim_insubst save_c recolor=-1 - " \t" subst - -:insubst Regex string - * insubst - & inrepl - "\\" insubst_quote recolor=-1 - -:insubst_quote RegexEscape string - * insubst - -:inrepl Regex string - * inrepl - & after_term - "\\" inrepl_quote - -:inrepl_quote RegexEscape string - * inrepl - -:delim_insubst Regex string - * delim_insubst - & delim_repl - "\\" delim_quote - -:delim_quote RegexEscape string - * delim_insubst - -:delim_repl Regex string - * repl save_c recolor=-1 - " \t" delim_repl - -:repl Regex string - * repl - & after_term - "\\" repl_quote - -:repl_quote RegexEscape string - * repl - -:maybe_symbol Idle - * rest noeat - # prevent wrong Module::Member detection - ":" rest - # first char mustn't be 0-9 - "\i" symbol recolor=-2 - "\"" symbol_str recolor=-2 - "'" symbol_str_sq recolor=-2 - "/" rest - -:symbol Symbol - * rest noeat - "\c?!" 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 call=.ruby(squiggly) - -:symbol_str_subst Idle - * symbol_str noeat - -:symbol_str_sq Symbol - * symbol_str_sq - "'" after_term - -:proc_arg ProcArg - * rest noeat - "," proc_arg_sep noeat - "\i" proc_arg - -:proc_arg_sep Idle - * proc_arg - -:class_member1 Idle - * rest noeat - "\i" class_member recolor=-2 - "@" class_member2 - -:class_member2 ClassMember - * rest noeat - "\i" class_member recolor=-3 - -:class_member ClassMember - * after_term noeat - "\c" class_member - -:global_var GlobalVar - * after_term noeat - "\c" global_var - -.end - -.subr inmatch_recur - -:inmatch Constant - * inmatch - & after_term return - % inmatch call=.inmatch_recur() - "#" inmatch_maybe_subst - "\\" inmatch_quote recolor=-1 - -:inmatch_maybe_subst Constant - * inmatch noeat - "{" inmatch_subst recolor=-2 call=.ruby(squiggly) - -:inmatch_subst Idle - * inmatch noeat - -:inmatch_quote Escape - * inmatch - -.end diff --git a/.config/joestar/syntax/rust.jsf b/.config/joestar/syntax/rust.jsf @@ -1,402 +0,0 @@ -# JOE syntax highlight file for Rust - -=Idle -=Ident -=Comment -=Constant -=Number +Constant -=Boolean +Constant -=String +Constant -=StringEscape +Escape -=Character +Constant -=CharacterEscape +Escape - -=Keyword -=Operator +Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=StorageClass +Type +Keyword -=Structure +Statement - -=Bad -=Brace - -:pre_idle Idle - * NULL noeat call=.rust() - -.subr rust - -# #! allowed on first line - -:idle Idle - * idle - "{}" brace recolor=-1 - "0" zero recolor=-1 - "1-9" decimal recolor=-1 - "." decimal_point recolor=-1 - "\"" string recolor=-1 - "'" char recolor=-1 - "/" slash recolor=-1 - "\i" ident buffer - -:slash Idle - * idle noeat - "*" comment recolor=-2 - "/" line_comment recolor=-2 - -:brace Brace - * idle noeat - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -# Numbers - -:bad_number Bad - * idle noeat - "0-9" bad_number - -:zero Number - * idle noeat - "b" binary - "o" octal - "x" hex - "." float - "eE" epart - "0-9" decimal recolor=-1 - "ui" int_suffix - "f" float_suffix - -:decimal_point Number - * idle noeat recolor=-2 - "0-9" float - -:octal Number - * idle noeat - "0-7_" octal - "89" bad_number recolor=-1 - "ui" int_suffix - -:binary Number - * idle noeat - "01_" binary - "2-9" bad_number recolor=-1 - "ui" int_suffix - -:hex Number - * idle noeat - "0-9A-Fa-f_" hex - "ui" int_suffix - -:decimal Number - * idle noeat - "0-9_" decimal - "eE" epart - "." float - "ui" int_suffix - "f" float_suffix - -:float Number - * idle noeat - "eE" epart - "0-9_" float - "ui" int_suffix - "f" float_suffix - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9_" enum - "ui" int_suffix - "f" float_suffix - -:float_suffix Number - * bad_number noeat recolor=-1 - "3" float_suffix_1 - "6" float_suffix_2 - -:float_suffix_1 Number - * bad_number noeat recolor=-1 - "2" idle - -:float_suffix_2 Number - * bad_number noeat recolor=-1 - "4" idle - -:int_suffix Number - * bad_number noeat recolor=-1 - "3" int_suffix_1 - "6" int_suffix_2 - "s" int_suffix_3 - -:int_suffix_1 Number - * bad_number noeat recolor=-1 - "2" idle - -:int_suffix_2 Number - * bad_number noeat recolor=-1 - "4" idle - -:int_suffix_3 Number - * bad_number noeat recolor=-2 - "i" int_suffix_4 - -:int_suffix_4 Number - * bad_number noeat recolor=-3 - "z" int_suffix_5 - -:int_suffix_5 Number - * bad_number noeat recolor=-4 - "e" idle - -# strings like "hello" - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex2 - "u" string_maybe_uni - -:string_maybe_uni StringEscape string - * string noeat - "{" string_uni - -:string_uni StringEscape string - * string_uni - "}" string - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string_hex1 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string - -# character constants like 'h' - -:char Character string - * char_done - "\\" char_escape recolor=-1 - -:char_done Character string - * idle noeat recolor=-3 - "\'" idle - -:char_escape CharacterEscape string - * char_done noeat - "x" char_hex2 - "u" char_maybe_uni - -:char_maybe_uni CharacterEscape string - * char_done noeat - "{" char_uni - -:char_uni CharacterEscape string - * char_uni - "}" char_done - -:char_hex2 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_hex1 - -:char_hex1 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char - -# Raw strings like r"hello" or r##"hello, "world""## -# The number of #'s is technically unbounded, but we'll limit to 4. - -:raw_string_pre Ident - * ident noeat - "\"" raw_string_0 recolor=-2 - "#" raw_string_pre_1 recolor=-2 - -:raw_string_pre_1 String string - * raw_string_bad recolor=-3 - "\"" raw_string_1 - "#" raw_string_pre_2 - -:raw_string_pre_2 String string - * raw_string_bad recolor=-4 - "\"" raw_string_2 - "#" raw_string_pre_3 - -:raw_string_pre_3 String string - * raw_string_bad recolor=-5 - "\"" raw_string_3 - "#" raw_string_pre_4 - -:raw_string_pre_4 String string - * raw_string_bad recolor=-6 - "#\"" raw_string_4 # More than 4? too bad. - -:raw_string_0 String string - * raw_string_0 - "\"" idle - -:raw_string_1 String string - * raw_string_1 - "\"" raw_string_end_1 - -:raw_string_2 String string - * raw_string_2 - "\"" raw_string_end_2 buffer - -:raw_string_3 String string - * raw_string_3 - "\"" raw_string_end_3 buffer - -:raw_string_4 String string - * raw_string_4 - "\"" raw_string_end_4 buffer - -:raw_string_end_1 String string - * raw_string_1 noeat - "#" idle - -:raw_string_end_2 String string - * raw_string_2 noeat strings - "\"##" raw_string_end -done - "#" raw_string_end_2 - -:raw_string_end_3 String string - * raw_string_3 noeat strings - "\"###" raw_string_end -done - "#" raw_string_end_3 - -:raw_string_end_4 String string - * raw_string_4 noeat strings - "\"####" raw_string_end -done - "#" raw_string_end_4 - -:raw_string_end String string - * idle noeat - -:raw_string_bad Bad - * idle noeat - -# Byte string literals b"foo bar" - -:byte_string_pre Ident - * ident noeat recolor=-1 - "\"" string recolor=-2 - -# Raw byte string literals br"hello world" and br###"Hello, "world""### - -:raw_byte_string_pre Ident - * ident noeat - "\"" raw_string_0 recolor=-3 - "#" raw_string_pre_1 recolor=-3 - -# Identifiers - -:ident Ident - * idle noeat strings - "abstract" storage - "alignof" kw - "as" operator - "become" kw - "box" kw - "break" loop - "const" storage - "continue" loop - "crate" kw - "do" loop - "else" cond - "enum" struct - "extern" storage - "false" bool - "final" storage - "fn" struct - "for" loop - "if" cond - "impl" kw - "in" operator - "let" kw - "loop" loop - "macro" kw - "match" kw - "mod" kw # operator? - "move" kw - "mut" kw - "offsetof" kw - "override" storage - "priv" storage - "proc" kw - "pub" storage - "pure" storage - "ref" kw - "return" stmt - "Self" kw - "self" kw - "sizeof" kw # operator? - "static" storage - "struct" struct - "super" kw - "trait" kw - "true" bool - "type" kw - "typeof" kw # operator? - "unsafe" storage - "unsized" kw # storage? - "use" kw - "virtual" storage - "where" kw - "while" loop - "yield" stmt - - # String/byte prefixes - "r" raw_string_pre - "b" byte_string_pre - "br" raw_byte_string_pre -done - "\c" ident - -:kw Keyword - * idle noeat - -:lit Constant - * idle noeat - -:bool Boolean - * idle noeat - -:operator Operator - * idle noeat - -:storage StorageClass - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat - -:struct Structure - * idle noeat - -.end diff --git a/.config/joestar/syntax/scala.jsf b/.config/joestar/syntax/scala.jsf @@ -1,357 +0,0 @@ -# JOE syntax highlight file for Scala - -=Idle -=Ident -=Comment -=Constant -=Number +Constant -=String +Constant -=StringEscape +Escape -=Character +Constant -=CharacterEscape +Escape -=Boolean +Constant -=Type -=DefinedFunction +DefinedIdent - -=Keyword -=Operator +Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement -=Structure +Statement -=StorageClass +Type +Keyword - -=Bad -=Brace -=Control - -=Methods - -:begin Idle - * begin noeat call=.scala() - -.subr scala - -:idle Idle - * idle - "\n" idle - "/" slash - "0" first_digit recolor=-1 - "1-9" decimal recolor=-1 - "." maybe_float - "\"" maybe_string recolor=-1 - "'" char recolor=-1 - "\i\p{Sc}" 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 - * comment - # might be TODO label - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - # might be TODO label - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * idle noeat - "lLfF" idle - "xX" hex - "." float - "eE" epart - "0-7" octal - "89" bad_number recolor=-1 - -:bad_number Bad - * idle noeat - "0-9" bad_number - -:octal Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - "lL" idle - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - "lL" idle - -:decimal Number - * idle noeat - "0-9" decimal - "lLfF" idle - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "\i\p{Sc}" not_ident recolor=-2 - "0-9" float recolor=-2 - -:not_ident Idle - * idle noeat - "\c\p{Sc}" not_ident - -:float Number - * idle noeat - "eE" epart - "0-9" float - "fFlL" idle - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - "fFlL" idle - -:maybe_string String string - * string noeat - "\"" maybe_string_1 - -:maybe_string_1 String string - * idle noeat - "\"" stringstring - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "u" string_uni1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_uni1 StringEscape string - * string noeat - "0-9a-fA-F" string_uni2 - -:string_uni2 StringEscape string - * string noeat - "0-9a-fA-F" string_uni3 - -:string_uni3 StringEscape string - * string noeat - "0-9a-fA-F" string_uni4 - -:string_uni4 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string_control - "\n" idle - "\"" string noeat - "diouxXeEfFgGaAcspn%SCM" string - -:stringstring String string - * stringstring - "\"" stringstring_1 - "\\" stringstring_escape recolor=-1 - "%" stringstring_control recolor=-1 - -:stringstring_1 String string - * stringstring noeat - "\"" stringstring_2 - -:stringstring_2 String string - * stringstring noeat - "\"" idle - -:stringstring_escape StringEscape string - * stringstring - "u" stringstring_uni1 - "0-7" stringstring_octal2 - "\n" stringstring recolor=-2 - -:stringstring_uni1 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring_uni2 - -:stringstring_uni2 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring_uni3 - -:stringstring_uni3 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring_uni4 - -:stringstring_uni4 StringEscape string - * stringstring noeat - "0-9a-fA-F" stringstring - -:stringstring_octal2 StringEscape string - * stringstring noeat - "0-7" stringstring_octal3 - -:stringstring_octal3 StringEscape string - * stringstring noeat - "0-7" stringstring - -:stringstring_control StringEscape string - * stringstring_control - "\n" idle - "\"" stringstring noeat - "diouxXeEfFgGaAcspn%SCM" stringstring - -:char Character string - * char_done - "'" idle - "\\" char_escape recolor=-1 - -:char_done Character string - * idle noeat recolor=-3 - "\'" idle - -:char_escape CharacterEscape string - * char_done - "u" char_uni1 - "0-7" char_octal2 - -:char_uni1 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_uni2 - -:char_uni2 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_uni3 - -:char_uni3 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_uni4 - -:char_uni4 CharacterEscape string - * char_done noeat - "0-9a-fA-F" char_done - -:char_octal2 CharacterEscape string - * char_done noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char_done noeat - "0-7" char_done - -:ident Ident - * ident_end noeat markend strings - "abstract" storage - "case" struct - "catch" kw - "class" struct - "def" struct - "do" loop - "else" cond - "false" bool - "final" storage - "finally" stmt - "for" loop - "forSome" loop - "if" cond - "implicit" storage - "import" stmt - "lazy" storage - "match" cond - "new" operator - "null" lit - "object" storage - "override" storage - "package" storage - "private" storage - "protected" storage - "return" stmt - "sealed" storage - "super" kw - "this" kw - "throw" stmt - "trait" kw - "try" stmt - "true" bool - "type" kw - "val" kw - "var" kw - "while" loop - "with" kw - "yield" loop -done - "\c\p{Sc}" ident - -:type Type - * idle noeat - -:kw Keyword - * idle noeat - -:bad_kw Bad - * idle noeat - -:lit Constant - * idle noeat - -:bool Boolean - * idle noeat - -:operator Operator - * idle noeat - -:storage StorageClass - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat - -:stmt Statement - * idle noeat - -:struct Structure - * idle noeat - -:ident_end Idle - * idle noeat - " " ident_end - "(" method_end noeat recolormark - -:method_end DefinedFunction - * idle noeat - -.end diff --git a/.config/joestar/syntax/sed.jsf b/.config/joestar/syntax/sed.jsf @@ -1,152 +0,0 @@ -# Fancy "sed" highlighter - -# Bugs: delimiter should be ignored in [...] -# -# it would be nice if this did more correct -# error checking for the sed programmer - -- - -=Idle -=Comment -=String +Constant -=StringEscape +Escape -=Regex +String -=RegexEscape +StringEscape -=Bad -=Keyword -=Delimiter #+Operator +Type -=Label +DefinedIdent - -# Zero address commands: # : } -# Zero or one address: = a i q r -# Range address: { b t c d D h H g G x l n N p P s w y - -:idle Idle - * cmd noeat - " \t" idle - "\n" idle - "0-9" first_addr recolor=-1 - "$" first_eof recolor=-1 - "/" first_regex_c recolor=-1 - -:first_eof String string - * first_addr_done noeat - -:first_regex_c Delimiter - * first_regex noeat - -:first_regex Regex string - * first_regex - "\\" first_regex_quote recolor=-1 - "/" first_regex_e recolor=-1 - -:first_regex_e Delimiter - * first_addr_done noeat - -:first_regex_quote RegexEscape string - * first_regex - -:first_addr String string - * first_addr_done noeat - "0-9" first_addr - -:first_addr_done Idle - * cmd noeat - "," second_addr_start - -:second_addr_start Idle - * bad noeat - "0-9" second_addr recolor=-1 - "$" second_eof recolor=-1 - "/" second_regex recolor=-1 - -:second_eof String string - * cmd noeat - -:second_regex Regex string - * second_regex - "/" cmd - -:second_addr String string - * cmd noeat - "0-9" second_addr - -:bad Bad - * bad - "\n" idle - -:cmd Delimiter - * the_cmd noeat - " \t" cmd - "!" the_cmd - -:the_cmd Idle - * bad noeat - " \t" the_cmd - ";" next noeat - "#" comment recolor=-1 - "sy" accepts recolor=-1 - "{" accepto recolor=-1 - "aic" accept recolor=-1 - "=}rqbtdDhHgGxlnNpPw" acceptc recolor=-1 - ":" label recolor=-1 - -:accepto Keyword - * idle noeat - -:accept Keyword - * next noeat - -:acceptc Keyword - * nextallow noeat - -:accepts Keyword - * subst noeat - -:label Label - * idle noeat - "a-zA-Z0-9" label - -:subst Delimiter - * subst_rest save_c - -:subst_rest String string - * subst_rest - & subst_rest_2_c recolor=-1 - "\\" subst_rest_quote recolor=-1 - -:subst_rest_quote StringEscape string - * subst_rest - -:subst_rest_2_c Delimiter - * subst_rest_2 noeat - -:subst_rest_2 String string - * subst_rest_2 - & next_c recolor=-1 - "\\" subst_rest_2_quote recolor=-1 - -:next_c Delimiter - * nextallow noeat - -:subst_rest_2_quote StringEscape string - * subst_rest_2 - -:nextallow Idle - * nextallow - "\n" idle - ";" idle - "#" comment recolor=-1 - -:next Idle - * next - "\n" idle - "\\" continue - -:continue Idle - * next - -:comment Comment comment - * comment - "\n" idle diff --git a/.config/joestar/syntax/sh.jsf b/.config/joestar/syntax/sh.jsf @@ -1,363 +0,0 @@ -# JOE syntax highlight file for sh/ksh/bash - -# Think about: -# $'....' -# $(...) -# ${...} - -# cat <<EOF xxxxxx -# xxxxx should be interpreted as other arguments for 'cat'. - -# Colors - -=Idle -=Ident -=Comment -=Constant -=String +Constant -=Escape -=StringEscape +Escape +String -=Variable +Escape -=StringVariable +StringEscape -=Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement - -# Syntax - -:idle Idle - * idle -# ")" subst_char recolor=-1 - "`" subst_char recolor=-1 - "#" comment recolor=-1 - "\\" escape recolor=-1 - "$" subst recolor=-1 - "'" string_sq recolor=-1 - "\"" string_dq recolor=-1 - "<" maybe_inc - "0-9" maybe_base recolor=-1 - "a-zA-Z{}![_" ident buffer - -:subst_char Variable - * idle noeat - -:maybe_inc Idle - * idle noeat - "<" maybe_inc1 - -:maybe_inc1 Idle - * inc buffer noeat - "\"" inc_quote - "'" inc_quote - " " maybe_inc1 - "\n" toeof - "`&()\\|;<>" idle noeat - "\\" skipquote - "-" skipminus - -:skipminus Idle - * inc1 buffer noeat - " " skipminus - "\\" skipquote - "\"" inc1_quote - "'" inc1_quote - "`&()\\|;<>\n" idle noeat - -:skipquote Idle - * inc buffer noeat - "`&()\\|;'\"<> \n" idle noeat - -# All of these are for case of leading - - -:inc1 Variable - * inc1 - "`&()\\|;'\"<> \n" skipline1 noeat save_s - -:inc1_quote Variable - * inc1 buffer noeat - -:skipline1 Idle - * skipline1 - "\n" next_line1 - -:todelim1 Constant - * todelim1 - "\n" next_line1 strings - "&" founddelim1 -done - -:next_line1 Constant - * todelim1 buffer - "\t" next_line1 - "\n" next_line1 - -:founddelim1 Variable - * idle noeat - -# No leading - - -:inc Variable - * inc - "`&()\\|;'\"<> \n" skipline noeat save_s - -:inc_quote Variable - * inc noeat buffer - -# Should be treated as a normal line here... - -:skipline Idle - * skipline - "\n" next_line - -:todelim Constant - * todelim - "\n" next_line strings - "&" founddelim -done - -# eat \n so it's not in string. -:next_line Constant - * todelim buffer - "\n" next_line - -:founddelim Variable - * idle noeat - -# << with no word. Rest of file is a constant. - -:toeof Constant - * toeof - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - -:escape Escape - * idle - -:subst Variable - * idle noeat - "(" idle recolor=-2 # don't try for now - "\"" string_dq recolor=-2 - "\'" string_sq recolor=-2 - "{" subst_brack - "a-zA-Z_" subst_name - "0-9*@?\-$_!#" idle - -:subst_name Variable - * idle noeat recolor=-1 - "a-zA-Z0-9_" subst_name - -:subst_brack Variable - * subst_brack - "}" idle - -# Simplest case: no quoting allowed -:string_sq String string - * string_sq - "\'" idle - - -# double-quote: quoting, backqoutes and substitution allowed -:string_dq String string - * string_dq - "$" string_dq_subst recolor=-1 - "\"" idle - "\\" string_dq_esc recolor=-1 - "`" string_dq_bq recolor=-1 - -:string_dq_subst StringVariable string - * string_dq noeat recolor=-2 - "$0-9!_\-?*@" string_dq - "a-zA-Z_" string_dq_subst_name - "{" string_dq_subst_brack - -:string_dq_subst_name StringVariable string - * string_dq recolor=-1 noeat - "a-zA-Z0-9_" string_dq_subst_name - -:string_dq_subst_brack StringVariable string - * string_dq_subst_brack - "}" string_dq - -:string_dq_esc StringEscape string - * string_dq recolor=-2 - "$`\"\\" string_dq - "\n" string_dq recolor=-2 - -:string_dq_bq String string - * string_dq_bq - "$" string_dq_bq_subst recolor=-1 - "\`" string_dq - "\\" string_dq_bq_esc recolor=-1 - -:string_dq_bq_subst StringVariable string - * string_dq_bq noeat recolor=-2 - "$0-9!_\-?*@" string_dq_bq - "a-zA-Z_" string_dq_bq_subst_name - "{" string_dq_bq_subst_brack - -:string_dq_bq_subst_name StringVariable string - * string_dq_bq recolor=-1 noeat - "a-zA-Z0-9_" string_dq_bq_subst_name - -:string_dq_bq_subst_brack StringVariable string - * string_dq_bq_subst_brack - "}" string_dq_bq - -:string_dq_bq_esc StringEscape string - * string_dq_bq recolor=-2 - "$`\"\\" string_dq_bq - "\n" string_dq_bq recolor=-2 - - -# backquote -:string_bq String - * string_bq - "$" string_bq_subst recolor=-1 - "\`" idle - "\\" string_bq_esc recolor=-1 - -# escape in backquote -:string_bq_esc StringEscape - * string_bq recolor=-2 - "$`\"\\" string_bq - "\n" string_bq recolor=-2 - -# Substitution in a backquote -:string_bq_subst StringVariable - * string_bq noeat recolor=-2 - "$0-9!_\-?*@" string_bq - "a-zA-Z_" string_bq_subst_name - "{" string_bq_subst_brack - -:string_bq_subst_name StringVariable - * string_bq recolor=-1 noeat - "a-zA-Z0-9_" string_bq_subst_name - -:string_bq_subst_brack StringVariable - * string_bq_subst_brack - "}" string_bq - -:maybe_base Idle - * idle noeat - "#" idle - "0-9" maybe_base - -:ident Ident - * idle noeat strings - "!" bang - "{" kw - "}" kw - "[" kw - "]" kw -# primary keywords - "case" cond - "do" loop - "done" loop - "elif" cond - "else" cond - "esac" cond - "fi" cond - "for" loop - "if" cond - "in" stmt - "then" cond - "until" loop - "while" loop -# I think these are basically keywords too - "break" loop - "continue" loop - "return" stmt - "eval" stmt - "exec" stmt - "exit" stmt - "test" kw # doesn't have to be a shell command -# variable management - "shift" stmt - "unset" stmt - "export" stmt - "readonly" stmt -# input - "read" stmt -# job control (not likely to be used in scripts) - "bg" stmt - "fg" stmt - "jobs" stmt - "suspend" stmt -# job control (useful in scripts) - "kill" stmt - "wait" stmt -# environment control - "cd" stmt - "chdir" stmt - "pwd" stmt - "ulimit" stmt - "umask" stmt -# signal handling - "trap" stmt -# misc shell control - "hash" stmt - "type" stmt - "times" stmt - "set" stmt -# shell builtins - "echo" stmt - "getopts" stmt - "login" stmt # not bash (logout is) - "newgrp" stmt # not in bash - "stop" stmt # not in bash (suspends a process) -# additional ksh builtins - "alias" stmt - "select" stmt - "function" stmt - "command" stmt - "fc" stmt - "let" stmt - "print" stmt - "unalias" stmt - "whence" stmt - "history" stmt - "time" stmt - "typeset" stmt - "local" stmt -# additional bash builtins - "source" stmt - "bind" stmt - "builtin" stmt - "compgen" stmt - "complete" stmt - "declare" stmt - "dirs" stmt - "disown" stmt - "enable" stmt - "help" stmt - "logout" stmt - "popd" stmt - "printf" stmt - "pushd" stmt - "shopt" stmt -done - "a-zA-Z0-9_" ident - -:kw Keyword - * idle noeat - -:stmt Keyword - * idle noeat - -:stmt Statement - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:bang Keyword - * idle noeat - "#" idle - "!" bang diff --git a/.config/joestar/syntax/sieve.jsf b/.config/joestar/syntax/sieve.jsf @@ -1,121 +0,0 @@ -# JOE syntax highlight file for Sieve -# by Christian Nicolai (http://mycrobase.de) - -=Idle -=Ident -=Comment -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=Escape -=StringEscape +Escape +String -=Keyword -=Statement +Keyword -=Conditional +Statement +Keyword -=Bad -=Brace - -=TaggedArgument +Operator +Keyword - -: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 comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:maybe_comment Idle - * idle noeat - "*" comment recolor=-2 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - -:decimal Number - * idle noeat - "0-9" decimal - "KMG" decimal_suffix - -:decimal_suffix Number - * idle noeat - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * 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 Ident - * idle noeat strings - # control" - "else" cond - "elsif" cond - "if" cond - "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" bool - "header" test - "not" test - "size" test - "true" bool -done - "a-zA-Z0-9_" ident - -:kw Keyword - * idle noeat - -:cmd Statement - * idle noeat - -:cond Conditional - * idle noeat - -:bool Boolean - * idle noeat - -:test Idle - * idle noeat diff --git a/.config/joestar/syntax/skill.jsf b/.config/joestar/syntax/skill.jsf @@ -1,107 +0,0 @@ -# JOE syntax highlight file for SKILL -# Based on the very rudimentary lisp syntax file -# Written by Joachim Fenkes <skill dot jsf at dojoe dot net> in 2005 - -=Idle -=Ident -=Comment -=Constant -=String +Constant -=StringEscape +Escape +String -=Brace -=Symbol +Atom +Constant +DefinedIdent -=Keyword -=Conditional +Statement +Keyword -=Loop +Statement +Keyword -=Number +Constant -=Bad - -:idle Idle - * idle - ";" comment recolor=-1 - "\"" string recolor=-1 - "/" slash - "()[]{}" bracket recolor=-1 - "'" maybe_symbol recolor=-1 - "a-zA-Z_" maybe_keyword buffer recolor=-1 - "0-9" number recolor=-1 - -:maybe_keyword Ident - * idle noeat strings - "list" keyword - "procedure" keyword - "while" loop - "foreach" loop - "if" cond - "for" loop - "when" cond - "unless" cond - "cond" cond - "defun" keyword - "let" keyword - "prog" keyword - "else" cond - "then" cond - "case" cond - "caseq" cond - "nil" const - "t" keyword -done - "0-9a-zA-Z_" maybe_keyword - -:number Number - * idle noeat - "0-9." number - -:slash Idle - * idle - "/" slash - "*" mcomment recolor=-2 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - -:mcomment Comment comment - * mcomment - "BFHNTX" mcomment noeat call=comment_todo.comment_todo() - "*" maybe_end_mcomment - -:maybe_end_mcomment Comment comment - * mcomment noeat - "*" maybe_end_mcomment - "/" idle - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "\n" string recolor=-2 - -:bracket Brace - * idle noeat - -:maybe_symbol Idle - * symbol recolor=-2 - "(){}" bracket recolor=-2 - -:symbol Symbol - * symbol - " \t\n" idle recolor=-1 - ")" bracket recolor=-1 - -:keyword Keyword - * idle noeat - -:cond Conditional - * idle noeat - -:loop Loop - * idle noeat - -:const Constant - * idle noeat diff --git a/.config/joestar/syntax/sml.jsf b/.config/joestar/syntax/sml.jsf @@ -1,415 +0,0 @@ -# JOE syntax highlight file for SML - -# A (deterministic) state machine which performs lexical analysis of SML. -# (This is the "assembly language" of syntax highlighting. A separate -# program could be used to convert a regular expression NFA syntax into this -# format). - -# Each state begins with ':<name> <color-name>' -# <color-name> is the color used for characters eaten by the state -# (really a symbol for a user definable color). - -# The first state defined is the initial state. - -# Within a state, define transitions (jumps) to other states. Each -# jump has the form: <character-list> <target-state> [<option>s] - -# There are two ways to specify <character-list>s, either * for any -# character not otherwise specified, or a literal list of characters within -# quotes (ranges and escape sequences allows). When the next character -# matches any in the list, a jump to the target-state is taken and the -# character is eaten (we advance to the next character of the file to be -# colored). -# -# The * transition should be the first transition specified in the state. -# -# There are several options: -# noeat do not eat the character, instead feed it to the next state -# (this tends to make the states smaller, but be careful: you -# can make infinite loops). 'noeat' implies 'recolor=-1'. -# -# recolor=-N Recolor the past N characters with the color of the -# target-state. For example once /* is recognized as the -# start of C comment, you want to color the /* with the C -# comment color. -# -# buffer start copying characters to a buffer, beginning with this -# one (it's ok to not terminate buffering with a matching -# 'strings' option- the buffer is limited to leading 19 -# characters). -# -# strings A list of strings follows. If the buffer matches any of the -# given strings, a jump to the target-state in the string list -# is taken instead of the normal jump. -# -# istrings Same as strings, but case is ignored. -# -# hold Stop buffering string- a future 'strings' or 'istrings' will -# look at contents of buffer at this point. Useful for distinguishing -# commands and function calls in some languages 'write 7' is a command -# 'write (' is a function call- hold lets us stop at the space and delay -# the string lookup until the ( or 7. -# -# The format of the string list is: -# -# "string" <target-state> [<options>s] -# "string" <target-state> [<options>s] -# done -# -# (all of the options above are allowed except "strings", "istrings" and "noeat". noeat is -# always implied after a matched string). -# -# Weirdness: only states have colors, not transitions. This means that you -# sometimes have to make dummy states with '* next-state noeat' just to get -# a color specification. - -=Idle -=Ident -=Bad -=Comment -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=StringEscape +Escape +String -=Type -=Keyword -=Operator +Keyword -=Control -=Conditional +Statement +Keyword -=Loop +Statement +Keyword -=StorageClass +Keyword -=DefinedIdent +Ident -=DefinedFunction +DefinedIdent -=DefinedType +Type +DefinedIdent - -:expr Idle - * expr - ".,[{})];" control recolor=-1 # . or ... both control - "(" bracket recolor=-1 - "_" underline recolor=-1 - "!%&$+/:<=>?@`^|*\-" operator buffer recolor=-1 - "#" hash recolor=-1 - "~" tilde recolor=-1 - "0" zero recolor=-1 - "1-9" decimal recolor=-1 - "\"" string recolor=-1 - "a-zA-Z" id buffer recolor=-1 - -:bad Bad - * expr - -:control Control - * expr noeat - -:bracket Control - * expr noeat - "*" comment1 recolor=-2 - -:underline Keyword - * expr noeat - "a-zA-Z" kw - -:operator Operator - * expr noeat strings - ":>" colon - ":" colon - "::" control # can be overloaded, but you would burn in hell - ":=" control # ditto - "=" control # only in some contexts is it _really_ control - "->" control - "=>" control - "|" control -done - "!%&$+/:<=>?@~`^|#*\-" operator - -:colon Control - * type1 noeat - -:hash Control - * expr noeat - "!%&$+/:<=>?@~`^|#*\-" operator recolor=-2 - "\"" string recolor=-2 - -:tilde Operator - * expr noeat - "!%&$+/:<=>?@~`^|#*\-" operator - "0" zero recolor=-2 - "1-9" decimal recolor=-2 - -:zero Number - * expr noeat - "0-9" decimal - "w" word buffer - "x" hex1 buffer - "e" epart buffer - "E" epart buffer - "." float1 - -:word Number - * id noeat recolor=-2 - "0-9" decimal - "x" hexword - -:hexword Number - * id noeat recolor=-3 - "0-9a-fA-F" hex - -:hex1 Number - * id noeat recolor=-2 - "0-9a-fA-F" hex - -:hex Number - * expr noeat - "0-9a-fA-F" hex - -:decimal Number - * expr noeat - "0-9" decimal - "." float1 - "e" epart buffer - "E" epart buffer - -# trailing digits required in SML (unlike OCaml) -:float1 Number - * bad noeat - "0-9" float - -:float Number - * expr noeat - "0-9" float - "e" epart buffer - "E" epart buffer - -:epart Number - * id noeat recolor=-2 - "0-9" enum - "~" epart # bug: 3e~~3 - -:enum Number - * expr noeat - "0-9" enum - -:string String string - * string - "\"" expr - "\n" bad - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * bad noeat - "abfnrtv\"\\" string - "^" string_carret - "u" string_hex1 - "0-9" string_decimal2 - "\n\r\f\t " string_eatws - -:string_carret StringEscape string - * bad noeat - "ABCDEFGHIJKLMNOPQRSTUVWXYZ\\^_" string - -:string_eatws StringEscape string - * bad noeat - "\n\r\f\t " string_eatws - "\\" string - -:string_hex1 StringEscape string - * bad noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * bad noeat - "0-9a-fA-F" string_hex3 - -:string_hex3 StringEscape string - * bad noeat - "0-9a-fA-F" string_hex4 - -:string_hex4 StringEscape string - * bad noeat - "0-9a-fA-F" string - -:string_decimal2 StringEscape string - * bad noeat - "0-9" string_decimal3 - -:string_decimal3 StringEscape string - * bad noeat - "0-9" string - -:id Ident - * expr noeat strings - "_" kw - "ann" kw - "and" kw - "as" kw - "case" cond - "do" loop - "else" cond - "end" cond - "exception" kw - "false" bool - "fn" kw - "fun" kw - "functor" kw - "handle" kw - "if" cond - "in" kw - "include" kw - "infix" kw - "infixr" kw - "let" kw - "local" kw - "nil" const - "nonfix" kw - "of" kw - "op" kw - "open" kw - "raise" kw - "rec" kw - "sharing" kw - "sig" kw - "signature" kw - "struct" kw - "structure" kw - "then" kw - "true" bool - "val" val - "where" kw - "while" loop - "with" kw - "abstype" kwtype - "datatype" kwtype - "eqtype" kwtype - "type" kwtype - "withtype" kwtype - "before" operatorkw - "o" operatorkw - "orelse" operatorkw - "andalso" operatorkw - "div" operatorkw - "mod" operatorkw -done - "a-zA-Z0-9_'" id - -:kw Keyword - * expr noeat - -:operatorkw Operator - * expr noeat - -:kwtype StorageClass - * kwtype1 noeat - -:const Constant - * expr noeat - -:cond Conditional - * expr noeat - -:loop Loop - * expr noeat - -:bool Boolean - * expr noeat - -:val Keyword - * val_preident noeat - -:val_preident Idle - * val_ident noeat - " \t" val_preident - -:val_ident DefinedIdent - * expr noeat - "a-zA-Z0-9_'" val_ident - -:kwtype1 DefinedType - * expr noeat - "=" typeval recolor=-1 - "a-zA-Z0-9_'., :|*>\t\-" kwtype1 - "({" kwtype2 - -:kwtype2 Type - * expr noeat - ")}" kwtype1 - "a-zA-Z0-9_'., :|*>\t\n\-" kwtype2 - "({" kwtype3 - -:kwtype3 Type - * expr noeat - ")}" kwtype2 - "a-zA-Z0-9_'., :|*>\t\n\-" kwtype3 - "({" expr # too deep nesting - -:typeval Control - * type1 noeat - " \t\n" typeval - -:type1 Type - * expr noeat - "a-zA-Z0-9_'., :|*>\t\-" type1 - "({" type2 - -:type2 Type - * expr noeat - ")}" type1 - "a-zA-Z0-9_'., :|*>\t\n\-" type2 - "({" type3 - -:type3 Type - * expr noeat - ")}" type2 - "a-zA-Z0-9_'., :|*>\t\n\-" type3 - "({" type4 - -:type4 Type - * expr noeat - ")}" type3 - "a-zA-Z0-9_'., :|*>\t\n\-" type4 - "({" expr # too deep nesting - -:comment1 Comment comment - * comment1 - "(" nestcomment1 - "*" endcomment1 - "BFHNTX" comment1 noeat call=comment_todo.comment_todo() - -:nestcomment1 Comment comment - * comment1 noeat - "*" comment2 - -:endcomment1 Comment comment - * comment1 noeat - ")" expr - "*" endcomment1 - -:comment2 Comment comment - * comment2 - "(" nestcomment2 - "*" endcomment2 - "BFHNTX" comment2 noeat call=comment_todo.comment_todo() - -:nestcomment2 Comment comment - * comment2 noeat - "*" comment3 - -:endcomment2 Comment comment - * comment2 noeat - ")" comment1 - "*" endcomment2 - -:comment3 Comment comment - * comment3 - "(" nestcomment3 - "*" endcomment3 - "BFHNTX" comment3 noeat call=comment_todo.comment_todo() - -:nestcomment3 Comment comment - * comment3 noeat - "*" expr # too deep nesting - -:endcomment3 Comment comment - * comment3 noeat - ")" comment2 - "*" endcomment3 diff --git a/.config/joestar/syntax/sql.jsf b/.config/joestar/syntax/sql.jsf @@ -1,471 +0,0 @@ -# JOE syntax highlight file for SQL - -# See c.jsf for more documentation - -=Idle -=Ident -=Bad -=Comment -=Constant -=String +Constant -=Number +Constant -=Character +String -=Boolean +Constant -=Escape -=StringEscape +Escape +String -=CharacterEscape +StringEscape -=Type -=Keyword -=Statement +Keyword -=Brace -=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 - "\i@" 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 - * comment - "*" maybe_end_comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - -:maybe_end_comment Comment comment - * comment noeat - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" idle - -:first_digit Number - * 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 Number - * idle noeat - "0-7" octal - "89" bad_number recolor=-1 - -:hex Number - * idle noeat - "0-9A-Fa-f" hex - -:decimal Number - * idle noeat - "0-9" decimal - "eE" epart - "." float - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "x" string_hex1 - "0-7" string_octal2 - "\n" string recolor=-2 - -:string_hex1 StringEscape string - * string noeat - "0-9a-fA-F" string_hex2 - -:string_hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:string_octal2 StringEscape string - * string noeat - "0-7" string_octal3 - -:string_octal3 StringEscape string - * string noeat - "0-7" string - -:string_control StringEscape string - * string - "\"" string noeat - "\n" idle - "0-9.\-+ #hjILtz$" string_control - -:char Character string - * char - "\n" idle - "'" idle - "\\" char_escape recolor=-1 - -:char_escape CharacterEscape string - * char - "x" char_hex1 - "0-7" char_octal2 - "\n" char recolor=-2 - -:char_hex1 CharacterEscape string - * char noeat - "0-9a-fA-F" char_hex2 - -:char_hex2 CharacterEscape string - * char noeat - "0-9a-fA-F" char - -:char_octal2 CharacterEscape string - * char noeat - "0-7" char_octal3 - -:char_octal3 CharacterEscape string - * char noeat - "0-7" char - -:ident Ident - * idle noeat istrings - "absolute" kw - "add" kw - "admindb" kw - "all" kw - "alphanumeric" kw - "alter" stmt - "and" kw - "any" kw - "are" kw - "as" kw - "asc" kw - "assertion" kw - "authorization" kw - "autoincrement" kw - "avg" kw - "begin" kw - "between" kw - "binary" type - "bit" type - "bit_length" kw - "boolean" type - "both" kw - "by" kw - "byte" kw - "cascade" kw - "catalog" kw - "char," type - "character" type - "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" stmt - "currency" kw - "current_date" kw - "current_time" kw - "current_timestamp" kw - "current_user" kw - "cursor" kw - "d" kw - "database" kw - "date" type - "datetime" type - "day" type - "dec," type - "decimal" type - "declare" kw - "delete" stmt - "desc" kw - "disallow" kw - "disconnect" kw - "distinct" kw - "distinctrow" kw - "domain" kw - "double" kw - "drop" stmt - "eqv" kw - "exclusiveconnect" kw - "exec," kw - "execute" kw - "exists" kw - "extract" kw - "false" bool - "fetch" kw - "first" kw - "float," type - "float4" type - "float8" type - "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" stmt - "int," type - "integer," type - "integer1" type - "integer2" type - "integer4" type - "interval" kw - "into" stmt - "is" kw - "isolation" kw - "join" kw - "key" kw - "language" kw - "last" kw - "left" kw - "level" kw - "like" kw - "logical," kw - "logical1" kw - "long" type - "longbinary" type - "longchar" type - "longtext" type - "lower" kw - "match" kw - "max" kw - "memo" kw - "min" kw - "minute" kw - "mod" kw - "money" type - "month" type - "national" kw - "nchar" type - "nonclustered" kw - "not" kw - "ntext" kw - "null" kw - "number" kw - "numeric" kw - "nvarchar" type - "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" type - "references" kw - "restrict" kw - "revoke" kw - "right" kw - "rollback" kw - "schema" kw - "second" kw - "select" stmt - "selectschema" kw - "selectsecurity" kw - "set" stmt - "short" kw - "single" kw - "size" kw - "smalldatetime" type - "smallint" type - "smallmoney" type - "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" type - "timestamp" type - "timezone_hour" kw - "timezone_minute" kw - "tinyint" type - "to" kw - "top" kw - "trailing" kw - "transaction" kw - "transform" kw - "translate" kw - "translation" kw - "trim" kw - "true" bool - "union" kw - "unique" kw - "uniqueidentifier" kw - "unknown" kw - "update" stmt - "updateidentity" kw - "updateowner" kw - "updatesecurity" kw - "upper" kw - "usage" kw - "user" kw - "using" kw - "value" kw - "values" kw - "var" kw - "varbinary" kw - "varchar" type - "varp" kw - "varying" kw - "view" kw - "when" kw - "whenever" kw - "where" kw - "with" kw - "work" kw - "xor" kw - "year" type - "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" type - "char" type - "default" kw - "type" kw - "float" type - "begint" type - "mediumint" type - "longint" type - "blob" type - "tinyblob" type - "mediumblob" type - "longblob" type - "tinytext" type - "mediumtext" type - "longtext" type - "show" kw - "explain" kw - "enum" type -done - "\c" ident - -:type Type - * idle noeat - -:kw Keyword - * idle noeat - -:bool Boolean - * idle noeat - -:stmt Statement - * idle noeat diff --git a/.config/joestar/syntax/swift.jsf b/.config/joestar/syntax/swift.jsf @@ -1,354 +0,0 @@ -# JOE syntax highlight file for Swift - -=Idle -=Comment -=Preproc -=Precond +Preproc -=Constant -=String +Constant -=Number +Constant -=Boolean +Constant -=StringEscape +Escape +String -=Operator -=Keyword -=Statement +Keyword -=Loop +Statement -=Conditional +Statement -=Type -=StorageClass +Type +Keyword -=Modifier +StorageClass -=Label +DefinedIdent -=Builtin +DefinedFunction -=Bad - -:pre_idle Idle - * NULL noeat call=.swift() - -.subr swift - -:idle Idle - * idle - "(" idle call=.swift(paren) - "[" idle call=.swift(brack) - "{" idle call=.swift(squiggly) -.ifdef paren - ")" idle return -.else - ")" stray recolor=-1 -.endif -.ifdef brack - "]" idle return -.else - "]" stray recolor=-1 -.endif -.ifdef squiggly - "}" idle return -.else - "}" stray recolor=-1 -.endif - "0" zero recolor=-1 - "1-9" decimal recolor=-1 - "." decimal_point recolor=-1 - "\"" string recolor=-1 - "/" slash recolor=-1 - "@$\i" ident buffer - "#" pre mark - -:stray Bad - * idle - -:pre Preproc - * idle noeat - " \t" pre - "a-z" preident recolor=-1 buffer - -:preident Preproc - * idle markend recolormark noeat strings - "if" precond markend recolormark - "elseif" precond markend recolormark - "else" precond markend recolormark - "endif" precond markend recolormark -done - "a-z" preident - -:precond Precond - * idle noeat - -# Comments - -:slash Comment comment - * idle noeat recolor=-2 - "/" line_comment - "*" idle call=.block_comment() - -:line_comment Comment comment - * line_comment - "\n" idle - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - -# Numbers - -:bad_number Bad - * idle noeat - "0-9" bad_number - -:zero Constant - * idle noeat - "b" binary - "o" octal - "x" hex - "." maybe_float - "eE" epart - "0-9_" decimal recolor=-1 - -:decimal_point Constant - * idle noeat recolor=-2 - "." decimal_point_1 recolor=-2 - "\i" not_ident recolor=-2 - "0-9_" float - -:not_ident Idle - * idle noeat - "\c" not_ident - -:decimal_point_1 Idle - * idle noeat - "." idle - -:octal Constant - * idle noeat - "0-7_" octal - "89" bad_number recolor=-1 - -:binary Constant - * idle noeat - "01_" binary - "2-9" bad_number recolor=-1 - -:hex Constant - * idle noeat - "0-9A-Fa-f_" hex - "." hexfloat - "pP" ppart - -:hexfloat Constant - * idle noeat - "0-9A-Fa-f_" hexfloat - "pP" ppart - -:ppart Constant - * idle noeat - "0-9+\-" pnum - -:pnum Constant - * idle noeat - "0-9_" pnum - -:decimal Constant - * idle noeat - "0-9_" decimal - "eE" epart - "." maybe_float - -:maybe_float Constant - * idle noeat recolor=-2 - "." decimal_point_1 recolor=-2 - "eE" epart - "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 - -# Strings - -:string String string - * string - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "(" string call=.swift(paren) recolor=-2 - "u" string_maybe_uni - -:string_maybe_uni StringEscape string - * string - "{" string_uni - -:string_uni StringEscape string - * string_uni - "}" string - -# Identifiers - -:ident Idle - * idle noeat strings - "class" storage - "deinit" kw - "enum" storage - "extension" storage - "func" storage - "import" stmt - "init" kw - "inout" storage - "internal" modifier - "let" kw - "operator" kw - "private" modifier - "protocol" storage - "public" modifier - "static" modifier - "struct" storage - "subscript" kw - "typealias" storage - "var" kw - "break" stmt - "case" label - "continue" loop - "default" label - "defer" stmt - "do" stmt - "else" cond - "fallthrough" stmt - "for" loop - "guard" kw - "if" cond - "in" kw - "repeat" loop - "return" stmt - "switch" cond - "where" kw - "while" loop - "as" kw - "catch" stmt - "dynamicType" kw - "false" bool - "is" kw - "nil" lit - "rethrows" modifier - "super" kw - "self" kw - "Self" type - "throw" stmt - "throws" modifier - "true" bool - "try" kw - "__COLUMN__" kw - "__FILE__" kw - "__FUNCTION__" kw - "__LINE__" kw - "_" kw - "associativity" kw - "convenience" kw - "dynamic" kw - "didSet" kw - "final" storage - "get" kw - "infix" kw - "indirect" kw - "lazy" storage - "left" kw - "mutating" storage - "none" kw - "nonmutating" storage - "open" storage - "optional" kw - "override" storage - "postfix" kw - "precedence" kw - "prefix" kw - "Protocol" builtin - "required" kw - "right" kw - "set" kw - "Type" builtin - "unowned" kw - "weak" kw - "willSet" kw - - "String" type - "Int" type - "Int8" type - "Int16" type - "Int32" type - "Int64" type - "UInt" type - "UInt8" type - "UInt16" type - "UInt32" type - "UInt64" type - "Float" type - "Double" type - "Bool" type - "Character" type - "Optional" type -done - "$\c" ident - -:kw Keyword - * idle noeat - -:bool Boolean - * idle noeat - -:lit Constant - * idle noeat - -:oper Operator - * idle noeat - -:storage StorageClass - * idle noeat - -:modifier Modifier - * idle noeat - -:label Label - * idle noeat - -:loop Loop - * idle noeat - -:cond Conditional - * idle noeat - -:stmt Statement - * idle noeat - -:builtin Builtin - * idle noeat - -:type Type - * idle noeat - -.end - -# Recursive block comments - -.subr block_comment - -:idle Comment comment - * idle - "*" maybe_done - "/" maybe_recur - "BFHNTX" idle noeat call=comment_todo.comment_todo() - -:maybe_done Comment comment - * idle noeat - "/" idle return - -:maybe_recur Comment comment - * idle noeat - "*" idle call=.block_comment() - -.end diff --git a/.config/joestar/syntax/tcl.jsf b/.config/joestar/syntax/tcl.jsf @@ -1,278 +0,0 @@ -# JOE syntax highlight file for TCL - -=Idle -=Ident -=Comment -=Constant -=String +Constant -=Escape -=StringEscape +Escape +String -=Keyword -=Statement +Keyword -=Conditional +Statement -=Loop +Statement -=StringVariable +StringEscape -=Subst +StringVariable -=SubstEscape +Escape - -:reset Idle - * command noeat - "#" comment recolor=-1 - " \t}" reset - -:comment Comment comment - * comment - "\n" reset - "BFHNTX" comment noeat call=comment_todo.comment_todo() - -:command Idle - * ident buffer - "\"" string recolor=-1 - "\n" reset - ";[{" reset - -:args Idle - * args - ";[{\n" reset - "\\" quote recolor=-1 - "\"" string recolor=-1 - -:quote Escape - * args - -:string String string - * string - "\\" escape recolor=-1 - "\"" args - "$" subst recolor=-1 - -:escape StringEscape string - * string - "0-7" octal2 - "x" hex1 - "u" unicode1 - -:octal2 StringEscape string - * string noeat - "0-7" octal3 - -:octal3 StringEscape string - * string noeat - "0-7" string - -:unicode1 StringEscape string - * string noeat - "0-9a-fA-F" unicode2 - -:unicode2 StringEscape string - * string noeat - "0-9a-fA-F" hex1 - -:hex1 StringEscape string - * string noeat - "0-9a-fA-F" hex2 - -:hex2 StringEscape string - * string noeat - "0-9a-fA-F" string - -:subst SubstEscape string - * string noeat recolor=-2 - "a-zA-Z0-9_:" substrest recolor=-1 - "{" substbrack recolor=-1 - -:substrest Subst string - * string noeat - "a-zA-Z0-9_:" substrest - "(" index - -:substbrack Subst string - * substbrack - "}" string - -:index Subst string - * index - ")" string - -:ident Ident - * ident - " \t\n;}]" args noeat strings - "after" kw - "alarm" kw - "append" kw - "array" kw - "auto_commands" kw - "auto_execok" kw - "auto_import" kw - "auto_load" kw - "auto_load_index" kw - "auto_load_pkg" kw - "auto_packages" kw - "auto_qualify" kw - "binary" kw - "break" loop - "bsearch" kw - "case" kw - "catch" kw - "catclose" kw - "catgets" kw - "catopen" kw - "ccollate" kw - "cconcat" kw - "cd" kw - "cequal" kw - "chgrp" kw - "chmod" kw - "chown" kw - "chroot" kw - "cindex" kw - "clength" kw - "clock" kw - "close" kw - "cmdtrace" kw - "commandloop" kw - "concat" kw - "continue" loop - "crange" kw - "csubstr" kw - "ctoken" kw - "ctype" kw - "dup" kw - "echo" kw - "else" cond - "elseif" cond - "encoding" kw - "eof" kw - "error" kw - "eval" kw - "exec" kw - "execl" kw - "exit" kw - "expr" kw - "fblocked" kw - "fcntl" kw - "fconfigure" kw - "fcopy" kw - "file" kw - "fileevent" kw - "flock" kw - "flush" kw - "for" loop - "foreach" loop - "fork" kw - "format" kw - "fstat" kw - "ftruncate" kw - "funlock" kw - "gets" kw - "glob" kw - "global" kw - "history" kw - "host_info" kw - "id" kw - "if" cond - "incr" kw - "info" kw - "infox" kw - "interp" kw - "join" kw - "keyldel" kw - "keylget" kw - "keylkeys" kw - "keylset" kw - "kill" kw - "lappend" kw - "lassign" kw - "lcontain" kw - "lempty" kw - "lgets" kw - "lindex" kw - "link" kw - "linsert" kw - "list" kw - "llength" kw - "lmatch" kw - "load" kw - "loadlibindex" kw - "loop" kw - "lrange" kw - "lreplace" kw - "lsearch" kw - "lset" kw - "lsort" kw - "lvarcat" kw - "lvarpop" kw - "lvarpush" kw - "max" kw - "min" kw - "namespace" kw - "nice" kw - "open" kw - "package" kw - "pid" kw - "pipe" kw - "proc" kw - "profile" kw - "puts" kw - "pwd" kw - "random" kw - "read" kw - "readdir" kw - "regexp" kw - "regsub" kw - "rename" kw - "replicate" kw - "return" kw - "scan" kw - "scancontext" kw - "scanfile" kw - "scanmatch" kw - "seek" kw - "select" kw - "server_accept" kw - "server_create" kw - "set" kw - "signal" kw - "sleep" kw - "socket" kw - "source" kw - "split" kw - "string" kw - "subst" kw - "switch" cond - "sync" kw - "system" kw - "tclLog" kw - "tclx_findinit" kw - "tclx_fork" kw - "tclx_load_tndxs" kw - "tclx_sleep" kw - "tclx_system" kw - "tclx_wait" kw - "tell" kw - "then" cond - "time" kw - "times" kw - "trace" kw - "translit" kw - "try_eval" kw - "umask" kw - "unknown" kw - "unset" kw - "update" kw - "uplevel" kw - "upvar" kw - "variable" kw - "vwait" kw - "wait" kw - "while" loop -done - -:kw Keyword - * args noeat - -:cond Conditional - * args noeat - -:loop Loop - * args noeat diff --git a/.config/joestar/syntax/tex.jsf b/.config/joestar/syntax/tex.jsf @@ -1,82 +0,0 @@ -# joe [La]TeX syntax highlighting - -=Idle -=Comment -=Keyword -=Mathmode +Constant -=Brace -=Parameter +Type -=Bad - -:idle Idle - * idle - "%" comment recolor=-1 - "$" math recolor=-1 - "\\" command recolor=-1 - "{[]}" brace recolor=-1 - "#" parameter recolor=-1 - -:comment Comment comment - * comment - # might be TODO label - "BFHNTX" comment noeat call=comment_todo.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 diff --git a/.config/joestar/syntax/troff.jsf b/.config/joestar/syntax/troff.jsf @@ -1,83 +0,0 @@ -# Syntax file for Troff - -=Idle -=Comment -=Escape -=Command +Statement +Keyword -=Bad - -# First character of line - -:first Idle - * rest noeat - ".'" command_1 - -:rest Idle - * rest - "\n" first - "\\" escape recolor=-1 - -:command_1 Command - * rest noeat - " " command_1 - "a-zA-Z_" command_2 - -:command_2 Command - * rest - "a-zA-Z0-9_" command_done recolor=-1 - -:command_done Command - * rest noeat - -:escape Escape - * bad recolor=-2 - "-\\e'`. 0|^&!%acdprtu{}" rest - "*fgn" name - "k" reg - "z" reg - "(" name2 - "$s" num - "bCDhHlLNoSvwxX" str - "\n" first - "\"" comment recolor=-2 - -# A name: ( means two characters - -:name Escape - * rest - "(" name2 - -# Two character name - -:name2 Escape - * reg - -# One character name - -:reg Escape - * rest - -# String - -:str Escape - * bad recolor=-1 - "'" str_body - -:str_body Escape - * str_body - "\n" first - "'" rest - -# Number - -:num Escape - * rest noeat - "-+0-9" num - -:comment Comment - * comment - "\n" first - "BFHNTX" comment noeat call=comment_todo.comment_todo() - -:bad Bad - * rest noeat diff --git a/.config/joestar/syntax/typescript.jsf b/.config/joestar/syntax/typescript.jsf @@ -1,6 +0,0 @@ -# JOE syntax file for Typescript - -=Idle - -:idle Idle - * idle noeat call=js.js(typescript) diff --git a/.config/joestar/syntax/verilog.jsf b/.config/joestar/syntax/verilog.jsf @@ -1,284 +0,0 @@ -# JOE syntax highlight file for Verilog - -# Define colors - -=Idle -=Ident -=Preproc -=Precond +Preproc -=Comment -=Constant -=Number +Constant -=String +Constant -=Escape -=StringEscape +Escape +String -=Type -=Keyword - -# Skip whitespace at start of line -:reset Idle - * first noeat - " " reset - -:first Idle - * idle noeat - "`" pre recolor=-1 - -:pre Preproc - * idle noeat - "a-zA-Z_" preident recolor=-1 buffer - -:preident Preproc - * idle noeat strings - "ifdef" precond - "else" precond - "endif" precond - "timescale" preproc - "define" preproc - "include" preproc - "resetall" preproc - "signed" preproc - "unsigned" preproc - "celldefine" preproc - "endcelldefine" preproc - "default_nettype" preproc - "unconnected_drive" preproc - "nounconnected_drive" preproc - "protect" preproc - "endprotect" preproc - "protected" preproc - "endprotected" preproc - "expand_vectornets" preproc - "noexpand_vectornets" preproc - "autoexpand_vectornets" preproc - "remove_gatename" preproc - "noremove_gatename" preproc - "remove_netname" preproc - "noremove_netname" preproc -done - "a-zA-Z0-9_" preident - -:preproc Preproc - * idle noeat - -:precond Precond - * idle noeat - -# All following states are for when we're not in a preprocessor line - -:idle Idle - * idle - "\n" reset - "/" slash - "0-9" first_digit recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "'" sized_number recolor=-1 - "a-zA-Z_" ident buffer - -:slash Idle - * idle noeat - "*" comment recolor=-2 - "/" line_comment recolor=-2 - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "*" maybe_end_comment - -:maybe_end_comment Comment comment - * comment - "/" idle - "*" maybe_end_comment - -:line_comment Comment comment - * line_comment - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - "\n" reset - -# Integer constants - -:first_digit Number - * idle noeat - "'" sized_number - "." float - "0-9" first_digit - -:sized_number Number - * idle noeat - "hH" hex_number - "oO" octal_number - "bB" binary_number - "dD" decimal_number - -:hex_number Number - * idle noeat - "0-9A-Fa-f_xz" hex_number - -:binary_number Number - * idle noeat - "01_xz" binary_number - -:octal_number Number - * idle noeat - "0-7_xz" octal_number - -:decimal_number Number - * idle noeat - "0-9_" decimal_number - -# Floating point - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -# Strings - -:string String string - * string - "\n" reset - "\"" idle - "\\" string_escape recolor=-1 - "%" string_control recolor=-1 - -:string_escape StringEscape string - * string - "\n" string recolor=-2 - -:string_control StringEscape string - * string_control - "\n" reset - "efghdobcvstmEFGHDOBCVSTM%" string - -# Identifiers - -:ident Ident - * idle noeat strings - "always" kw - "assign" kw - "begin" kw - "case" kw - "casex" kw - "casez" kw - "default" kw - "defparam" kw - "else" kw - "end" kw - "endcase" kw - "endfunction" kw - "endmodule" kw - "endtask" kw - "for" kw - "function" kw - "if" kw - "module" kw - "parameter" kw - "repeat" kw - "task" kw - "while" kw - "forever" kw - "initial" kw - "integer" type - "inout" type - "input" type - "output" type - "reg" type - "real" type - "wire" type - "wor" type - "wand" type - "and" kw - "attribute" kw - "buf" kw - "bufif0" kw - "bufif1" kw - "cmos" kw - "deassign" kw - "disable" kw - "edge" kw - "endattribute" kw - "endprimitive" kw - "endspecify" kw - "endtable" kw - "event" kw - "force" kw - "fork" kw - "highz0" kw - "highz1" kw - "join" kw - "large" kw - "macromodule" kw - "medium" kw - "nand" kw - "negedge" kw - "nmos" kw - "nor" kw - "not" kw - "notif0" kw - "notif1" kw - "or" kw - "pmos" kw - "posedge" kw - "primitive" kw - "pull0" kw - "pull1" kw - "pulldown" kw - "pullup" kw - "rcmos" kw - "realtime" kw - "release" kw - "rnmos" kw - "rpmos" kw - "rtran" kw - "rtranif0" kw - "rtranif1" kw - "scalared" kw - "signed" kw - "small" kw - "specify" kw - "specparam" kw - "strength" kw - "strong0" kw - "strong1" kw - "supply0" kw - "supply1" kw - "table" kw - "time" kw - "tran" kw - "tranif0" kw - "tranif1" kw - "tri" kw - "tri0" kw - "tri1" kw - "triand" kw - "trior" kw - "trireg" kw - "unsigned" kw - "vectored" kw - "wait" kw - "weak0" kw - "weak1" kw - "xnor" kw - "xor" kw -done - "a-zA-Z0-9_" ident - -:type Type - * idle noeat - -:kw Keyword - * idle noeat diff --git a/.config/joestar/syntax/vhdl.jsf b/.config/joestar/syntax/vhdl.jsf @@ -1,219 +0,0 @@ -# JOE syntax highlight file for VHDL - -# Define colors - -=Idle -=Ident -=Comment -=Constant -=Number +Constant -=String +Constant -=Character +String -=Escape -=StringEscape +Escape +String -=CharacterEscape +StringEscape -=Keyword -=Operator +Keyword - -# All following states are for when we're not in a preprocessor line - -:idle Idle - * idle - "-" maybe_comment - "'" char recolor=-1 - "\"" string recolor=-1 - "0-9" first_digit recolor=-1 - "." maybe_float - "\"" string recolor=-1 - "Bb" maybe_binary buffer - "Oo" maybe_octal buffer - "Xx" maybe_hex buffer - "ac-np-wyzAC-NP-WYZ" ident buffer - -:maybe_comment Idle - * idle noeat - "-" comment recolor=-2 - -:comment Comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "\n" idle - - -# Character constant - -:char Character - * char - "'" idle - -# Strings - -:maybe_binary Idle - * ident noeat - "\"" string recolor=-2 - -:maybe_octal Idle - * ident noeat - "\"" string recolor=-2 - -:maybe_hex Idle - * ident noeat - "\"" string recolor=-2 - -:string String string - * string - "\n" idle - "\"" idle - "\\" string_escape recolor=-1 - -:string_escape StringEscape string - * string - "\n" string recolor=-2 - -# Integer constants - -:first_digit Number - * idle noeat - "." float - "_" first_digit - "0-9" first_digit - -# Floating point - -:maybe_float Number - * idle recolor=-2 noeat - "0-9" float recolor=-2 - -:float Number - * idle noeat - "eE" epart - "0-9" float - -:epart Number - * idle noeat - "0-9+\-" enum - -:enum Number - * idle noeat - "0-9" enum - -# Identifiers - -:ident Ident - * quote noeat istrings - "abs" operator - "access" kw - "after" kw - "alias" kw - "all" kw - "and" operator - "architecture" kw - "array" kw - "assert" kw - "attribute" kw - "begin" kw - "block" kw - "body" kw - "buffer" kw - "bus" kw - "case" kw - "component" kw - "configuration" kw - "constant" kw - "disconnect" kw - "downto" kw - "else" kw - "elsif" kw - "end" kw - "entity" kw - "exit" kw - "file" kw - "for" kw - "function" kw - "generate" kw - "generic" kw - "group" kw - "guarded" kw - "if" kw - "impure" kw - "in" kw - "inertial" kw - "inout" kw - "is" kw - "label" kw - "library" kw - "linkage" kw - "literal" kw - "loop" kw - "map" kw - "mod" operator - "nand" operator - "new" kw - "next" kw - "nor" operator - "not" operator - "null" kw - "of" kw - "on" kw - "open" kw - "or" operator - "others" kw - "out" kw - "package" kw - "port" kw - "postponed" kw - "procedure" kw - "process" kw - "process" kw - "pure" kw - "range" kw - "record" kw - "register" kw - "reject" kw - "rem" operator - "report" kw - "return" kw - "rol" operator - "ror" operator - "select" kw - "severity" kw - "shared" kw - "signal" kw - "sla" operator - "sll" operator - "sra" operator - "srl" operator - "subtype" kw - "then" kw - "to" kw - "transport" kw - "type" kw - "unaffected" kw - "units" kw - "until" kw - "use" kw - "variable" kw - "wait" kw - "when" kw - "while" kw - "with" kw - "xnor" operator - "xor" operator -done - "a-zA-Z0-9_" ident - -:operator Operator - * idle noeat - -:kw Keyword - * idle noeat - -# identifiers separated with quote ' - -:quote Idle - * idle noeat - "'" quote_word - -:quote_word Idle - * idle noeat - "a-zA-Z" ident buffer diff --git a/.config/joestar/syntax/whitespace.jsf b/.config/joestar/syntax/whitespace.jsf @@ -1,17 +0,0 @@ -# JOE syntax highlight file for Whitespace -# by Christian Nicolai (http://mycrobase.de) - -=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/.config/joestar/syntax/xml.jsf b/.config/joestar/syntax/xml.jsf @@ -1,312 +0,0 @@ -# Improved XML highlighter by: Brian Candler <B.Candler@pobox.com> -# Incorporated some Ant logic from Christian Nicolai (http://mycrobase.de) - -=Idle -=Bad -=Tag +DefinedFunction +DefinedIdent -=TagName +Tag -=TagEnd +Tag -=Attr +Type -=Constant -=String +Constant -=Entity +Escape -=StringEntity +StringEscape +Entity -=Namespace +Comment -=Decl +Preproc +Tag -=Comment -=CommentEdge +Comment -=PIStart +Preproc +Tag -=PIBody +Comment -=PIEnd +Preproc +Tag -=CdataEdge +Statement -=CdataBody +String -=Keyword - -# 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 -# -# Actually the standard tells you which characters to use, see: -# http://www.w3.org/TR/xml11/#NT-NameStartChar - -:init Idle - * idle noeat call=.xml() - -.subr xml - -: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 Entity - * error noeat recolor=-1 - "-.:\c" entityref - "#" entityref - ";" content - -# Matched: < - -:tag Tag - * error noeat recolor=-1 - "/" end_tag recolor=-2 mark - ":\i" start_or_empty_tag recolor=-1 mark buffer - "?" pi_start recolor=-2 - "!" decl recolor=-2 buffer - -# Matched: </ - -:end_tag TagEnd - * error noeat recolor=-1 - ":\i" end_tag2 recolor=-1 - -:end_tag2 TagEnd - * error noeat recolor=-1 - "-.:\c" end_tag2 - " \t\r\n" end_tag2_sp recolor=-1 - ">" close_tag_end noeat - -:end_tag2_sp TagEnd - * end_tag3 noeat - -:end_tag3 TagEnd - * error noeat recolor=-1 - " \t\r\n" end_tag3_sp recolor=-1 - ">" close_tag_end noeat - -:end_tag3_sp TagEnd - * end_tag_3 noeat - -# Matched: <tag - -:start_or_empty_tag TagName -.ifdef ant - * decide_tag_type noeat strings - "target" kw -done -.else - * decide_tag_type noeat -.endif - ":" tag_namespace markend recolormark recolor=-1 - "-.\c" start_or_empty_tag - -:kw Keyword - * decide_tag_type noeat - -:decide_tag_type TagName - * error noeat recolor=-1 - "/" empty_tag mark - " \t\r\n" start_or_empty_tag_sp markend buffer recolor=-1 - ">" close_tag noeat - -:tag_namespace Namespace - * start_or_empty_tag noeat buffer - -:start_or_empty_tag_sp Idle - * tag_space noeat - -# Matched: <tag/ - -:empty_tag Tag - * error noeat recolor=-1 - ">" close_tag noeat - -# Matched: <tag SPACE - -:tag_space Attr - * error noeat recolor=-1 - " \t\r\n" tag_space_sp recolor=-1 - ":\i" attr mark - "/" empty_tag recolor=-1 - ">" close_tag noeat - -:tag_space_sp Idle - * tag_space mark noeat - -# Matched: <tag attr - -:attr Attr - * error noeat recolor=-1 - ":" attr_namespace markend recolormark recolor=-1 - "-.\c" attr - " \t\r\n" attr_sp recolor=-1 - "=" string - -:attr_namespace Namespace - * attr noeat - -:attr_sp Idle - * attr_before noeat - -:attr_before Attr - * error noeat recolor=-1 - " \t\r\n" attr_sp recolor=-1 - "=" string - -# Matched: <tag attr= - -:string Attr - * error noeat recolor=-1 - " \t\r\n" string_sp recolor=-1 - "\"" astring recolor=-1 - "'" bstring recolor=-1 - -:string_sp Idle - * string noeat - -# Matched: <tag attr=" - -:astring String string - * astring - "<" error noeat recolor=-1 - "&" achar recolor=-1 - "\"" endstring -.ifdef ant - "$" astring call=ant.antvar() recolor=-1 -.endif - -# ">" error noeat recolor=-1 - - -:bstring String string - * bstring - "<" error noeat recolor=-1 - "&" bchar recolor=-1 - "'" endstring -.ifdef ant - "$" bstring call=ant.maybe_antvar() -.endif - -# ">" error noeat recolor=-1 - - -:achar StringEntity string - * error noeat recolor=-1 - "-.:\c" achar - "#" achar - ";" astring - -:bchar Entity - * error noeat recolor=-1 - "-.:\c" bchar - "#" bchar - ";" bstring - -# Matched: <tag attr="foo" - -:endstring Attr - * error noeat recolor=-1 - " \t\r\n" tag_space_sp - "/" empty_tag recolor=-1 - ">" close_tag noeat - -# This state is just to recolor the final ">" at the end of <tag attr="val"> - -:close_tag Tag - * content - -:close_tag_end TagEnd - * content - -# Matched: <? - -:pi_start PIStart - * pi noeat recolor=-1 - -:pi PIBody - * pi - "?" pi2 - -:pi2 PIBody - * pi - ">" pi_end recolor=-2 - -:pi_end PIEnd - * content noeat recolor=-1 - -# Matched: <! - -:decl Decl - * decl strings - "!--" comment_start recolor=-5 - "![CDATA[" cdata_start recolor=-10 -done -# "<" decl_nest - ">" content - -# We allow one level of <...> nesting within declarations - -:decl_nest Decl - * decl_nest - ">" decl - -# Matched: <!-- - -:comment_start CommentEdge - * comment noeat - -:comment Comment comment - * comment - "BFHNTX" comment noeat call=comment_todo.comment_todo() - "-" comment2 - -:comment2 Comment comment - * comment - "-" comment3 - -:comment3 Comment comment - * comment_error noeat recolor=-3 - ">" comment_end recolor=-3 - -:comment_end CommentEdge - * content noeat recolor=-1 - -# For compatibility, the string "--" (double-hyphen) MUST NOT occur within -# comments. [http://www.w3.org/TR/REC-xml/ section 2.5] - -:comment_error Bad - * comment - "-" comment_error - ">" comment_end recolor=-3 - -# Matched: <![CDATA[ - -:cdata_start CdataEdge - * cdata noeat - -:cdata CdataBody - * cdata - "]" cdata2 - -:cdata2 CdataBody - * cdata - "]" cdata3 - -:cdata3 CdataBody - * cdata - "]" cdata3 - ">" cdata_end recolor=-3 - -:cdata_end CdataEdge - * content noeat recolor=-1 - -.end diff --git a/.config/joestar/syntax/yaml.jsf b/.config/joestar/syntax/yaml.jsf @@ -1,152 +0,0 @@ -# JOE syntax highlight file for YAML -# by Christian Nicolai (http://mycrobase.de) - -# TODO: Could use numbers vs strings for Constant, but it's a bit of work -# Array elements with colons get misidentified as keys - -=Idle -=Comment -=Constant -=String +Constant -=Number +Constant -=Escape -=StringEscape +Escape +String -=Type -=Bad -=Brace - -=Key +Attr +Type +String -=Directive +Keyword -=Reference +Label +DefinedIdent -=LocalType +DefinedType +Type -=BlockDelim +Operator - -=BadTab +Bad - -:line_start Idle - * maybe_key noeat - "\t" bad_tab recolor=-1 - " " line_start - -:idle Constant - * idle - "\n" line_start - "%" directive recolor=-1 - "#" line_comment recolor=-1 - "'" string_sq_1 recolor=-1 - "\"" string_dq_1 recolor=-1 - "{[]}" brace recolor=-1 - "." maybe_block_end1 - "*&" maybe_reference - "!" maybe_typecast - -:maybe_key Idle - * maybe_key1 recolor=-1 mark - "\n%#'\"{[]}*&!" idle noeat - "-" maybe_block1 mark - -:maybe_key1 Constant - * idle noeat - ":" key - " a-zA-Z0-9_-" maybe_key1 - -# necessary to include the : -:key Key - * key_end noeat recolormark - -:key_end Key - * idle noeat - -# mark bad tabs until the first non-whitespace -:bad_tab BadTab - * line_start noeat - -:line_comment Comment comment - * line_comment - "\n" line_start - "BFHNTX" line_comment noeat call=comment_todo.comment_todo() - -:brace Brace - * idle noeat - -:directive Directive - * directive - "\n" line_start - -:string_sq_1 String string - * string_sq noeat - -:string_sq String string - * string_sq - "\'" idle - "\\" string_sq_esc recolor=-1 - -:string_sq_esc StringEscape string - * string_sq - "\n" string_sq recolor=-2 - -:string_dq_1 String string - * string_dq noeat - -:string_dq String string - * string_dq - "\"" idle - "\\" string_dq_esc recolor=-1 - -:string_dq_esc StringEscape string - * 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 String string - * idle noeat - "." maybe_block_end2 - -:maybe_block_end2 String string - * 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/.config/kitty/kitty.conf b/.config/kitty/kitty.conf @@ -23,7 +23,7 @@ bold_italic_font auto #: italic_font Operator Mono Book Italic #: bold_italic_font Operator Mono Medium Italic -font_size 12.0 +font_size 15.0 #: Font size (in pts) @@ -1183,8 +1183,8 @@ map kitty_mod+l next_layout #: You can change the font size for all top-level kitty OS windows at #: a time or only the current one. -map kitty_mod+equal change_font_size all +2.0 -map kitty_mod+minus change_font_size all -2.0 +map kitty_mod+shift+equal change_font_size all +2.0 +map kitty_mod+shift+minus change_font_size all -2.0 map kitty_mod+backspace change_font_size all 0 #: To setup shortcuts for specific font sizes:: diff --git a/.config/zsh/zshrc b/.config/zsh/zshrc @@ -140,7 +140,7 @@ alias srz='source ~/.zshrc' alias jrc='joe $HOME/.config/joestar/joestarrc' alias vim='nvim' alias cfz="$EDITOR $HOME/.zshrc" -alias cfe="$EDITOR $HOME/.config/emacs/lisp/config.org $HOME/.config/emacs/init.el" +alias cfe="$EDITOR $HOME/.config/emacs/config.org $HOME/.config/emacs/init.el" alias jrd='joe -rdonly' # default options and shortcuts alias rip='abcde -o opus' @@ -176,6 +176,10 @@ alias jrz='joe ~/.zshrc' alias comicv='ls -v | sxiv -' alias ec='emacsclient -c' alias et='emacsclient -t' +function man() { + local command="$2($1)" + emacsclient -t -e '(man "'"$command"'")' || man "$@" +} # Emacs vterm if [[ "$INSIDE_EMACS" = 'vterm' ]]; then