Update crates/ide-completion/src/context.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
parent
f26d5484d8
commit
a6d0e342a3
@ -569,7 +569,7 @@ pub(super) fn new(
|
||||
// completing on
|
||||
let original_token = original_file.syntax().token_at_offset(offset).left_biased()?;
|
||||
|
||||
// try to skip completions on path with qinvalid colons
|
||||
// try to skip completions on path with invalid colons
|
||||
// this approach works in normal path and inside token tree
|
||||
match original_token.kind() {
|
||||
T![:] => {
|
||||
|
Loading…
Reference in New Issue
Block a user