Closed wbotelhos closed 7 years ago
Do you use a language pack for RSpec? If so, can you link it here.
I don't, just your plugin.
Oh sorry. I meant do you use any other packages for syntax highlighting when editing RSpec files.
No, I don't.
It should be working?
Not sure if you are still using aligner since it has been a while. Aligner relies on language packages to tokenize text so it can align the correct tokens. Without a rspec language package, Aligner will not work properly.
Going to close this for now. Please let me know if this is still an issue.
Hi,
What package do I need plus this one?
Maybe it?: https://atom.io/packages/language-rspec (still not working)
Just now I'm talking about align eq
, not :
, =
etc...
expect(1).to eq 1
expect(2).to eq 2
to
expect(1).to eq 1
expect(2).to eq 2
Thanks.
It looks like language-rspec doesn't tokenize/highlight eq
at the moment. I have submitted a PR to do so. If that PR is accepted, I'll be able to add support for eq
through aligner-ruby
, https://atom.io/packages/aligner-ruby
Updating aligner-ruby to v1.6.0 and language-rspec to the latest version should align eq
properly now.
Hi @adrianlee44 ,
First, thank you for you job.
I think I'm doing something wrong, because it still does not works for me:
expect(1).to eq 1
expect(2).to eq 2
Maybe it is my setup?
Sorry about that. And thank you again.
When you do Select
-> Select Grammar
, is it showing Ruby
or Rspec
?
You are awesome!
It was Ruby on Rails
, my bad @adrianlee44 .
Thank you very much! <3
I could not align the eq values like I was doing on https://github.com/jarod2d/sublime_valign Is it possible?
From:
To: