Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
b020cf3a
Commit
b020cf3a
authored
Dec 16, 2005
by
zorglub
Browse files
Match doxygen \todo marker
parent
59c865d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/vlc.vim
View file @
b020cf3a
...
...
@@ -3,10 +3,10 @@ au Syntax c call VlcSyntax()
au
Syntax
cpp
call
VlcSyntax
()
function
VlcSyntax
()
" Look for a VideoLAN copyright in the first 1
0
lines
" Look for a VideoLAN copyright in the first 1
5
lines
let
line
=
1
let
vlc
=
0
while
(
line
<=
1
0
)
while
(
line
<=
1
5
)
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment