Skip to content

Commit

Permalink
fix CC configuration to compile with std=c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchuette committed Dec 6, 2021
1 parent 74febe0 commit e08d200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vim-config/configs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -506,11 +506,13 @@ let g:ale_linters = {
\ 'go': ['go', 'golint', 'errcheck'],
\ 'vim': ['vint'],
\ 'elm': ['elm_ls'],
\ 'cpp': ['clangtidy', 'gcc'],
\ 'cpp': ['clangtidy', 'g++'],
\ 'haskell': ['stack-build', 'hlint', 'stack-ghc', 'hls', 'hie'],
\ 'lhaskell': ['stack-build', 'hlint', 'stack-ghc', 'hls', 'hie']
\}


let g:ale_cpp_cc_options = ' -Wall -Wextra -Wpedantic -Weffc++ -std=c++20'
let g:ale_cpp_gcc_options = '-Wall -Wextra -Wpedantic -Weffc++ -std=c++20'
let g:ale_cpp_clang_options = '-Wall -Wextra -std=c++20 -x c++'
let g:ale_cpp_clangtidy_options = '-Wall -Wextra -std=c++20 -x c++'
Expand Down

0 comments on commit e08d200

Please sign in to comment.