-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Projectile-rails keybindings need to work for haml and slim as well. #2448
Comments
I'm seeing this issue too. I see projectile-rails is loading since the traditional bindings like |
The mode is also lost in javascript, css and sass files |
+1 |
1 similar comment
👍 |
Pull requests Welcome -- Also use the github reactions -- don't add +1 to every post.
|
I'm a vim user trying out spacemacs (interesting stuff), so I can't really say if it's a viable solution or not, but I managed to get the projectile-rails bindings to work with slim and coffee files by adding the modes to the layers/+frameworks/ruby-on-rails/packages.el:30
Maybe that will help someone getting to the bottom of this. |
Perhaps do a PR upstream?
|
Hi guys, This should fix this issue: #7541 |
How do I enable this in a custom fashion until this makes it into the main distribution? I need it for haml and erb files. |
@jamieorc you should have the mode enabled in erb and haml files once you enable the global mode. If the mode is not enabled for you, can you provide the repo so I can download it and debug? |
@jamieorc actually you should not run the mode inside |
I'm clearly missing something. Haml files still do not register as part of the rails project, even if I call |
Just pull in #7735 and work :) It may be a while until it's merged. |
@robbyoconnor Thanks, I just modified the local file in the layer. If there's a better way, I'm all ears. |
@jamieorc the better way would be to cherry-pick the PR i mentioned above ;) |
How about from |
This is covered by #7541 |
@sdwolfz I think it can be closed. |
Currently projectile-rails keybindings do not work for slim and haml files.
The text was updated successfully, but these errors were encountered: