I installed the latest versions of Python and GCC/G++ in alternative locations. I am using SpaceVim. I think SpaceVim is using neomake as the default. I want to know how you can configure neomake to use the newest versions I installed in the alternative locations instead of the default version that was installed on linux. Also, I am trying to test c++17. Since c++17 is not the default, how would you be able to switch to that version with neomake?
SpaceVim uses neomake by default: to make neomake support this feature, you can create a .clang
file in the root of your project. Please read the lang#c
layer doc.
-
2The community usually discourages answers that are (mostly) links—it would be helpful if you could include more substantive information (even quotes from the link) to flesh out the answer. – D. Ben Knoble♦ Nov 9 '19 at 14:21
:help neomake
—most plugins ship with documentation that you can read online. As a bonus, the internal vim doc is amazing (run:help
and try the user manual, just for a spin). The neomake help should show configuration options. (2) most seasoned folks here will recommend against SpaceVim for reasons including this situation: it’s just too dang hard to know what’s going on when you need to do something yourself {cont...} – D. Ben Knoble♦ Aug 13 '19 at 12:15$CXX
and/or$CXXFLAGS
? – Luc Hermitte Oct 10 '19 at 14:27