diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index e8c199e..2907e7f 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -208,7 +208,7 @@ function! airline#extensions#load() endif " load all other extensions not part of the default distribution - for file in split(globpath(&rtp, "autoload/airline/extensions/*.vim"), '\n') + for file in split(globpath(&rtp, "autoload/airline/extensions/*.vim"), "\n") if stridx(resolve(fnamemodify(file, ':p')), s:script_path) < 0 let name = fnamemodify(file, ':t:r') if !get(g:, 'airline#extensions#'.name.'#enabled', 1) diff --git a/plugin/airline.vim b/plugin/airline.vim index c5aae1e..2a52005 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -122,7 +122,7 @@ function! s:airline_toggle() \ call on_window_changed() autocmd BufWritePost */autoload/airline/themes/*.vim - \ exec 'source '.split(globpath(&rtp, 'autoload/airline/themes/'.g:airline_theme.'.vim', 1), '\n')[0] + \ exec 'source '.split(globpath(&rtp, 'autoload/airline/themes/'.g:airline_theme.'.vim', 1), "\n")[0] \ | call airline#load_theme() augroup END if s:airline_initialized