Fix syntax error

This commit is contained in:
Tim Pope 2014-03-19 11:39:54 -04:00
parent 790963321d
commit 612e4296c1
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ function! s:detect() abort
for pattern in patterns
for neighbor in split(glob(dir.'/'.pattern), "\n")[0:8]
if neighbor !=# expand('%:p') && filereadable(neighbor)
call extend(options, s:guess(readfile(neighbor, '', 256), 'keep')
call extend(options, s:guess(readfile(neighbor, '', 256)), 'keep')
endif
if s:apply_if_ready(options)
let b:sleuth_culprit = neighbor