Update 2024-02-14 16:20 Linux/x86_64-ld5587
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! unite#kinds#task#define()
|
||||
return s:kind
|
||||
endfunction
|
||||
|
||||
let s:kind = {
|
||||
\ 'name' : 'task',
|
||||
\ 'default_action' : 'show',
|
||||
\ 'action_table': {},
|
||||
\}
|
||||
|
||||
let s:kind.action_table.show = {
|
||||
\ 'description' : 'Show report',
|
||||
\ }
|
||||
|
||||
function! s:kind.action_table.show.func(candidate)
|
||||
call taskwarrior#init(join(split(a:candidate.word, '[ \t]'), ' '))
|
||||
endfunction
|
||||
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
Reference in New Issue
Block a user