Closed thecrypticace closed 3 months ago
Do you think it's a lot of work to setup CI for tests? I can't figure out if these tests are expected to fail or not:
Ah figured it out, I had to manually go into each tests/fixtures/v{1,4}
and run npm install
. I think this is something we should improve in a future PR to make sure that all those sub folders are part of the workspace if possible.
Ah figured it out, I had to manually go into each
tests/fixtures/v{1,4}
and runnpm install
. I think this is something we should improve in a future PR to make sure that all those sub folders are part of the workspace if possible.
We can't make them a part of the normal project workspace because of dependency hoisting, unfortunately. If there's a way to disable hoisting but still use workspaces I'd use them for all of these.
I need to fix the test:prepare script though, good call. I'll do that in a separate PR.
We weren't parsing these blocks as Sass (or any semicolon-less language) and we were instead assuming CSS syntax. Because of this we wouldn't pick up conflicts when we should and sometimes would pick up conflicts when we shouldn't.
This PR fixes this by handling language boundaries on hover and threading language information from
<style lang="…">
blocks.Fixes #895