From b71e2fe5d13cc6ac878748c5b778d5f4a3b6d295 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 10 Mar 2020 00:44:06 +0100 Subject: todo: Add load guard --- bundle/todo/plugin/todo.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundle/todo/plugin/todo.vim b/bundle/todo/plugin/todo.vim index 47e1732..e8f0229 100644 --- a/bundle/todo/plugin/todo.vim +++ b/bundle/todo/plugin/todo.vim @@ -1,2 +1,8 @@ +if exists('g:loaded_todo') + finish +endif +let g:loaded_todo = 1 + + nnoremap [t :call todo#PreviousTODO() nnoremap ]t :call todo#NextTODO() -- cgit v1.2.3