search

Home  >  Q&A  >  body text

How to make the C++ syntax prompt in vim compatible with C++11

In situations like the picture above, a prompt will appear every time you use the new features of C++11.
How can I make vim's syntax prompts compatible with C++11?
Is this prompt function built-in or a plug-in function?
Plug-in, I installed YCM.

PHP中文网PHP中文网2776 days ago592

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:40:33

    let g:syntastic_cpp_compiler_options = ' -std=c++11 -stdlib=libc++'

    reply
    0
  • Cancelreply