-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove yasnippet hidden files from haskell-mode/snippets/haskell-mode #305
Comments
Users shouldn't be using snippets files names as triggers, as that feature is deprecated and is going away. The documentation to the latest version that you vociferously complain about in joaotavora/yasnippet#490 states this very clearly:
If you have read otherwise, it must have been in a version of the documentation that also mentions .yas-ignore-filenames-as-triggers. I would recommend haskell-mode keeps |
@capitaomorte, |
This is incorrect. According to this report and to a post that the OP has since deleted on joaotavora/yasnippet#490 his keyless snippets (missing the Nonetheless, I have also analysed yasnippet's current code base and have come to conclusions that I regret not presenting early on.
Therefore, to the maintainer of haskell-mode, the file can safely be deleted. @jfeltz, consider carefully if you want you can explain yourself again in the yasnippet issue. I have unbanned you in hopes that any insults will be left out, but will redo the ban if you insist. |
yas-snippets causing issues, solution is to use them outside of haskell-mode: #435 |
For more info please read: #361 |
@gracjan, you typed:
Do you by
|
By 'yas-snippets causing issues' I mean 'haskell-yas causing issues in context of haskell-mode'. Or to put it even more clear: 'haskell-mode is causing issues due to how haskell-yas snippets are packaged and used'. jfeltz described issues caused by haskell-yas perfectly so I'll not repeat it here. I'll repeat again: this issue is caused by haskell-mode yas embedding. The solution is to use separate haskell-yas package as reported here: #361. Discussion about haskell-yas should be taken over to the original shnippet repo that is here: https://github.com/LukeHoersten/shnippet. EDIT: use real code names. |
I don't understand
Do you mean any snippets stored in the The issue that @jfeltz described had to do with snippets without explicit trigger keys, a behaviour that still works but is deprecated and undocumented. I don't know how it relates to your issue, but I haven't understood your issue either. Anyway, it's good to hear that this discussion I don't understand is being taken somewhere else. Good luck! |
Thanks for the hint about https://github.com/AndreaCrotti/yasnippet-snippets! |
|
I'm going to suggest either documenting their function, or removing the yasnippet hidden files. (e.g. .yas-ignore-filenames-as-triggers). Those can cause a train wreck of time-waste and frustration for users new to yasnippets. I eventually by accident figured out that my snippet additions weren't working due to spotting that hidden file. Thanks for the consideration.
The text was updated successfully, but these errors were encountered: