Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A custom text object for selecting ruby blocks.
VimL Visual Basic Ruby
Tree: 77fbe2e674

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
plugin/textobj
test
.gitignore
README.md
readme.vim.org
textobj-rubyblock.vba
todo.otl
vimballer

README.md

A custom text object for selecting ruby blocks.

Depends on Kana's textobj-user plugin.

Test suite requires vspec (also by Kana).

Running the specs

To run the specs, you call vspec as follows:

vspec {input-script} [{non-standard-runtimepath} ...]

In this case, the non-standard runtimepath must include the vspec plugin, the textobj-user plugin (which is a dependency for this plugin) and this plugin.

Assuming you use pathogen to manage your plugins, then the plugins required to run the test suite will be found in the following locations:

~/dotfiles
          /vim
              /textobj-user
              /textobj-rubyblock
              /vspec

So to run the basic.input tests, you would run:

cd ~/dotfiles/vim/textobj-rubyblock
../vspec/bin/vspec test/basic.input ../vspec/ ../textobj-user/ .
Something went wrong with that request. Please try again.