theme-tools
theme-tools copied to clipboard
`recommendations` is an object that is available to the Section Rendering API
Describe the bug
recommendations is an object that is available to the Section Rendering API, this means that Theme App Extensions also have access to it. We need to figure out a way to not throw an error/complete it in TAE blocks.
Source
{{ recommendations }}
Expected behaviour
Completion/hover works in blocks/*.liquid files for a TAE
Actual behaviour Theme check error
This issue is actually now exhibited with LiquidDoc. If you define a {% doc %} block, the linter will detect recommendations as an unknown object, despite being a global object: