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

Include vim-textobj-rubyblock #555

Open
davetapley opened this issue Dec 12, 2013 · 6 comments
Open

Include vim-textobj-rubyblock #555

davetapley opened this issue Dec 12, 2013 · 6 comments
Labels

Comments

@davetapley
Copy link

Forgive me if this has come up before, I couldn't find any reference to it in issue, nor the mailing list, and I didn't see any general can you include XXX guidelines.

Per nelstrom/vim-textobj-rubyblock#11, is there a reason vim-textobj-rubyblock isn't included by default?

@kalbasit
Copy link
Member

I see no reason why not, I'll work on that tonight/tomorrow

@davetapley
Copy link
Author

bump

I just reinstalled Janus, and noticed this isn't there 😦

@kalbasit kalbasit added the TODO label Sep 15, 2014
@khusnetdinov
Copy link
Contributor

Why you won't to install it by your self? Just see my additional installation of plugins with ruby blocks here https://github.com/khusnetdinov/.janus

@davetapley
Copy link
Author

@khusnetdinov I did, I just feel it's sufficiently useful that it should be in by default.

@davetapley
Copy link
Author

davetapley commented Mar 9, 2017

FYI for anyone who gets caught by this:

Ensure you add the following to your ~/.vimrc.after:

runtime macros/matchit.vim

set nocompatible
if has("autocmd")
  filetype indent plugin on
endif

Source.


Without this then e.g. var will select only the last line of a Ruby block.

@khusnetdinov
Copy link
Contributor

@dukedave if isn't in Janus please open PR to .janus. I will merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants