Add more hint tests

This commit is contained in:
Kirill Bulatov
2023-06-29 22:39:18 +03:00
parent 15e0feb91d
commit 0972766d1d
3 changed files with 533 additions and 70 deletions
-3
View File
@@ -172,9 +172,6 @@ fn default_true() -> bool {
impl InlayHintSettings {
pub fn enabled_inlay_hint_kinds(&self) -> HashSet<Option<InlayHintKind>> {
let mut kinds = HashSet::default();
if !self.enabled {
return kinds;
}
if self.show_type_hints {
kinds.insert(Some(InlayHintKind::Type));
}