How can i make this conditional return a value IF the output is a number?

前端 未结 0 724
慢半拍i
慢半拍i 2020-12-18 12:33

i am making this function for my vim-statusline:

function! GitCommitSymbol(timer_id)
  let l:uncommited = system(\'echo -n $(git checkout | grep -oP "(\\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题