How to set up specific c++ standard for ALE? #3905
Unanswered
jacklanda
asked this question in
Q&A - Ask for help with problems
Replies: 1 comment
-
I fixed it for the linter by using After I installed the ccls language server for C(++), the error reappeared, so I had to configure the language server too by further adding let g:ale_cpp_ccls_init_options =
\{
\ 'clang': {
\ 'extraArgs': ['-std=c++17',],
\ },
\} If you use a different language server, the configuration will be different of course. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ALE will sometimes give the error lint where Some c++ new features could only be accessed when we set the complie flag (e.g
-std==c++17
), however, these error lints should not appear in fact.Setting the c++ standard(e.g. c++14, c++17) for ALE is a bit confused, I would like to figure it out and so search many issues and contents in doc, but no help with this problem.
Is there anybody know how to solve this issue (maybe need to add a configuration in
.vimrc
?Beta Was this translation helpful? Give feedback.
All reactions