Date: Mon Oct 2 20:22:12 CEST 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.50]
- Added folding for VIM .xt file format. (Patch by Ethan Winn
<public[@]destratify.com>)
Modified files:
xdebug/xt.vim (version: 1.3)
[FILE: /xdebug/xt.vim]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/xt.vim:1.2 Sun Apr 11 12:22:08 2004 GMT
+++ xdebug/xt.vim Mon Oct 02 16:22:12 2006 GMT
@@ -68,4 +68,8 @@
let b:current_syntax = "xt"
+:set foldmethod=expr
+:set foldexpr=strlen(substitute(substitute(substitute(substitute(getline(v:lnum),'^TR.*$','',''),'\\s>=>','->',\"g\"),'^\\s.\\{20\\}\\(\\s\\+\\)\\?->.*$','\\1',''),'\\s\\s','\ ',\"g\"))-2
+:set foldlevel=9999
+
" vim: ts=8 sw=2
Received on Mon Oct 02 2006 - 20:22:46 BST
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST