Add more hint tests
This commit is contained in:
parent
15e0feb91d
commit
0972766d1d
3 changed files with 533 additions and 70 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue