fix: From<&str> for GlobPattern does not exist need to use string
This commit is contained in:
parent
1902a2d56c
commit
92161bed43
|
@ -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),
|
||||
}],
|
||||
})?;
|
||||
|
|
Loading…
Reference in New Issue