diff --git a/autoload/airline/async.vim b/autoload/airline/async.vim index 6dd11c57..d7d044f6 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 c145d53e..75cca574 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