diff --git a/Todo.txt b/Todo.txt index 4397054..0468c60 100644 --- a/Todo.txt +++ b/Todo.txt @@ -4,7 +4,7 @@ (C) 2011-06-01 Improve syntax file @syntax 2011-05-30 Map commands to add, rm, ls, pri, depri etc @ftplugin 2011-05-30 Contact main project for reference -X 2011-05-31 Stop breaking lines automatically @ftplugin X 2011-05-30 Implement filetype detection @ftdetect X 2011-05-30 Implement colorized priorities @syntax X 2011-05-31 Highlight date, project and context of tasks with no priority @syntax +X 2011-05-31 Stop breaking lines automatically @ftplugin diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index 98ca40e..d384c56 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -1,57 +1,82 @@ -" Vim Todo.txt plugin -" Last Change: 2011 Jun 01 -" Maintainer: Leandro Freitas -" License: This file is placed in the public domain. +" File: todo.txt.vim +" Description: Todo.txt filetype detection +" Author: Leandro Freitas +" Licence: Vim licence +" Website: http://github.com/freitass/todo.txt.vim +" Version: 0.2 -if exists("g:loaded_todo") - finish -endif +" TODO uncomment +"if exists("g:loaded_todo") +" finish +"endif +"let g:loaded_todo = 1 + +let s:save_cpo = &cpo +set cpo&vim -" Stop breaking lines automatically setlocal textwidth=0 setlocal wrapmargin=0 -"" Vim global plugin for correcting typing mistakes -"" Last Change: 2000 Oct 15 -"" Maintainer: Bram Moolenaar -"" License: This file is placed in the public domain. -" -"if exists("g:loaded_typecorr") -" finish -"endif -"let g:loaded_typecorr = 1 -" -"let s:save_cpo = &cpo -"set cpo&vim -" -"iabbrev teh the -"iabbrev otehr other -"iabbrev wnat want -"iabbrev synchronisation -" \ synchronization -"let s:count = 4 -" -"if !hasmapto('TypecorrAdd') -" map a TypecorrAdd -"endif -"noremap