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

Bracket in comment increases indent level #72

Open
MatthiasPortzel opened this issue Jun 10, 2024 · 7 comments
Open

Bracket in comment increases indent level #72

MatthiasPortzel opened this issue Jun 10, 2024 · 7 comments

Comments

@MatthiasPortzel
Copy link

Press Enter at the end of the line below.

// hello {

The indent level increases when it should not. Other sublime syntaxes do not have this behavior.

@aidenfoxivey
Copy link

Press Enter at the end of the line below.

// hello {

The indent level increases when it should not. Other sublime syntaxes do not have this behavior.

Is this still the case? I installed the latest version and didn't see it - but maybe there's something else going on here.

@sigod
Copy link

sigod commented Aug 10, 2024

Yes, this happens on my side. But it also happens with Bash, D, JSON, Lua, R, Ruby, and Rust, but not with C, C#, C++, Java, JavaScript, TypeScript...

@aidenfoxivey
Copy link

CleanShot 2024-08-10 at 18 04 43
Is this the same or different behaviour as you're having?

@sigod
Copy link

sigod commented Aug 10, 2024

No. Here's a gif of what I see:
zig-indent-level-72

@aidenfoxivey
Copy link

aidenfoxivey commented Aug 10, 2024

Very strange, hmm. I'll look into it.

@aidenfoxivey
Copy link

No. Here's a gif of what I see: zig-indent-level-72 zig-indent-level-72

https://github.com/tvi/Sublime-ARM-Assembly/blob/master/Syntaxes/ARMComment.tmPreferences

Maybe it's this TM_COMMENT_DISABLE_INDENT you need?

@aidenfoxivey
Copy link

Wait no, doesn't seem to be it. my bad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants