From e449446d540b6cc3d5fcd70a8f05886ef2be7547 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 26 Sep 2022 12:58:48 -0700 Subject: Support clang-format `file` and `--fallback-style` in slangd. (#2412) Co-authored-by: Yong He --- source/slang/slang-language-server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-language-server.h') diff --git a/source/slang/slang-language-server.h b/source/slang/slang-language-server.h index e7a5f3244..8ece0cc41 100644 --- a/source/slang/slang-language-server.h +++ b/source/slang/slang-language-server.h @@ -141,7 +141,7 @@ private: void updateSearchPaths(const JSONValue& value); void updateSearchInWorkspace(const JSONValue& value); void updateCommitCharacters(const JSONValue& value); - void updateFormattingOptions(const JSONValue& clangFormatLoc, const JSONValue& clangFormatStyle, const JSONValue& allowLineBreakOnType, const JSONValue& allowLineBreakInRange); + void updateFormattingOptions(const JSONValue& clangFormatLoc, const JSONValue& clangFormatStyle, const JSONValue& clangFormatFallbackStyle, const JSONValue& allowLineBreakOnType, const JSONValue& allowLineBreakInRange); void updateInlayHintOptions(const JSONValue& deducedTypes, const JSONValue& parameterNames); void updateTraceOptions(const JSONValue& value); -- cgit v1.2.3