Fix conflict with cindent. Comment on #95.

This commit is contained in:
Israel Chauca Fuentes
2012-04-01 17:59:40 -04:00
parent 93d4a373fb
commit ad4430706e
2 changed files with 13 additions and 2 deletions

View File

@@ -30,3 +30,15 @@ exec "normal i( \<CR>\<BS>\<BS>x"
================================================================================
(x)
--------------------------------------------------------------------------------
# Conflict with indentation settings (cindent). Issue #95
se cindent
call setline(1, ['sub foo {',' while (1) {', ' ', ' }', '}'])
call cursor(3, 8)
normal a}x
================================================================================
sub foo {
while (1) {
}x
}
--------------------------------------------------------------------------------