Monday, March 24, 2025

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

I don't know if that is related but when I have this situation:

>·······>·······one␣two␣three␣\⏎
>·······>·······␣␣␣␣␣␣␣␣four⏎
hello⏎

and the cursor is on the 'hello' in normal mode, and I press '==', I get:

>·······>·······one␣two␣three␣\⏎
>·······>·······␣␣␣␣␣␣␣␣four⏎
>·······>·······>·······>·······>·······hello⏎

which is wrong because 'hello' must have the same indentation as 'one.

--
--
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/20250324163824.2cb1d5ed%40localhost.

No comments: