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

Preserve blank lines between comments and surrounding syntax elements #28

Open
ennocramer opened this issue May 3, 2019 · 2 comments
Open

Comments

@ennocramer
Copy link
Owner

Follow up for issue #19.

Implement logic to preserve spacing around comments as in

function1 = undefined

--

function2 = undefined

The current output is

function1 = undefined

--
function2 = undefined
@Rhywun
Copy link

Rhywun commented May 3, 2019

Thanks - I'll remember to keep issues separate next time!

@domenkozar
Copy link

I'm not sure if this is the same issue but:

foo = do
    {- blab la -}
    bar <- command
    bar

is formatted to

foo = do
    {- blab la -}bar <- command
    bar

which is clearly a syntax error.

merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 1, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 2, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 2, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 2, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 3, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 3, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 4, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 4, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 4, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 4, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 4, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 6, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 7, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 8, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 8, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Jul 9, 2020
…ng a Before inline comment may address last comment in ennocramer#28
merc1031 pushed a commit to merc1031/floskell that referenced this issue Sep 29, 2020
…ng a Before inline comment may address last comment in ennocramer#28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants