Don't show emoticons in emoji autocomplete
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
b5b0a9bc4e
commit
5ffa3783dd
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default class EmojiProvider extends AutocompleteProvider {
|
||||||
constructor() {
|
constructor() {
|
||||||
super(EMOJI_REGEX);
|
super(EMOJI_REGEX);
|
||||||
this.matcher = new QueryMatcher<ISortedEmoji>(SORTED_EMOJI, {
|
this.matcher = new QueryMatcher<ISortedEmoji>(SORTED_EMOJI, {
|
||||||
keys: ['emoji.emoticon'],
|
keys: [],
|
||||||
funcs: [o => o.emoji.shortcodes.map(s => `:${s}:`)],
|
funcs: [o => o.emoji.shortcodes.map(s => `:${s}:`)],
|
||||||
// For matching against ascii equivalents
|
// For matching against ascii equivalents
|
||||||
shouldMatchWordsOnly: false,
|
shouldMatchWordsOnly: false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue