mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-01-09 04:52:33 +08:00
When indentation is controlled by 'smartindent', the expand_cr behavior
doesn't end up producing the same results that you would get without
delimitMate. The following behavior results instead:
Before: {|}
After: {
|
}
The expected behavior is to produce the following:
Before: {|}
After: {
|
}
To that end, detect when indentation is controlled by 'smartindent' and
adjust the indentation of the close line to match.