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:
parent
19f4e8631f
commit
64b1b212df
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue