address syntax errors

resolves #683
This commit is contained in:
Bailey Ling
2015-01-03 19:38:17 -05:00
parent 1fd9886219
commit 13ee9f456a
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -107,6 +107,7 @@ function! s:check_in_path()
if match(root, pattern) >= 0
let root = substitute(root, pattern, '', '')
endif
endif
endif
let b:airline_file_in_root = stridx(bufferpath, root) > -1