From 612e4296c14f31b8fe53dfe2c088bf493f33e7b9 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 19 Mar 2014 11:39:54 -0400 Subject: [PATCH] Fix syntax error --- plugin/sleuth.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/sleuth.vim b/plugin/sleuth.vim index 7bda603..d578afc 100644 --- a/plugin/sleuth.vim +++ b/plugin/sleuth.vim @@ -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