Vim Tips Wiki
Register
Advertisement

Please use this page to discuss pages that have been labeled for deletion.

Archives: 12345678

  • I've marked Restoring_indent_after_typing_hash for deletion. 'smartindent' should (in general) be avoided like the plague, and it doesn't seem to be a very good tip anyway. (Spiiph 14:01, 29 July 2009 (UTC))
I disagree with this deletion (although I do agree that 'smartindent' isn't smart at all). For now, I'd mark the tip {{dodgy}} instead of {{delete}}. Eventually, we should merge in the comments and recommend NOT using 'smartindent' (and using 'cindent' or filetype indentation instead) before we present the workaround for bad 'smartindent' behavior. But, some people will no doubt ignore our advice about not using 'smartindent', and information about how to work around it is probably useful. --Fritzophrenic 14:22, 29 July 2009 (UTC)
Advertisement