Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Highlighting for FIXME markers

  • Loading branch information...
commit 3e4f5a34f0cfb880b397d20cb8b8d0c2603813f5 1 parent 7a476d8
@xolox authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  notes.vim
  2. +3 −1 syntax.vim
View
2  notes.vim
@@ -3,7 +3,7 @@
" Last Change: December 28, 2010
" URL: http://peterodding.com/code/vim/notes/
" License: MIT
-" Version: 0.7.18
+" Version: 0.7.19
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3375 1 :AutoInstall: session.zip
View
4 syntax.vim
@@ -76,13 +76,15 @@ syntax match notesWindowsPath /\w\@<![A-Za-z]:\S\+\([\\/]\|[^ [:punct:]]\)/ cont
syntax cluster notesInline add=notesWindowsPath
highlight def link notesWindowsPath Directory
-" Highlight TODO, DONE and XXX markers. {{{2
+" Highlight TODO, DONE, FIXME and XXX markers. {{{2
syntax match notesTodo /\<TODO\>/
syntax match notesXXX /\<XXX\>/
+syntax match notesFixMe /\<FIXME\>/
syntax match notesDoneItem /^\(\s\+\).*\<DONE\>.*\(\n\1\s.*\)*/ contains=@notesInline
syntax match notesDoneMarker /\<DONE\>/ containedin=notesDoneItem
highlight def link notesTodo WarningMsg
highlight def link notesXXX WarningMsg
+highlight def link notesFixMe WarningMsg
highlight def link notesDoneItem Comment
highlight def link notesDoneMarker Question
Please sign in to comment.
Something went wrong with that request. Please try again.