Skip to content

Commit

Permalink
Drop namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed May 5, 2023
1 parent 4301b95 commit 009f905
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,19 +442,19 @@ impl Backend {
}

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

fn config_path(&self) -> String {
self.get_string("vale-ls.configPath")
self.get_string("configPath")
}

fn config_filter(&self) -> String {
self.get_string("vale-ls.filter")
self.get_string("filter")
}

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

fn root_path(&self) -> String {
Expand Down

0 comments on commit 009f905

Please sign in to comment.