mirror of
https://github.com/videolan/vlc.git
synced 2024-12-04 07:15:24 +08:00
Match doxygen \todo marker
This commit is contained in:
parent
59c865d115
commit
b020cf3ad8
@ -3,10 +3,10 @@ au Syntax c call VlcSyntax()
|
||||
au Syntax cpp call 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 vlc=0
|
||||
while(line<=10)
|
||||
while(line<=15)
|
||||
if matchend(getline(line), "Copyright.*VideoLAN") > -1
|
||||
let vlc=1
|
||||
break
|
||||
@ -113,5 +113,8 @@ function VlcSyntax()
|
||||
" don't put trailing spaces! DON'T USE TABS!!!
|
||||
syn match cSpaceError display excludenl "\s\+$"
|
||||
syn match cSpaceError display "\t"
|
||||
|
||||
" Todo
|
||||
syn keyword cTodo contained TODO FIXME XXX \todo \bug
|
||||
endfun
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user