'expandtab'
-agnostic indentation
#337
Answered
by
leiserfg
kraftwerk28
asked this question in
Q&A
-
Is it possible to create a multiline snippet that would have an indentation based on s(
"ie=",
fmt([[
if err := {}; err != nil {{
{}{}
}}
]], { i(1), agnostic_indent_node(), i(0) })
) |
Beta Was this translation helpful? Give feedback.
Answered by
leiserfg
Mar 15, 2022
Replies: 2 comments 3 replies
-
The |
Beta Was this translation helpful? Give feedback.
3 replies
-
Try: s(
"ie=",
fmt([[
if err := {}; err != nil {{
{}{}
}}
]], { i(1), t"\t", i(0) })
), |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kraftwerk28
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try: