todo.vim : Syntax highlighting for simple to do lists.
| script karma |
Rating 244/68,
Downloaded by 2594 |
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 |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.46
|