Fix emoji completion inside of page links
This commit is contained in:
parent
668059aadb
commit
3895e3026c
@ -30,7 +30,7 @@ export async function indexAnchors({ name: pageName, tree }: IndexTreeEvent) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function anchorComplete() {
|
export async function anchorComplete() {
|
||||||
let prefix = await matchBefore("\\[\\[[^\\]@]*@[\\w\\.\\-\\/]*");
|
let prefix = await matchBefore("\\[\\[[^\\]@:]*@[\\w\\.\\-\\/]*");
|
||||||
if (!prefix) {
|
if (!prefix) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -206,7 +206,7 @@ export async function reindexCommand() {
|
|||||||
|
|
||||||
// Completion
|
// Completion
|
||||||
export async function pageComplete() {
|
export async function pageComplete() {
|
||||||
let prefix = await matchBefore("\\[\\[[^\\]@]*");
|
let prefix = await matchBefore("\\[\\[[^\\]@:]*");
|
||||||
if (!prefix) {
|
if (!prefix) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user