Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken indent with recent vim-ruby #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

e2
Copy link

@e2 e2 commented Jan 6, 2015

Without this fix, I get the following indent:

def foo
  puts "bar: #{baz}"
    puts
end

@wwalker
Copy link

wwalker commented Feb 23, 2015

I just tried this and don't get that indent problem. Is your ruby-vim code up to date?

@e2
Copy link
Author

e2 commented Feb 23, 2015

@wwalker - yes, I still need the workaround with vim-ruby vim-ruby/vim-ruby@01657cc

@e2
Copy link
Author

e2 commented Jul 8, 2015

I'm still getting this - it's the ':' that triggers the error (without it, it indents properly). I've updated all bundles to master (ruby, rails, etc.).

I've reproduced the issue in a docker container with just the following:

$ ls -1 ~/.vim/bundle/
vim-detailed
vim-pathogen
vim-ruby
$ cat ~/.vimrc
set nocompatible
filetype off
execute pathogen#infect()
syntax enable
filetype plugin on
filetype plugin indent on
set t_Co=16
colorscheme detailed

@e2
Copy link
Author

e2 commented Jul 8, 2015

Here's a minimal failing example:

":#"
  ":#"

(the second line keeps getting indented without this patch)

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.

None yet

2 participants