Files
todo.txt-vim/tests/clean-vim.sh
fretep f35bcabcea Correct a bug in todo#Complete
where the entire lines were being shown as related
2017-09-24 23:02:26 +10:00

18 lines
300 B
Bash

#/bin/bash
# Start a clean vim for testing development.
REPO_TOP=$(git rev-parse --show-toplevel)
cd "${REPO_TOP}"
vim -Nu <(cat <<EOF
filetype off
set rtp+=~/.vim/bundle/vader.vim
set rtp+=./
filetype plugin indent on
syntax enable
autocmd filetype todo setlocal omnifunc=todo#Complete
EOF
) $*