Skip to content

Commit 84dd1f4

Browse files
committed
ignore javavi internal libs
1 parent 519cfff commit 84dd1f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libs/javavi/src/main/java/kg/ash/javavi/searchers/ClasspathCollector.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public List<String> collectClassPath() {
3737
String classPath = System.getProperty("java.class.path");
3838
Stream.of(classPath.split(pSep))
3939
.filter(p -> p.length() >= 4).forEach(path -> {
40+
if (path.contains("vim-javacomplete2/libs/")) {
41+
return;
42+
}
4043
String ext = path.substring(path.length() - 4)
4144
.toLowerCase();
4245
if (ext.endsWith(".jar") || ext.endsWith(".zip")) {
@@ -50,7 +53,6 @@ public List<String> collectClassPath() {
5053
}
5154

5255
private List<String> addPathFromDir(String dirpath) {
53-
logger.info(dirpath);
5456
List<String> result = new ArrayList<>();
5557
File dir = new File(dirpath);
5658
if (dir.isDirectory()) {

0 commit comments

Comments
 (0)