aboutsummaryrefslogtreecommitdiffstats
path: root/bundle
diff options
context:
space:
mode:
authorTeddy Wing2020-03-10 00:44:06 +0100
committerTeddy Wing2020-03-12 23:21:55 +0100
commitb71e2fe5d13cc6ac878748c5b778d5f4a3b6d295 (patch)
treea94aa704b74359bb16d8e5e8d87be8ea35750e55 /bundle
parent502132da7d6131e3ace63f43e50c0e4e5004da91 (diff)
downloaddotvim-b71e2fe5d13cc6ac878748c5b778d5f4a3b6d295.tar.bz2
todo: Add load guard
Diffstat (limited to 'bundle')
-rw-r--r--bundle/todo/plugin/todo.vim6
1 files changed, 6 insertions, 0 deletions
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()<CR>
nnoremap ]t :call todo#NextTODO()<CR>