|
|
@ -191,7 +191,8 @@ Language Server Protocol. |
|
|
|
"--clang-tidy" |
|
|
|
"--clang-tidy" |
|
|
|
"--compile-commands-dir=build" |
|
|
|
"--compile-commands-dir=build" |
|
|
|
"--log=error" |
|
|
|
"--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-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-install-dir "/usr/lib/lua-language-server/") |
|
|
|
(setq lsp-clients-lua-language-server-main-location "/usr/lib/lua-language-server/main.lua") |
|
|
|
(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) |
|
|
|
shell-script-mode) |
|
|
|
. flycheck-mode) |
|
|
|
. flycheck-mode) |
|
|
|
:config |
|
|
|
:config |
|
|
|
(setq flycheck-clang-language-standard "c++17") |
|
|
|
(setq flycheck-clang-language-standard "c++20") |
|
|
|
(setq flycheck-gcc-language-standard "c++17")) |
|
|
|
(setq flycheck-gcc-language-standard "c++20")) |
|
|
|
|
|
|
|
|
|
|
|
;; For .el files which are intended to be packages |
|
|
|
;; For .el files which are intended to be packages |
|
|
|
(use-package flycheck-package |
|
|
|
(use-package flycheck-package |
|
|
|