From a781c31a6090b83dafab2284b92fe71cdd0f3554 Mon Sep 17 00:00:00 2001 From: n0m1s Date: Fri, 4 Oct 2019 11:28:54 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20C++20=20compiler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/plugins.vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/plugins.vimrc b/config/plugins.vimrc index cc77928..a254eac 100644 --- a/config/plugins.vimrc +++ b/config/plugins.vimrc @@ -48,7 +48,7 @@ let g:ale_cpp_clang_includes = [ \ split(system("find '/usr/include/qt' -maxdepth 1 -type d"), '\n') + \ split(system("[[ " . getcwd() . " == *'workspace'* ]] && find " . getcwd() . " -type d -name 'include'"), '\n') -let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wno-pragma-once-outside-header' +let g:ale_cpp_clang_options = '-std=c++2a -Wall -Wno-pragma-once-outside-header' if len(g:ale_cpp_clang_includes) let g:ale_cpp_clang_options = g:ale_cpp_clang_options . ' -I' . join(g:ale_cpp_clang_includes, " -I") endif