You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
I cloned the repo and tried to mess arround with it but without succes...
I saw this PR https://github.com/atom/language-ruby/pull/121/files before but I see still some source.ruby tags in the file. I completly new to writing grammar plugins for atom so maybe I'm looking in the wrong place
The text was updated successfully, but these errors were encountered:
Thanks for the report @vdhpieter - this looks related to the move to Tree-sitter (i.e. if you disable Settings > Core > Use Tree Sitter Parsers an .erb file will open as (HTML (Ruby - ERB) again). With Tree-sitter enabled:
Prerequisites
Description
Currently the whole
.html.erb
file hassource.ruby
as a scope which messes up integration with other packages like: AtomLinter/linter-rubocop#48Edit by @rsese to add screenshots
With Tree-sitter enabled:
Without:
Steps to Reproduce
.html.erb
filesource.ruby
Expected behavior:
The source should be
source.embedded.ruby
according to the previuous mentionned issue threadActual behavior:
The source is seen als a
source.ruby
contextReproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
atom --version
Atom : 1.33.0 Electron: 2.0.11 Chrome : 61.0.3163.100 Node : 8.9.3
apm --version
apm 2.1.2 npm 6.2.0 node 8.9.3 x64 atom 1.33.0 python 2.7.15 git 2.13.2
Additional Information
I cloned the repo and tried to mess arround with it but without succes...
I saw this PR https://github.com/atom/language-ruby/pull/121/files before but I see still some
source.ruby
tags in the file. I completly new to writing grammar plugins for atom so maybe I'm looking in the wrong placeThe text was updated successfully, but these errors were encountered: