fix: From<&str> for GlobPattern does not exist need to use string

This commit is contained in:
rvcas
2023-03-06 13:15:12 -05:00
parent 1902a2d56c
commit 92161bed43

View File

@@ -747,7 +747,7 @@ impl Server {
let register_options =
serde_json::value::to_value(lsp_types::DidChangeWatchedFilesRegistrationOptions {
watchers: vec![lsp_types::FileSystemWatcher {
glob_pattern: "aiken.toml".into(),
glob_pattern: String::from("aiken.toml").into(),
kind: Some(lsp_types::WatchKind::Change),
}],
})?;