Skip to content

Commit

Permalink
feat: add quotes as triggerCharacter (#415)
Browse files Browse the repository at this point in the history
The template completions for the "on" modifier event names were not
being triggered
  • Loading branch information
camerondubas committed Oct 1, 2023
1 parent 829b9ae commit ece2345
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ export default class Server {
},
completionProvider: {
resolveProvider: true,
triggerCharacters: ['.', '::', '$', '=', '/', '{{', '(', '<', '@', 'this.', '<:'],
triggerCharacters: ['.', '::', '$', '=', '/', '{{', '(', '<', '@', 'this.', '<:', '"', "'"],
},
},
};
Expand Down
4 changes: 4 additions & 0 deletions test/__snapshots__/integration-test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3481,6 +3481,8 @@ Object {
"@",
"this.",
"<:",
"\\"",
"'",
],
},
"definitionProvider": true,
Expand Down Expand Up @@ -7314,6 +7316,8 @@ Object {
"@",
"this.",
"<:",
"\\"",
"'",
],
},
"definitionProvider": true,
Expand Down

0 comments on commit ece2345

Please sign in to comment.