Skip to content

Commit 553e180

Browse files
committed
support same directory in Twig namespace json
1 parent f0f1d94 commit 553e180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/templating/path/JsonFileIndexTwigNamespaces.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public Result<Collection<TwigPath>> compute() {
9191

9292
for(TwigPathJson twigPath : configJson.getNamespaces()) {
9393
String path = twigPath.getPath();
94-
if(path == null) {
94+
if(path == null || path.equals(".")) {
9595
path = "";
9696
}
9797

0 commit comments

Comments
 (0)