fix(lsp): change glob to watch json and jsonc files (#14828)

This commit is contained in:
Bartek Iwańczuk 2022-06-09 17:59:22 +02:00 committed by cjihrig
parent e484c6bb1d
commit c59884c0da
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -797,7 +797,7 @@ impl Inner {
let watch_registration_options =
DidChangeWatchedFilesRegistrationOptions {
watchers: vec![FileSystemWatcher {
glob_pattern: "**/*.json{c}".to_string(),
glob_pattern: "**/*.{json,jsonc}".to_string(),
kind: Some(WatchKind::Change),
}],
};