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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摑 rework the specification docs #4

Closed
wants to merge 1 commit into from
Closed

馃摑 rework the specification docs #4

wants to merge 1 commit into from

Conversation

AucaCoyan
Copy link
Contributor

Hi! I did some work on the specification.

I took a chance to add some flavor and separate the specification itself from the app need. So first is what standard should comply, and after that are what options we would like to have on the nufmt. Is that ok?

PD: I change the indentation of 2 spaces to 4 spaces 馃槅


This is the list of the supported commands and their idiomatic formatting. Indentation will be covered by the `--indent` flag but for these examples, 4 spaces will be used.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add my original part back here instead of deleting the supported commands.


This specification serves as a starting point to document how `nufmt` should work when formatting nushell scripts. It's meant to be very basic at this point, gradually covering more of the language features.
> rust has rsfmt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> rust has rsfmt
> rust has fmt

@fdncred
Copy link
Collaborator

fdncred commented Mar 21, 2023

I took most of your points and added them into the specification. thanks.

@fdncred fdncred closed this Mar 21, 2023
@AucaCoyan AucaCoyan deleted the standard-draft branch June 5, 2023 13:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants