-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
One letter snippets do not expand using TAB #5259
Comments
Check if setting |
It does not in this particular case because I guess that I want to decouple yasnippet from company … |
For me one letter snippet does not start the completion menu, but the one letter snippet is expanded when I hit TAB. Actually the variable auto-completion-tab-key-behavior 'complete does not change this behavior. I looked into the auto-completion documentation, and it says M-/ exand a snippet. So I don't actually know why TAB expands snippets on my setup. Here yas-minor-mode binds TAB to yas-expand. I looked into my config and I haven't set that. |
Could you say what |
as I said, it is |
spacemacs/layers/auto-completion/packages.el Line 214 in f49792e
M-/ keybinding.
I'm confused. |
+1 for this issue. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description
I have the auto-completion layer enabled, and one letter snippets do not expand using TAB, they only expand using M-/.
Snippets with two or more characters work correctly, as they are proposed in the company popup and they can then be expanded.
I have reproduced this using latex and emacs-lisp modes.
Reproduction guide
Observed behaviour:
Nothing happens, or the
-
gets indentedExpected behaviour:
The snippet bound to
-
(namely\item
) would expandSystem Info
The text was updated successfully, but these errors were encountered: