Thu, 09 Mar 2023 12:45:11 -0600
Switch to kanagawa until themer's jellybeans is fixed
1025 | 1 | func! tig#Tig(...) abort |
2 | enew | |
3 | setl nonumber | |
4 | call termopen(["tig"] + a:000, {'on_exit': 'tig#TigExit'}) | |
5 | endfunc | |
6 | ||
7 | func! tig#TigBlame() abort | |
8 | call tig#Tig('blame', '+' . line('.'), '--', expand('%')) | |
9 | endfunc | |
10 | ||
11 | func! tig#TigExit(...) abort | |
12 | buffer # | |
13 | endfunc | |
14 | ||
15 | command! -nargs=* -complete=file Tig call tig#Tig(<f-args>) | |
16 | command! TigBlame call tig#TigBlame() | |
17 | command! TigLog call tig#Tig('log', '-p', '--', expand('%')) | |
18 |