Install Package Control (should already be done)
Install @shopify/theme
@shopify/theme
Install the LSP package
Open the Command Palette (CMD+Shift+P)
CMD+Shift+P
Type Install, select "Package Control: Install Package"
Install
Type LSP, select "LSP"
LSP
Configure the LSP plugin
Type LSP Settings, select "Preferences: LSP Settings"
LSP Settings
In a terminal, figure out where the shopify CLI is located.
$ which shopify
$PATH_TO_SHOPIFY_CLI
{ "clients": { "theme-check": { "command": [ "$PATH_TO_SHOPIFY_CLI", "theme", "language-server", ], "enabled": true, "languageId": "html", "scopes": [ "text.html.basic" ], "syntaxes": [ "Packages/HTML/HTML.sublime-syntax" ] } } }
Restart Sublime
...
Profit! 🔥
There was an error while loading. Please reload this page.