Provide ERB support
gazayas opened this issue · 0 comments
gazayas commented
There's an issue open at Ruby LSP about reading ERB information: Shopify/ruby-lsp#1055
We might be able to glean some content from there to read files in masamune and return Prism nodes for the information we're looking for.
I'm specifically thinking of this BlockManipulator
class which uses ERB syntax in its tests. We rely on strings now, but it would be better to rely on Prism nodes.