fix(cc): remove executable-find formatter check

This commit is contained in:
Ellis Kenyő
2022-11-17 17:04:50 +00:00
committed by Ellis Kenyo
parent 26819c33f3
commit cc9bda36c2

View File

@@ -48,7 +48,6 @@ This is ignored by ccls.")
(set-docsets! 'c-mode "C")
(set-docsets! 'c++-mode "C++" "Boost")
(set-electric! '(c-mode c++-mode objc-mode java-mode) :chars '(?\n ?\} ?\{))
(when (executable-find "clang-format")
(set-formatter!
'clang-format
'("clang-format"
@@ -59,7 +58,7 @@ This is ignored by ccls.")
(c++-mode . ".cpp")
(cuda-mode . ".cu")
(protobuf-mode . ".proto"))))))
:modes '(c-mode c++-mode protobuf-mode cuda-mode)))
:modes '(c-mode c++-mode protobuf-mode cuda-mode))
(set-rotate-patterns! 'c++-mode
:symbols '(("public" "protected" "private")
("class" "struct")))