A bunch of improvements to chaining

This commit is contained in:
Gregory Schier committed 2024-08-19 14:10:44 -07:00
1 parent 3411575ecc
commit bd02206df2
23 files changed
+218 -82

No files matched your search

@@ -59,7 +59,7 @@ class TemplateTagWidget extends WidgetType {
export function templateTags(options: TwigCompletionOption[]) {
const templateTagMatcher = new BetterMatchDecorator({
regexp: /\$\{\[\s*([^\]]+)\s*]}/g,
regexp: /\$\{\[\s*(.+)(?!]})\s*]}/g,
decoration(match, view, matchStartPos) {
const matchEndPos = matchStartPos + match[0].length - 1;