Open phmarek opened 10 months ago
I'm not able to reproduce this. Multiline strings that start with |
are being preserved with formatting for me.
Could it be kubectl version again?
Does kubectl get -o yaml ...
also return formatted string? That is what the plugin uses when fetching & reloading.
Sometimes - one trigger is a space before a newline, but there seem to be others as well - my "document here" in YAML (Dockerfiles, shell scripts, etc.) get "reformatted" into a long string containing
\n
and other escape sequences.Like
and after reloading I get
Needless to say, this is awful to work with.
So I'd like to ask for a keybinding that reformats the current element to the nice form above.
If
Kapply
detects trailing whitespace it would be great if it asked whether to remove it, abort, or ignore, as well ; )