summaryrefslogtreecommitdiff
path: root/source/slang/slang-language-server.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-09-26 12:58:48 -0700
committerGitHub <noreply@github.com>2022-09-26 12:58:48 -0700
commite449446d540b6cc3d5fcd70a8f05886ef2be7547 (patch)
treea8060d5ea497a5289fa5410ab8f489bca3d59e10 /source/slang/slang-language-server.h
parentfcc1a0973f91f0daff9c5c2d0a00208ecb7b91c2 (diff)
Support clang-format `file` and `--fallback-style` in slangd. (#2412)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-language-server.h')
-rw-r--r--source/slang/slang-language-server.h2
1 files changed, 1 insertions, 1 deletions
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);