Townk / vim-autoclose

This plugin for Vim enable an auto-close chars feature for you. For instance if you type an '(', ``autoclose`` will automatically insert a ')' and put the cursor between than.
http://townk.github.com/vim-autoclose/
503 stars 66 forks source link

indent on newline #44

Closed Broncko closed 12 years ago

Broncko commented 12 years ago

Hi,

if i type if(someCode) {<Enter>, i end up like this:

if(someCode) {
..<cursor>}

how do i have to configure autoclose, to get that working:

if(someCode) {
..<cursor>
}

regards, Broncko

Broncko commented 12 years ago

sorry, it works perfectly if i kick off smartindent from vimrc and put filetype indent on in there.