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
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 1 deletions

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),
}],
})?;