I write ruby test files in vim, and regularly run tests from the file I'm editing by running
:!rspec %:N
or something similar (to execute the test at line N). The problem is that when the first digit of N is an 8, like:
:!rspec %:89
I get an error:
cannot load such file -- /.../foo_spec.rb9
So it looks like the sequence %:8
means something inside of a colon command. Additionally, if I escape the colon: rspec %\:89
works fine.
But why is this happening?