Skip to content

Commit b232090

Browse files
committed
feat: default values for config values
1 parent 8f6c9e8 commit b232090

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/github/_1c_syntax/bsl/languageserver/configuration/LanguageServerConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class LanguageServerConfiguration {
8989
@JsonProperty("documentLink")
9090
@Setter(value = AccessLevel.NONE)
9191
private DocumentLinkOptions documentLinkOptions = new DocumentLinkOptions();
92-
92+
9393
@JsonProperty("formatting")
9494
@Setter(value = AccessLevel.NONE)
9595
private FormattingOptions formattingOptions = new FormattingOptions();
@@ -109,11 +109,11 @@ public class LanguageServerConfiguration {
109109
@Setter(value = AccessLevel.NONE)
110110
private File configurationFile;
111111

112-
@Value("${app.configuration.path}")
112+
@Value("${app.configuration.path}:.bsl-language-server.json")
113113
@JsonIgnore
114114
private String configurationFilePath;
115115

116-
@Value(("${app.globalConfiguration.path}"))
116+
@Value(("${app.globalConfiguration.path}:${user.home}/.bsl-language-server.json"))
117117
@JsonIgnore
118118
private String globalConfigPath;
119119

0 commit comments

Comments
 (0)