mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Complete semicolon when needed
This commit is contained in:
parent
57a260f579
commit
9fb83211f9
6 changed files with 30 additions and 26 deletions
|
@ -13,7 +13,7 @@ use crate::completion::{
|
|||
};
|
||||
|
||||
pub(super) fn complete_attribute(acc: &mut Completions, ctx: &CompletionContext) -> Option<()> {
|
||||
if ctx.mod_is_prev {
|
||||
if ctx.mod_under_caret.is_some() {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue