[SCM] Vim packaging branch, deb/runtime, updated. upstream/7.1.285-52-gbcef103

James Vega jamessan at debian.org
Fri Apr 18 02:13:10 UTC 2008


The following commit has been merged in the deb/runtime branch:
commit bcef103a36622bf584b69ecc94e3803fa63bded2
Author: James Vega <jamessan at debian.org>
Date:   Thu Apr 17 22:09:44 2008 -0400

    Improve filetype detection of strace logs.
    
    Match strace logs when strace was configured to follow forks.  This causes the
    processes' pids to be displayed at the start of the line which prevented the
    old filetype detection from matching.
    Closes #473967
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/runtime/scripts.vim b/runtime/scripts.vim
index ad4278c..e2b4b3d 100644
--- a/runtime/scripts.vim
+++ b/runtime/scripts.vim
@@ -271,7 +271,7 @@ else
     set ft=virata
 
     " Strace
-  elseif s:line1 =~ '^[0-9]* *execve(' || s:line1 =~ '^__libc_start_main'
+  elseif s:line1 =~ '^\(\[pid \d\+\] \)\=[0-9:.]* *execve(' || s:line1 =~ '^__libc_start_main'
     set ft=strace
 
     " VSE JCL

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list