From 3d0834d0e082a6c19f1323e83072bb7ca0eef5da Mon Sep 17 00:00:00 2001 From: itmammoth Date: Tue, 17 May 2016 22:32:50 +0700 Subject: [PATCH] Fix invalid -l option --- plugin/vim-rspec.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/vim-rspec.vim b/plugin/vim-rspec.vim index da721f4..5035735 100644 --- a/plugin/vim-rspec.vim +++ b/plugin/vim-rspec.vim @@ -114,7 +114,7 @@ function! s:RunSpecMain(type) call s:notice_msg("Running Line " . l:current_line . " on " . s:SpecFile . " ") let l:spec_bin = s:fetch("RspecBin",l:default_cmd) let l:spec_opts = s:fetch("RspecOpts", "") - let l:spec = l:spec_bin . " " . l:spec_opts . " -l " . l:current_line . " -f h " . l:bufn + let l:spec = l:spec_bin . " " . l:spec_opts . " -f h " . l:bufn . ":" . l:current_line else call s:error_msg("Seems ".l:bufn." is not a *_spec.rb file") return