sponsor Vim development Vim logo Vim Book Ad

todo.vim : Syntax highlighting for simple to do lists.

 script karma  Rating 244/68, Downloaded by 2145  Comments, bugs, improvements  Vim wiki

created by
Suresh Srinivasan
 
script type
syntax
 
description
Adds syntax highlighting for simple to do lists.

This is pretty rudimentary right now, but I've been using it for a while. Please send me comments/suggestions.

The file todo.vim lists known limitations/bugs.
 
install details
Quick install:

    o Extract todo.vim under the syntax directory.
    o Add the following to your .vimrc (or to ftdetect/filetype.vim; sample filetype.vim is included)

        au BufRead,BufNewFile *.todo setfiletype todo

Any file of the form *.todo or any file whose filetype is set as 'todo' will now have syntax highlighting enabled. Read the comments in todo.vim and view the sample file sample.todo for details.

Optional: Add the following to your .vimrc (or to scripts.vim file under the config directory; sample scripts.vim is included). This allows, in addition, for files starting with '#todo' in the first line to be marked as to do lists:

        if getline(1) =~? '^#\?TODO\>'
            setfiletype todo
        endif
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
todo_vimfiles.zip 0.4 2013-02-13 7.0 Suresh Srinivasan Syntax coloring now works even if colorscheme is changed. Minor enhancements to date formats. See included README.txt for details.
todo_vimfiles.zip 0.31 2007-10-30 7.0 Suresh Srinivasan Same as 0.3, but .zip'ed.
todo_vimfiles.tar.gz 0.3 2007-10-30 7.0 Suresh Srinivasan Minor bug fixes.
todo_vimfiles.zip 0.21 2007-10-10 7.0 Suresh Srinivasan Same as 0.2, but as a .zip instead of .gz
ip used for rating: 3.22.119.251

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github