Hi Christian, On Sun, Jun 13, 2021 at 10:46 AM Christian Brabandt <[email protected]> wrote: > > > On So, 13 Jun 2021, Yegappan Lakshmanan wrote: > > > Hi, > > > > The help mentions that when 'paste' is set, the 'smartindent' option > > will be reset. But it currently doesn't work this way. The 'smartindent' > > option is not disabled when 'paste' is set. I am attaching a minor update > > to the help text to remove this. > > Shouldn't we rather fix the code? so that when paste is in effect, vim > would not indent lines based on what is pasted. >
Yes. I noticed this when adding a test for this. It makes sense to disable smartindent when 'paste' is set and restore the old value when 'paste' is disabled. - Yegappan -- -- You received this message from the "vim_dev" 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_dev" 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_dev/CAAW7x7%3D8DO0g3fk%2B80V-H9woK%3D1JNZSMRKxQwvrSz7hGatjdoA%40mail.gmail.com.
