From feca81fb86577129b95dfd4dc72dae1d0a161d48 Mon Sep 17 00:00:00 2001 From: Liam Fleming Date: Wed, 13 Jun 2018 17:52:13 +0100 Subject: [PATCH] add "!" to function signatures --- autoload/airline/async.vim | 2 +- autoload/airline/extensions/tabline/buffers.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/async.vim b/autoload/airline/async.vim index 6dd11c5..d7d044f 100644 --- a/autoload/airline/async.vim +++ b/autoload/airline/async.vim @@ -123,7 +123,7 @@ if v:version >= 800 && has("job") let s:po_jobs[a:file] = id endfunction - function airline#async#vim_vcs_untracked(config, file) + function! airline#async#vim_vcs_untracked(config, file) if g:airline#init#is_windows && &shell =~ 'cmd' let cmd = a:config['cmd'] . shellescape(a:file) else diff --git a/autoload/airline/extensions/tabline/buffers.vim b/autoload/airline/extensions/tabline/buffers.vim index c145d53..75cca57 100644 --- a/autoload/airline/extensions/tabline/buffers.vim +++ b/autoload/airline/extensions/tabline/buffers.vim @@ -98,7 +98,7 @@ function! airline#extensions#tabline#buffers#get() return '%'.bufnum.'@airline#extensions#tabline#buffers#clickbuf@' endfunction - function b.get_posttitle(i) dict + function! b.get_posttitle(i) dict return '%X' endfunction endif