Detect current indent? #1360
Unanswered
samuelneff
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an easy way to use
yq
to detect the current indentation level for a file?We're using write-in-place to edit files, but not all use the same indentation and we want to preserve what is currently in use.
I also put in a feature request to add preserve indentation as an option in
yq
. #1359Beta Was this translation helpful? Give feedback.
All reactions