tth05/obsidian-completr

Allow for colons in autocomplete

dderom opened this issue · 5 comments

Thanks for the plugin, works a charm.

However, small feature request allowing for colons.

User case: autocomplete for link types (using the Juggl plugin) in which I use (amongst others) the foaf link types. Aka, I use the foaf:document to highlight documents.

The autocomplete halts when typing the ':'. Would it be an option to escape the colon character?

tth05 commented

You could add the : to the word character regex in the settings. Does that solve your issue?
image

That did it.

Thanks!

bilke commented

I have a similar problem: I would like to autocomplete user handles in the form @username so I simply added @ to the character regex but unfortunately it does not work. Is there something else I need to consider?

Thanks!

tth05 commented

I have a similar problem: I would like to autocomplete user handles in the form @username so I simply added @ to the character regex but unfortunately it does not work. Is there something else I need to consider?

Thanks!

Seems to work fine for me. Can you elaborate on what your character regex looks like and where you're completing?

bilke commented

Ah, I tried again today and now it works! My regex is this a-zA-ZöäüÖÄÜß@:. Thanks a lot for this plugin, it is really helpful!