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 30, 2020
1 parent 913a3e5 commit cf2ec94
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 cf2ec94

Please sign in to comment.