Merge branch 'master' of gitlab.com:dbeniamine/todo.txt-vim into github

This commit is contained in:
David Beniamine
2019-07-10 14:13:14 +02:00

View File

@@ -160,8 +160,8 @@ like this behavior, you can set the default done.txt name:
This plugin provides a nice complete function for project and context, to use
it add the following lines to your vimrc:
>
" Use todo#complete as the omni complete function for todo files
au filetype todo setlocal omnifunc=todo#complete
" Use todo#Complete as the omni complete function for todo files
au filetype todo setlocal omnifunc=todo#Complete
<
You can also start automatically the completion when entering '+' or '@' by
adding the next lines to your vimrc:
@@ -173,7 +173,7 @@ adding the next lines to your vimrc:
au filetype todo imap <buffer> @ @<C-X><C-O>
<
The `todo#complete` function is designed to complete projects (starting by `+`)
The `todo#Complete` 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 keyword completion (on all buffers).