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

:AV with preprocessors #444

Open
jtosey opened this issue Nov 16, 2015 · 1 comment
Open

:AV with preprocessors #444

jtosey opened this issue Nov 16, 2015 · 1 comment

Comments

@jtosey
Copy link

jtosey commented Nov 16, 2015

Thanks for this awesome utility.

Is there a way to configure vim-rails so that :AV goes to <fn>_spec.js.coffee rather than <fn>.js_spec.coffee?

For instance, when I type :AV on this:

app/assets/javascripts/user/controllers/settings/chat_settings_ctrl.js.coffee

I expect to open this:

spec/javascripts/user/controllers/settings/chat_settings_ctrl_spec.js.coffee

But I get an error message that this is not found:

Can't find file "<full-path>/spec/javascripts/user/controllers/settings/chat_settings_ctrl.js_spec.coffee" in path
@tpope
Copy link
Owner

tpope commented Dec 28, 2015

Your requested behavior seems preferable, though with .js.coffee going out of style I can't say this is a priority. I'll merge a pull request.

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

No branches or pull requests

2 participants