Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Does not support snippets with punctuation #67

Open
ezuhaib opened this issue Jan 27, 2016 · 2 comments
Open

Does not support snippets with punctuation #67

ezuhaib opened this issue Jan 27, 2016 · 2 comments

Comments

@ezuhaib
Copy link

ezuhaib commented Jan 27, 2016

e.g consider the following snippet provided by https://github.com/joseramonc/rails-snippets :

.each

autocomplete-snippets does show this snippet when period (.) is typed, but it disappears when anything is typed beyond the initial period. Similar behavior is seen when a period appears in midst of a snippet's prefix (see #57). The reason of this behavior is probably that autocomplete-plus probably provides it's consumer packages with prefixes based on alphanumeric characters and characters - and _ only.

My concern is that if atom-snippets allows snippets with periods/punctuation... then so should autocomplete-snippets. This can be fixed at the level of autocomplete-plus too, but I think implementing a fix in this package could be simpler, and cause fewer conflicts.

@cblp
Copy link

cblp commented Mar 6, 2016

👍

@yudai-nkt
Copy link

Most of (La)TeX commands (control sequences in TeX's terminology) starts with a backslash. Therefore, we would greatly appreciate it if non-letter prefixes are supported and there seems to be a prototype for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants