I use the packages Company mode and Yasnippet. When I'm typing in a buffer, I get autocompletion suggestions from Company.
For Yasnippet, I have a directory which contains the snippets. In that directory I have for example, the file
When I'm typing
foo in the buffer, and press Tab, I get a popup menu for yasnippets, which I chan choose which snippet (
foo-bar) I want to insert.
I would like to integrate the yasnippet
foo in Company completion. When I type
foo, then I would like to see the snippet in Company completion popup.
Is this possible? If so, how could I achieve this? In Vim you have that with Neocomplete and VimSnippets. When I googled around, I found this link with Elisp but I couldn't wrap my head around how to apply it.