Monday, April 29, 2024

Re: "preserving" current indentation in javascript

On Sun, 28 Apr 2024 at 22:07, Stefan Zehl <sec@42.org> wrote:

<snip>

Is there a way to fix it so it honors the indentation of the current
block by default much like the builtin "c" indenting that vim has?

I agree that this would be the most desirable behaviour.

The file looks complex enough that ad-hoc suggestions would probably be counter productive so I'd suggest reporting it to the maintainer listed in the header, https://github.com/pangloss/vim-javascript, and see what they think.

Regards,
Doug

--
--
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 on the web visit https://groups.google.com/d/msgid/vim_use/CAJ1uvoAinU%2BXd-vP7jjHXM97XysAV7miSFd8QwaHLYw-OL9%3D-w%40mail.gmail.com.

No comments:

Post a Comment