Skip to content

'expandtab'-agnostic indentation #337

Answered by leiserfg
kraftwerk28 asked this question in Q&A
Discussion options

You must be logged in to vote

Try:

    s(
      "ie=",
      fmt([[
        if err := {}; err != nil {{
        {}{}
        }}
      ]], { i(1), t"\t", i(0) })
    ),

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@bew
Comment options

@leiserfg
Comment options

@kraftwerk28
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kraftwerk28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants