From cc25dbdc1cfd6c6074799d088b4d13633a038083 Mon Sep 17 00:00:00 2001 From: wackbyte Date: Mon, 3 Jun 2024 23:50:48 -0400 Subject: [PATCH] fix: typo in CSS service code (#2389) --- .../src/plugins/css/features/svelte-selectors.ts | 2 +- packages/language-server/src/plugins/css/service.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/language-server/src/plugins/css/features/svelte-selectors.ts b/packages/language-server/src/plugins/css/features/svelte-selectors.ts index f27a10a0d..d3f4ecae8 100644 --- a/packages/language-server/src/plugins/css/features/svelte-selectors.ts +++ b/packages/language-server/src/plugins/css/features/svelte-selectors.ts @@ -1,6 +1,6 @@ import { IPseudoClassData } from 'vscode-css-languageservice'; -export const pesudoClass: IPseudoClassData[] = [ +export const pseudoClass: IPseudoClassData[] = [ { name: ':global()', description: `[svelte] :global modifier diff --git a/packages/language-server/src/plugins/css/service.ts b/packages/language-server/src/plugins/css/service.ts index 365beac50..3ef15e1af 100644 --- a/packages/language-server/src/plugins/css/service.ts +++ b/packages/language-server/src/plugins/css/service.ts @@ -6,11 +6,11 @@ import { ICSSDataProvider, LanguageServiceOptions } from 'vscode-css-languageservice'; -import { pesudoClass } from './features/svelte-selectors'; +import { pseudoClass } from './features/svelte-selectors'; const customDataProvider: ICSSDataProvider = { providePseudoClasses() { - return pesudoClass; + return pseudoClass; }, provideProperties() { return [