Commit b020cf3a authored by Clément Stenac's avatar Clément Stenac

Match doxygen \todo marker

parent 59c865d1
...@@ -3,10 +3,10 @@ au Syntax c call VlcSyntax() ...@@ -3,10 +3,10 @@ au Syntax c call VlcSyntax()
au Syntax cpp call VlcSyntax() au Syntax cpp call VlcSyntax()
function VlcSyntax() function VlcSyntax()
" Look for a VideoLAN copyright in the first 10 lines " Look for a VideoLAN copyright in the first 15 lines
let line=1 let line=1
let vlc=0 let vlc=0
while(line<=10) while(line<=15)
if matchend(getline(line), "Copyright.*VideoLAN") > -1 if matchend(getline(line), "Copyright.*VideoLAN") > -1
let vlc=1 let vlc=1
break break
...@@ -113,5 +113,8 @@ function VlcSyntax() ...@@ -113,5 +113,8 @@ function VlcSyntax()
" don't put trailing spaces! DON'T USE TABS!!! " don't put trailing spaces! DON'T USE TABS!!!
syn match cSpaceError display excludenl "\s\+$" syn match cSpaceError display excludenl "\s\+$"
syn match cSpaceError display "\t" syn match cSpaceError display "\t"
" Todo
syn keyword cTodo contained TODO FIXME XXX \todo \bug
endfun endfun
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