mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-19 15:08:23 +01:00
A bunch of improvements to chaining
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user