diff options
Diffstat (limited to 'bundle/prr-ui')
| -rw-r--r-- | bundle/prr-ui/autoload/prr_ui.vim | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/bundle/prr-ui/autoload/prr_ui.vim b/bundle/prr-ui/autoload/prr_ui.vim index f3a6ea7..1d3246a 100644 --- a/bundle/prr-ui/autoload/prr_ui.vim +++ b/bundle/prr-ui/autoload/prr_ui.vim @@ -866,8 +866,14 @@ endfunction  function! prr_ui#Comment()  	let current_line = getline('.') -	" Open the existing Prr review file in a new split. -	sbuffer prr +	try +		" Open the existing Prr review file in a new split. +		sbuffer prr +	catch +		" TODO: Run prr-start. +		echoerr 'PrrComment: No Prr buffer available' +		return +	endtry  	call search(current_line) | 
