vim syntax: fix vlc files detection
authorRafaël Carré <funman@videolan.org>
Thu, 22 Nov 2007 00:43:14 +0000 (00:43 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 22 Nov 2007 00:43:14 +0000 (00:43 +0000)
extras/vlc.vim

index e9f2471..432a5f6 100644 (file)
@@ -7,7 +7,7 @@ function VlcSyntax()
   let line=1
   let vlc=0
   while(line<=15)
-    if matchend(getline(line), "Copyright.*VideoLAN( team)?") > -1
+    if match(getline(line), ".*Copyright.*VideoLAN.*") > -1
       let vlc=1
       break
     endif