diff --git a/.changeset/sweet-turkey-try.md b/.changeset/sweet-turkey-try.md new file mode 100644 index 000000000..2d0671f2a --- /dev/null +++ b/.changeset/sweet-turkey-try.md @@ -0,0 +1,5 @@ +--- +'@shopify/theme-language-server-common': patch +--- + +Added jj to the URI prefixes ignored by hasUnsupportedDocument diff --git a/packages/theme-language-server-common/src/server/startServer.ts b/packages/theme-language-server-common/src/server/startServer.ts index 6664d2393..b0ad21d93 100644 --- a/packages/theme-language-server-common/src/server/startServer.ts +++ b/packages/theme-language-server-common/src/server/startServer.ts @@ -75,7 +75,9 @@ const hasUnsupportedDocument = (params: any) => { 'textDocument' in params && 'uri' in params.textDocument && typeof params.textDocument.uri === 'string' && - (params.textDocument.uri.startsWith('git:') || params.textDocument.uri.startsWith('output:')) + (params.textDocument.uri.startsWith('jj:') || + params.textDocument.uri.startsWith('git:') || + params.textDocument.uri.startsWith('output:')) ); };