Fix tag completion
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ export async function tagComplete(completeEvent: CompleteEvent) {
|
||||
if (!match) {
|
||||
return null;
|
||||
}
|
||||
const tagPrefix = match[0];
|
||||
const tagPrefix = match[0].substring(1);
|
||||
const allTags = await index.queryPrefix(`tag:${tagPrefix}`);
|
||||
return {
|
||||
from: completeEvent.pos - tagPrefix.length,
|
||||
|
||||
Reference in New Issue
Block a user