~jbauer/vim-fastline

4179f47f6a11de1e31debaa7dc8e44f3573012b6 — Jake Bauer 6 months ago 5af1406
Wrap statusline function invocation in augroup
1 files changed, 4 insertions(+), 1 deletions(-)

M plugin/statusline.vim
M plugin/statusline.vim => plugin/statusline.vim +4 -1
@@ 98,4 98,7 @@ function! StatusLine()
endfunction

" Activate the custom statusline
set statusline=%!StatusLine()
augroup enableStatusLine
    autocmd!
    autocmd VimEnter * :set statusline=%!StatusLine()
augroup END