Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust's new let else statement breaks indentation #4665

Closed
AlexNomadrg opened this issue Nov 8, 2022 · 2 comments
Closed

Rust's new let else statement breaks indentation #4665

AlexNomadrg opened this issue Nov 8, 2022 · 2 comments
Labels
A-language-support Area: Support for programming/text languages C-bug Category: This is a bug

Comments

@AlexNomadrg
Copy link

AlexNomadrg commented Nov 8, 2022

Summary

It seems like the new let else statement breaks line indentation in helix

Video demonstrating the issue: https://youtu.be/g8-J9skWjqI

Reproduction Steps

I tried this:

  1. hx

I expected this to happen:

Instead, this happened:

Helix log

~/.cache/helix/helix.log
2022-11-09T02:16:27.405 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }
2022-11-09T02:17:01.071 helix_view::editor [ERROR] Failed to initialize the LSP for `source.toml` { cannot find binary path }

Platform

Linux

Terminal Emulator

kitty 0.26.4

Helix Version

helix 22.08.1

@AlexNomadrg AlexNomadrg added the C-bug Category: This is a bug label Nov 8, 2022
@kirawi kirawi added the A-language-support Area: Support for programming/text languages label Nov 9, 2022
@the-mikedavis
Copy link
Member

This was recently added upstream so we just need to update tree-sitter-rust tree-sitter/tree-sitter-rust#162

@archseer
Copy link
Member

Closed by #4717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

4 participants