\n only works with double quotes.

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

No files matched your search

+1 -1
View File
@@ -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)