diff options
author | Teddy Wing | 2020-10-04 03:10:49 +0200 |
---|---|---|
committer | Teddy Wing | 2020-10-04 03:10:49 +0200 |
commit | 0c732266c09ea04b2229eeb1e2801f795b4999df (patch) | |
tree | e9e2e2eec179fc08ffa928f208749d1e9d4de1cb /plugin | |
download | vim-git-todo-0c732266c09ea04b2229eeb1e2801f795b4999df.tar.bz2 |
`GitTodo` command to run `git todo` and load matches to quickfix list
Allow a ref to be specified in an argument, falling back to
`g:git_todo_default_ref`, or the `git todo` default.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/git_todo.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/git_todo.vim b/plugin/git_todo.vim new file mode 100644 index 0000000..6f5d283 --- /dev/null +++ b/plugin/git_todo.vim @@ -0,0 +1,7 @@ +if exists('g:loaded_git_todo') + finish +endif +let g:loaded_git_todo = 1 + + +command! -nargs=? GitTodo call git_todo#QuickfixTodos(<q-args>) |