Skip to content

Commit

Permalink
Use C++23 as default (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Sep 28, 2023
1 parent d268ea9 commit 5ae6673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ require("lspconfig")["cmake"].setup { capabilities = capabilities }
require("lspconfig")["pylsp"].setup { capabilities = capabilities }

-- ALE
local ale_cpp_std = "-std=c++20"
local ale_cpp_std = "-std=c++23"
vim.g.ale_c_cc_options = "-Wall -Wextra -Wpedantic"
vim.g.ale_c_cppcheck_options = "--enable=style --suppress=syntaxError"
vim.g.ale_cpp_cc_options = ale_cpp_std .. " " .. vim.g.ale_c_cc_options
Expand Down

0 comments on commit 5ae6673

Please sign in to comment.