Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Feature request: automatically trim indentation #7

Closed
DrKGD opened this issue Nov 3, 2022 · 1 comment
Closed

Feature request: automatically trim indentation #7

DrKGD opened this issue Nov 3, 2022 · 1 comment

Comments

@DrKGD
Copy link

DrKGD commented Nov 3, 2022

Hi there, first and foremost thanks for the great plugin, I tend to share lots of snippets of code to my university colleagues!

I am kind of interested in an autogobble functionality, don't really know whether is it more appropriate to discuss it there or just ask for it on the silicon binary repository: in doubt I am going to also mention it there.
Aloxaf/silicon#213 (comment)

In case you are wondering what autogobble is (name comes from lstautogobble, a package from LaTeX) , look at the following images
image
image

Basically it consists of recalculating the indentation at the start of the line, for each line, thus trims the excess.

@0oAstro
Copy link
Owner

0oAstro commented Nov 4, 2022

Done

@0oAstro 0oAstro closed this as completed Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants