\n only works with double quotes.

This commit is contained in:
Bailey Ling
2013-08-26 15:32:18 +00:00
parent c42eefbd1d
commit 04e00d6933
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ function! s:airline_toggle()
\ call <sid>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