Correct a bug in todo#Complete

where the entire lines were being shown as related
This commit is contained in:
fretep
2017-09-24 21:55:45 +10:00
parent 21908548d4
commit f35bcabcea
6 changed files with 53 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ set rtp+=~/.vim/bundle/vader.vim
set rtp+=./
filetype plugin indent on
syntax enable
autocmd filetype todo setlocal omnifunc=todo#Complete
EOF
) +Vader! tests/*.vader && echo Success || exit 1
@@ -24,6 +25,7 @@ set rtp+=~/.vim/bundle/vader.vim
set rtp+=./
filetype plugin indent on
syntax enable
autocmd filetype todo setlocal omnifunc=todo#Complete
set ignorecase
EOF
) +Vader! tests/*.vader && echo Success || exit 1
@@ -37,6 +39,7 @@ set rtp+=~/.vim/bundle/vader.vim
set rtp+=./
filetype plugin indent on
syntax enable
autocmd filetype todo setlocal omnifunc=todo#Complete
set iskeyword+=-
EOF
) +Vader! tests/*.vader && echo Success || exit 1