1
0

Fix tag completion

This commit is contained in:
Zef Hemel 2023-01-26 12:02:41 +01:00
parent c1cf1b0d3a
commit cf9ca06dff
2 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export async function tagComplete(completeEvent: CompleteEvent) {
if (!match) { if (!match) {
return null; return null;
} }
const tagPrefix = match[0]; const tagPrefix = match[0].substring(1);
const allTags = await index.queryPrefix(`tag:${tagPrefix}`); const allTags = await index.queryPrefix(`tag:${tagPrefix}`);
return { return {
from: completeEvent.pos - tagPrefix.length, from: completeEvent.pos - tagPrefix.length,

View File

@ -1,6 +1,11 @@
An attempt at documenting the changes/new features introduced in each An attempt at documenting the changes/new features introduced in each
release. release.
---
## Next
* Regression fix: hashtag completion works again
--- ---
## 0.2.10 ## 0.2.10
* Syntax highlighting for a bunch of new languages — see [[Markdown/Syntax Highlighting]]: PgSQL, Rust, CSS, Python, Protobuf, Shell, Swift, toml, XML, JSON, C, C++, Java, C#, Scala, Kotlin, ObjectiveC, ObjectiveC++ and Dart * Syntax highlighting for a bunch of new languages — see [[Markdown/Syntax Highlighting]]: PgSQL, Rust, CSS, Python, Protobuf, Shell, Swift, toml, XML, JSON, C, C++, Java, C#, Scala, Kotlin, ObjectiveC, ObjectiveC++ and Dart