1

I am trying to use company-completion within a Yasnippet header. I bound company-complete to C-SPC and use that for my auto-completion. When I hit control enter, I get a screen like this: enter image description here

And I hit enter to get this:

Then I start typing iost- and wait to get the company-complete (It breaks immediately when I hit C-SPC, see below):

And then I hit enter to complete, and this happens: (or immediately if I hit C-SPC):

I tried googling around but no solution worked. I only want to be able to yasnippet snippets from the company-complete dropdown if that's possible.

Thank you!

4
  • Maybe you would find my answer emacs.stackexchange.com/a/7925/5368 to another question useful. I use tab as my binding for both company and yasnippet, but probably it can be adapted to C-space... Commented Feb 4, 2015 at 16:45
  • Thank you kristof! That seems to work very well. I still get this bug on the header files but it works fine everywhere else. Thank you! Commented Feb 6, 2015 at 0:09
  • You could try reporting that bug on Company's issue tracker. Commented Feb 6, 2015 at 12:47
  • @davess You really should report this to the issue tracker, but please include the minimal necessary configuration to reproduce the problem. Commented Feb 11, 2015 at 1:14

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.