Monday, March 24, 2025

Re: BASH script: Indent with tabs, align with spaces

Marc Chantreux:

> same here. I really wonder if it's worth a patch because I
> see no case were the current behavior could be
> interesting.

IMHO, it is certainly worth a patch. The safest and
cleanest operation of < and > with `preserveindent' is to
add/remove tabs/spaces (depending on expandtab) strictly
at the beginning of a line, leaving the rest of it intact.
If I typed it, I need it that way. Otherwise, let me
handle my own errors, instead of silently changing the
not-readily-visible structure of my horisontal whitepace.
This is matter of peace of mind and non-intrusion.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20250324181806.a70d3d12f27115c927b37e69%40gmail.com.

No comments: