finished jump to autocomplete, now with token highlighting, #203

This commit is contained in:
azivner
2018-11-07 09:35:29 +01:00
parent 3c23d7085e
commit 1febf5136c
6 changed files with 46 additions and 52 deletions

View File

@@ -25,12 +25,7 @@ async function getAutocomplete(req) {
log.info(`Slow autocomplete took ${msTaken}ms`);
}
return results.map(res => {
return {
value: res.path,
label: res.title
}
});
return results;
}
async function getRecentNotes(currentNoteId) {