summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-10-29 04:55:15 +0000
committermurphy <murphy@rubychan.de>2005-10-29 04:55:15 +0000
commitfb64737038ca13b4047219c429560b97b98fe22b (patch)
treee1b180bc151643d1a782623fbe94c0c38814b1d1 /etc
parent840e80d149a2c5651b71f87c6627e475d5401e04 (diff)
downloadcoderay-fb64737038ca13b4047219c429560b97b98fe22b.tar.gz
encoder.rb: Added Encoder#file_extension
plugin.rb: #load_plugin --> #load; no more debug messages encoders/html.rb: Documentation; hint system; moved NUMERIZABLE_WRAPPINGS to html_output.rb encoders/helpers/html_output.rb: made stylesheet a method; disabled code cell hint; fixed inline numerizing encoders/debug.rb: changed extension to 'raydebug' etc folder added included etc/raydebug.vim for cool vim highlighting
Diffstat (limited to 'etc')
-rw-r--r--etc/raydebug.vim43
1 files changed, 43 insertions, 0 deletions
diff --git a/etc/raydebug.vim b/etc/raydebug.vim
new file mode 100644
index 0000000..1aaf9b5
--- /dev/null
+++ b/etc/raydebug.vim
@@ -0,0 +1,43 @@
+" vim syntax file
+" Language: BBCode
+" Maintainer: Korenlius Kalnbach <korny@cYcnus.de>
+" Last Change: 2004 Dec 12
+
+" For version 5.x: Clear all syntax items
+" For version 6.x: Quit when a syntax file was already loaded
+if version < 600
+ syntax clear
+elseif exists("b:current_syntax")
+ finish
+endif
+
+syn case ignore
+
+
+syn match rayKind /\w\+(\@=/
+syn match rayRegion /\w\+<\@=/
+
+syn match rayRegionParen /[<>]/
+
+syn region rayText matchgroup=rayParen start='(' end=')' skip=/\\./
+
+" Define the default highlighting.
+" For version 5.7 and earlier: only when not done already
+" For version 5.8 and later: only when an item doesn't have highlighting yet
+if version >= 508 || !exists("did_raydebug_syn_inits")
+ if version < 508
+ let did_raydebug_syn_inits = 1
+ command -nargs=+ HiLink hi link <args>
+ else
+ command -nargs=+ HiLink hi def link <args>
+ endif
+
+ hi link rayKind Type
+ hi link rayRegion Statement
+ hi link rayRegionParen Statement
+
+ hi link rayText Constant
+ hi link rayTextParen Operator
+
+ delcommand HiLink
+endif