From ab84a8f2e98b93faea3b445c07882069df37cc62 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 11 Apr 2020 20:54:27 -0400 Subject: syntax highlighting, start work, based on sisu.rb --- misc/editor-syntax-etc/gedit/sisu.lang | 128 +++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 misc/editor-syntax-etc/gedit/sisu.lang (limited to 'misc/editor-syntax-etc/gedit') diff --git a/misc/editor-syntax-etc/gedit/sisu.lang b/misc/editor-syntax-etc/gedit/sisu.lang new file mode 100644 index 0000000..b82d5f8 --- /dev/null +++ b/misc/editor-syntax-etc/gedit/sisu.lang @@ -0,0 +1,128 @@ + + + + + + + ^0~\S|^\@\S+:\s + \n\n + + + + ^(:[A-C]|[1-6])~[a-zA-Z0-9.?_-]*\s+.+ + + + + ^(!_|_[1-9]|_[1-9]?\*)\s + + + + ~\{ + \}~ + + + + [*]\{ + \}[*] + + + + !\{ + \}! + + + + /\{ + \}/ + + + + _\{ + \}_ + + + + \^{ + \}\^ + + + + ,{ + \}, + + + + [+]\{ + \}[+] + + + + [-]\{ + \}[-] + + + + [*]\S+[*] + + + + \{[^}]+\}(https?:\/\/\S+|image)\s + + + + \s\*~\S+ + + + + http[s]*:\/\/\S+ + + + + ^<<\s+\S+\.ss[ti] + + + + ^%+\s. + + + + ^code\{\s*$ + ^\}code\s*$ + + + + ^poem\{\s*$ + ^\}poem\s*$ + + + + ^group\{\s*$ + ^\}group\s*$ + + + + ^alt\{\s*$ + ^\}alt\s*$ + + + + <:(pb|np)> + + + + <:?br> + + + + ~\^(\s|$) + + + + ^\^~\s.+ + + + -- cgit v1.2.3