File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Curry/LanguageServer/Index Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -228,15 +228,15 @@ walkFilesIgnoringHidden = walkFilesWith $ WalkConfiguration
228228 ignorePaths <- filterM doesFileExist $ (fp </> ) <$> [" .curry-language-server-ignore" , " .gitignore" ]
229229 ignored <- join <$> mapM readIgnoreFile ignorePaths
230230 unless (null ignored) $
231- infoM " cls.indexStore" $ " In " ++ takeFileName fp ++ " ignoring " ++ show ignored
231+ infoM " cls.indexStore" $ " In ' " ++ takeFileName fp ++ " ' ignoring " ++ show ( G. decompile <$> ignored)
232232 return $ Just ignored
233233 , wcShouldIgnore = \ ignored fp -> do
234234 isDir <- doesDirectoryExist fp
235235 let fn = takeFileName fp
236236 matchesFn pat = any (G. match pat) $ catMaybes [Just fn, if isDir then Just (fn ++ " /" ) else Nothing ]
237237 matchingIgnores = filter matchesFn ignored
238238 unless (null matchingIgnores) $
239- debugM " cls.indexStore" $ " Ignoring " ++ fn ++ " since it matches " ++ show matchingIgnores
239+ debugM " cls.indexStore" $ " Ignoring ' " ++ fn ++ " ' since it matches " ++ show matchingIgnores
240240 return $ not (null matchingIgnores) || " ." `isPrefixOf` fn
241241 }
242242
You can’t perform that action at this time.
0 commit comments