Update indentkeys to support non-outdented 'private' or 'protected'. #182

Merged
merged 1 commit into from Oct 27, 2013

2 participants

@drn

@AndrewRadev - this is one fix for the conditional non-outdenting issue http://screencast.com/t/QehjVnw4nq

@drn drn referenced this pull request Oct 24, 2013
Merged

Private/protected indenting #179

@AndrewRadev
Vim-Ruby member

This seems to work quite well, thanks :). However, wouldn't it be enough to use:

setlocal indentkeys+==private,=protected,:

It seems to me like the reason it's working is because : is an indentkey, so I guess the :=private stuff is not necessary? Or am I missing something?

@AndrewRadev AndrewRadev merged commit a794070 into vim-ruby:private-protected-indenting Oct 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment