Support absolute disabled_globs (#25755)
Closes: #25556 We were always comparing `disabled_globs` against the relative file path, we'll now use the absolute path if the glob is also absolute. Release Notes: - Support absolute globs in `edit_predictions.disabled_globs`
This commit is contained in:
@@ -5005,7 +5005,7 @@ impl Editor {
|
||||
return Some(true);
|
||||
};
|
||||
let settings = all_language_settings(Some(file), cx);
|
||||
Some(settings.inline_completions_enabled_for_path(file.path()))
|
||||
Some(settings.edit_predictions_enabled_for_file(file, cx))
|
||||
})
|
||||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user