Closed ghost closed 5 years ago
The prefix only requires \\
for a single backslash. \\alpha
should work.
@Aerijo I already tried it with 1 to 4 backslashes. Unfortunately it does not make any difference. Atom still does not suggest the snippet.
@Alexander-Erlacher Hmmm, I could have sworn something about that issue was fixed. But I could reproduce it right now too. I believe setting \
as a word character should fix it, but I wasn't able to get that working. I'll look into it soon.
FYI the snippet itself should work fine, but it won't appear in the autocomplete menu. The issue is with autocomplete-snippets
, which is the one that's supposed to make it appear. There's an open issue for it, so you will want to subscribe there for updates.
With that, I'll close this issue. If the snippet itself doesn't work (write out \alpha
and press tab), please reopen.
Description
I want to replace a snippet which starts with a backslash in the language markdown:
\alpha
shall be replaced by the unicode symbol U+03B1:α
Steps to Reproduce
Expected behavior:
\alpha
will be replaced byα
.Actual behavior:
Atom does not recognize the snippet.
I.e. by typing
\alpha
atom does not even suggests a snippet.Reproduces how often:
Always.
Versions
Atom:
apm:
OS:
Additional Information
It does not matter if i use one, two, three or even four (double escape) backslashes before the term "alpha":
'prefix': '\\\\alpha'