Re: "preserving" current indentation in javascript

Doug Kearns <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <CAJ1uvoAinU+Xd-vP7jjHXM97XysAV7miSFd8QwaHLYw-OL9=-w@mail.gmail.com>
On Sun, 28 Apr 2024 at 22:07, Stefan Zehl <[email protected]> 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 [email protected].
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.