Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 117 forks source link

When creating a function always one line to low #205

Closed scottwio closed 9 years ago

scottwio commented 9 years ago

I was wondering if this is a known issue or if it's something wrong with my setup. When I open a function in javascript and then create a new line to write inside the function I end up one line to low. Example here http://cl.ly/ZSiT , my vim rm here https://github.com/scottwio/vim-config . All other editors seem to get this correct I just can't seem to get vim to do it with any of the plugins.

function(){

//enduphere}

function(){
// want to end up her
}
scottwio commented 9 years ago

not to worry got it

let g:delimitMate_expand_cr = 1