From 140c7237761a4682321924fa63fcc630698fdcba Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 6 Aug 2022 12:54:21 +0200 Subject: [PATCH] Emacs: Check for .clangd config file, update flycheck to C++20 --- .config/emacs/config/development.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/emacs/config/development.org b/.config/emacs/config/development.org index 3f50c7d..b24cdbf 100644 --- a/.config/emacs/config/development.org +++ b/.config/emacs/config/development.org @@ -191,7 +191,8 @@ Language Server Protocol. "--clang-tidy" "--compile-commands-dir=build" "--log=error" - "--pch-storage=memory")) + "--pch-storage=memory" + "--enable-config")) (setq lsp-clients-lua-language-server-bin "/usr/bin/lua-language-server") (setq lsp-clients-lua-language-server-install-dir "/usr/lib/lua-language-server/") (setq lsp-clients-lua-language-server-main-location "/usr/lib/lua-language-server/main.lua") @@ -388,8 +389,8 @@ On the fly syntax checking. shell-script-mode) . flycheck-mode) :config - (setq flycheck-clang-language-standard "c++17") - (setq flycheck-gcc-language-standard "c++17")) + (setq flycheck-clang-language-standard "c++20") + (setq flycheck-gcc-language-standard "c++20")) ;; For .el files which are intended to be packages (use-package flycheck-package