Skip to content

Commit

Permalink
Remove mock_data default value for liquid doc definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmengo committed Jan 14, 2025
1 parent ef845b5 commit 3f9bba6
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ import { HtmlAttributeValueHoverProvider } from './providers/HtmlAttributeValueH
import { findCurrentNode } from '@shopify/theme-check-common';
import { GetThemeSettingsSchemaForURI } from '../settings';

const mock_data: LiquidDocDefinitionMap = {
'spacing-style': {
name: 'spacing-style',
parameters: [{ name: 'style', description: 'The style of spacing to apply', type: 'string' }],
},
};

export class HoverProvider {
private providers: BaseHoverProvider[] = [];

Expand All @@ -42,7 +35,7 @@ export class HoverProvider {
readonly getLiquidDocDefinitionsForURI: (
uri: string,
snippetName: string,
) => Promise<LiquidDocDefinitionMap> = async () => mock_data,
) => Promise<LiquidDocDefinitionMap>,
) {
const typeSystem = new TypeSystem(
themeDocset,
Expand Down

0 comments on commit 3f9bba6

Please sign in to comment.