Commit e3cf5b1b authored by Rafaël Carré's avatar Rafaël Carré

vim syntax: fix vlc files detection

parent a2c77248
...@@ -7,7 +7,7 @@ function VlcSyntax() ...@@ -7,7 +7,7 @@ function VlcSyntax()
let line=1 let line=1
let vlc=0 let vlc=0
while(line<=15) while(line<=15)
if matchend(getline(line), "Copyright.*VideoLAN( team)?") > -1 if match(getline(line), ".*Copyright.*VideoLAN.*") > -1
let vlc=1 let vlc=1
break break
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment