diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-28 12:01:05 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-28 12:14:03 +0100 |
| commit | 28c554ec2185a15e22f0408ce485ed4afe035e03 (patch) | |
| tree | 622d2d281133c4e6b92633e44bfc1e1301250fb4 /src/ide/complete.rs | |
| parent | 23238d4d44881a5b466ab23a32e2a7447f460127 (diff) | |
Rework math attachments and accents
Diffstat (limited to 'src/ide/complete.rs')
| -rw-r--r-- | src/ide/complete.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ide/complete.rs b/src/ide/complete.rs index 9302b552..83d0ca9c 100644 --- a/src/ide/complete.rs +++ b/src/ide/complete.rs @@ -216,7 +216,7 @@ fn complete_math(ctx: &mut CompletionContext) -> bool { Some(SyntaxKind::Formula) | Some(SyntaxKind::Math) | Some(SyntaxKind::MathFrac) - | Some(SyntaxKind::MathScript) + | Some(SyntaxKind::MathAttach) ) { return false; } @@ -584,7 +584,7 @@ fn complete_code(ctx: &mut CompletionContext) -> bool { None | Some(SyntaxKind::Markup) | Some(SyntaxKind::Math) | Some(SyntaxKind::MathFrac) - | Some(SyntaxKind::MathScript) + | Some(SyntaxKind::MathAttach) ) { return false; } @@ -955,7 +955,7 @@ impl<'a> CompletionContext<'a> { Some(SyntaxKind::Formula) | Some(SyntaxKind::Math) | Some(SyntaxKind::MathFrac) - | Some(SyntaxKind::MathScript) + | Some(SyntaxKind::MathAttach) ); let scope = if in_math { self.math } else { self.global }; |
