Skip to content

Commit 4301b95

Browse files
committed
Add scope to settingsx
1 parent 817e74a commit 4301b95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/server.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,19 +442,19 @@ impl Backend {
442442
}
443443

444444
fn should_install(&self) -> bool {
445-
self.get_setting("installVale") == Some(Value::Bool(true))
445+
self.get_setting("vale-ls.installVale") == Some(Value::Bool(true))
446446
}
447447

448448
fn config_path(&self) -> String {
449-
self.get_string("configPath")
449+
self.get_string("vale-ls.configPath")
450450
}
451451

452452
fn config_filter(&self) -> String {
453-
self.get_string("filter")
453+
self.get_string("vale-ls.filter")
454454
}
455455

456456
fn should_sync(&self) -> bool {
457-
self.get_setting("syncOnStartup") == Some(Value::Bool(true))
457+
self.get_setting("vale-ls.syncOnStartup") == Some(Value::Bool(true))
458458
}
459459

460460
fn root_path(&self) -> String {

0 commit comments

Comments
 (0)