compose typeahead: Add newline and other terminal_symbols.

This commit is contained in:
Rishi Gupta 2017-11-30 18:14:29 -08:00 committed by showell
parent dd97c7e659
commit f6071e0d90
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ exports.compose_content_begins_typeahead = function (query) {
// already-completed object.
// We will likely want to extend this list to be more i18n-friendly.
var terminal_symbols = ',.?!()[] ';
var terminal_symbols = ',.;?!()[] "\'\n\t';
if (rest !== '' && terminal_symbols.indexOf(rest[0]) === -1) {
return false;
}