Updated emoji completion to allow capital letters

Signed-off-by: JPyke3 <pyke.jacob1@gmail.com>
This commit is contained in:
Jacob Pyke
2021-02-04 23:40:26 +01:00
committed by GitHub
parent 062a1f7dd9
commit d93e66813d

View File

@@ -123,8 +123,8 @@ export class EmojiCompletion {
const [leftTokenTextMatch, rightTokenTextMatch] = matchBlotTextPartitions( const [leftTokenTextMatch, rightTokenTextMatch] = matchBlotTextPartitions(
blot, blot,
index, index,
/(?<=^|\s):([-+0-9a-z_]*)(:?)$/, /(?<=^|\s):([-+0-9a-zA-Z_]*)(:?)$/,
/^([-+0-9a-z_]*):/ /^([-+0-9a-zA-Z_]*):/
); );
if (leftTokenTextMatch) { if (leftTokenTextMatch) {