Skip to content

Commit cf2ec94

Browse files
add missing abort
1 parent 913a3e5 commit cf2ec94

File tree

1 file changed

+2
-2
lines changed
  • autoload/vital/__vital__/Experimental/UI

1 file changed

+2
-2
lines changed

autoload/vital/__vital__/Experimental/UI/Popup.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function! s:_set_contents(data, contents) abort
5555
let a:data['contents'] = a:contents
5656
endfunction
5757

58-
function! s:_get_contents(data)
58+
function! s:_get_contents(data) abort
5959
return get(a:data, 'contents', [])
6060
endfunction
6161

@@ -91,7 +91,7 @@ function! s:_set_col(data, col) abort
9191
endif
9292
endfunction
9393

94-
function! s:close(id)
94+
function! s:close(id) abort
9595
if has_key(s:_popups, a:id)
9696
if s:_has_nvim
9797
silent! call nvim_win_close(a:id, 1)

0 commit comments

Comments
 (0)