1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Cancel autocomplete on "{" and "}"

Summary: Ref T10163. These are almost certainly not username/project characters, and are fairly likely to be `@{...}` Diviner references.

Test Plan: Typed `@{...`, no more autocomplete.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10163

Differential Revision: https://secure.phabricator.com/D15110
This commit is contained in:
epriestley 2016-01-24 14:42:42 -08:00
parent 19f4e8631f
commit 64b1b212df

View file

@ -333,7 +333,7 @@ JX.install('PHUIXAutocomplete', {
_getCancelCharacters: function() {
// The "." character does not cancel because of projects named
// "node.js" or "blog.mycompany.com".
return ['#', '@', ',', '!', '?'];
return ['#', '@', ',', '!', '?', '{', '}'];
},
_getTerminators: function() {