Skip to content

Minor adjustment to indentation#69

Merged
kchmck merged 1 commit into
kchmck:masterfrom
nathansobo:master
Jan 27, 2012
Merged

Minor adjustment to indentation#69
kchmck merged 1 commit into
kchmck:masterfrom
nathansobo:master

Conversation

@nathansobo

Copy link
Copy Markdown
Contributor

Before, if GetCoffeeIndent didn't detect the need to indent / outdent,
it would return -1. Now it returns the indentation level of the previous
line if it exists. This makes for more convenient behavior when typing
'cc' on an empty line below an indented line, and matches how other
vim extensions such as javascript behave.

Before, if GetCoffeeIndent didn't detect the need to indent / outdent,
it would return -1. Now it returns the indentation level of the previous
line if it exists. This makes for more convenient behavior when typing
'cc' on an empty line below an indented line, and matches how other
vim extensions such as javascript behave.
@kchmck kchmck merged commit 2a691d9 into kchmck:master Jan 27, 2012
@kchmck

kchmck commented Jan 27, 2012

Copy link
Copy Markdown
Owner

Nice fix. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants