-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supported by Twig 3.15+
- Loading branch information
deathaxe
committed
Oct 20, 2024
1 parent
3599f7f
commit 567e3a1
Showing
3 changed files
with
110 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"scope": "source.twig meta.statement.guard", | ||
"completions": [ | ||
{ | ||
"trigger": "function", | ||
"kind": ["type", "f", "Twig Guard"], | ||
"annotation": "Twig Filter", | ||
"details": "Compile block if function exists.", | ||
}, | ||
{ | ||
"trigger": "filter", | ||
"kind": ["type", "f", "Twig Guard"], | ||
"annotation": "Twig Filter", | ||
"details": "Compile block if filter exists.", | ||
}, | ||
{ | ||
"trigger": "test", | ||
"kind": ["type", "f", "Twig Guard"], | ||
"annotation": "Twig Filter", | ||
"details": "Compile block if test exists.", | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters