Monday, July 29, 2013

Re: Mapping Macro using smartindent

Hello Ben,

sry for stealing your time. :/
I'm an jackass.
Actually the whole thing works - better than me.

Because:

I tried to do the following while testing:

__for(;;)
__{
__}

Cindent/Smarindent catches that there is no need to start at column 2 because there is no embedding block around.

Instead this:

{
__for(;;)
__{
__}
}

works just fine - as you said.

Anyhow, thank you very much for support.
Your last post (the outer brackets espacially ;) ) helped. LOL

Best, Sven

--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: