Add completion module tailored towards visibility modifiers

This commit is contained in:
Lukas Wirth 2022-02-02 15:14:43 +01:00
parent 661d721e20
commit 136dadac9a
8 changed files with 76 additions and 38 deletions

View file

@ -17,6 +17,9 @@ pub($0)
"#,
expect![[r#"
kw in
kw self
kw super
kw crate
"#]],
);
}
@ -27,7 +30,11 @@ fn after_in_kw() {
r#"
pub(in $0)
"#,
expect![[r#""#]],
expect![[r#"
kw self
kw super
kw crate
"#]],
);
}