diff options
-rw-r--r-- | ftplugin/todo.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ftplugin/todo.vim b/ftplugin/todo.vim index ff9be27..e970853 100644 --- a/ftplugin/todo.vim +++ b/ftplugin/todo.vim @@ -3,8 +3,9 @@ if exists("b:did_ftplugin") endif let b:did_ftplugin = 1 -" TODO: Add no_plugin_mappings or whatever - +if exists('g:no_plugin_maps') || exists('g:no_todo_maps') + finish +endif nnoremap <silent> <buffer> <Plug>TwodoNewTodoBelow o- nnoremap <silent> <buffer> <Plug>TwodoNewTodoAbove O- |