Fix tag completion
parent
c1cf1b0d3a
commit
cf9ca06dff
|
@ -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,
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
An attempt at documenting the changes/new features introduced in each
|
||||
release.
|
||||
|
||||
---
|
||||
|
||||
## Next
|
||||
* Regression fix: hashtag completion works again
|
||||
|
||||
---
|
||||
## 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
|
||||
|
|
Loading…
Reference in New Issue