Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Smart tab jump limit #10632

Closed
PerpetualCreativity opened this issue Apr 29, 2024 · 0 comments
Closed

Smart tab jump limit #10632

PerpetualCreativity opened this issue Apr 29, 2024 · 0 comments
Labels
C-enhancement Category: Improvements

Comments

@PerpetualCreativity
Copy link

I've noticed that #7804 and also accidentally hitting tab inside a top-level comment is kind of annoying.

I think it might be useful to add an option to limit the number of lines that smart tab will jump, i.e. set smart-tab.jump-limit 40
will prevent the smart tab from jumping to the end of the parent node if it's more than 40 lines away.

If this sounds like a good idea, I'll try implementing it and open a PR.

@PerpetualCreativity PerpetualCreativity added the C-enhancement Category: Improvements label Apr 29, 2024
@helix-editor helix-editor locked and limited conversation to collaborators May 3, 2024
@pascalkuthe pascalkuthe converted this issue into discussion #10670 May 3, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

1 participant