Skip to content

Commit

Permalink
add missing abort
Browse files Browse the repository at this point in the history
  • Loading branch information
prabirshrestha committed Jun 28, 2020
1 parent b1ff446 commit 867de0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/vital/__vital__/Experimental/UI/Popup.vim
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function! s:_set_contents(data, contents) abort
let a:data['contents'] = a:contents
endfunction

function! s:_get_contents(data)
function! s:_get_contents(data) abort
return get(a:data, 'contents', [])
endfunction

Expand Down Expand Up @@ -91,7 +91,7 @@ function! s:_set_col(data, col) abort
endif
endfunction

function! s:close(id)
function! s:close(id) abort
if has_key(s:_popups, a:id)
if s:_has_nvim
silent! call nvim_win_close(a:id, 1)
Expand Down

0 comments on commit 867de0e

Please sign in to comment.