diff --git a/README.markdown b/README.markdown index d881999..72e27ae 100644 --- a/README.markdown +++ b/README.markdown @@ -87,11 +87,8 @@ adding the next lines to your vimrc: The TodoComplete function is designed to complete projects (starting by '+') and context (starting by '@'). If you use it on a regular word, it will do a normal buffer completion. -If you try to complete a project, it will propose all projects in the file and -for each of them, it will show their context in the preview window. +If you try to complete a project, it will propose all projects in all open +buffers and for each of them, it will show their context and the name of the +buffers in which they appears in the preview window. TodoCompelte does the same thing for context except that it gives in the preview the list of projects existing in each existing contexts. - -## Todo - -Complete documentation diff --git a/doc/todo.txt b/doc/todo.txt index fcaeed5..949fbc3 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -77,7 +77,8 @@ COMPLETION *todo-complete* The TodoComplete function is designed to complete projects (starting by '+') and context (starting by '@'). If you use it on a regular word, it will do a normal buffer completion. -If you try to complete a project, it will propose all projects in the file and -for each of them, it will show their context in the preview window. +If you try to complete a project, it will propose all projects in all open +buffers and for each of them, it will show their context and the name of the +buffers in which they appears in the preview window. TodoCompelte does the same thing for context except that it gives in the preview the list of projects existing in each existing contexts. diff --git a/ftdetect/todo.vim b/ftdetect/todo.vim index 5d23210..6fe1e06 100644 --- a/ftdetect/todo.vim +++ b/ftdetect/todo.vim @@ -3,7 +3,7 @@ " Author: Leandro Freitas " License: Vim license " Website: http://github.com/dbeniamine/todo.txt-vim -" Version: 0.5 +" Version: 0.6 autocmd BufNewFile,BufRead [Tt]odo.txt set filetype=todo autocmd BufNewFile,BufRead [Dd]one.txt set filetype=todo diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index f5e661d..996873b 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -3,7 +3,7 @@ " Author: Leandro Freitas , David Beniamine " License: Vim license " Website: http://github.com/dbeniamine/todo.txt-vim -" Version: 0.5 +" Version: 0.6 " Save context {{{1 let s:save_cpo = &cpo diff --git a/ftplugin/todo_sort.vim b/ftplugin/todo_sort.vim index 5b35da3..f065723 100644 --- a/ftplugin/todo_sort.vim +++ b/ftplugin/todo_sort.vim @@ -3,7 +3,7 @@ " Author: David Beniamine " Licence: Vim licence " Website: http://github.com/dbeniamine/todo.txt.vim -" Version: 0.5 +" Version: 0.6 " vim: ts=4 sw=4 :help tw=78 cc=80 " These two variables are parameters for the successive calls the vim sort diff --git a/syntax/todo.vim b/syntax/todo.vim index 4fe5962..e2edc07 100644 --- a/syntax/todo.vim +++ b/syntax/todo.vim @@ -3,7 +3,7 @@ " Author: Leandro Freitas , David Beniamine " License: Vim license " Website: http://github.com/dbeniamine/todo.txt-vim -" Version: 0.5 +" Version: 0.6 if exists("b:current_syntax") finish