1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
diff --git a/src/lsp/providers/diagnostics/diagnosticsProvider.ts b/src/lsp/providers/diagnostics/diagnosticsProvider.ts
index 60956f0dd34ff63f5973d6308cd5fc47f59bfcea..a22f8460e8c1eef13c3db52052b37d051a58797a 100644
--- a/src/lsp/providers/diagnostics/diagnosticsProvider.ts
+++ b/src/lsp/providers/diagnostics/diagnosticsProvider.ts
@@ -2,7 +2,7 @@ import { TextDocument } from 'vscode-languageserver'
import { State } from '../../util/state'
import { getDocumentSettings } from '../../util/getDocumentSettings'
import { DiagnosticKind, AugmentedDiagnostic } from './types'
-import { getUtilityConflictDiagnostics } from './getUtilityConflictDiagnostics'
+import { getCssConflictDiagnostics } from './getCssConflictDiagnostics'
import { getInvalidApplyDiagnostics } from './getInvalidApplyDiagnostics'
import { getInvalidScreenDiagnostics } from './getInvalidScreenDiagnostics'
import { getInvalidVariantDiagnostics } from './getInvalidVariantDiagnostics'
@@ -13,7 +13,7 @@ export async function getDiagnostics(
state: State,
document: TextDocument,
only: DiagnosticKind[] = [
- DiagnosticKind.UtilityConflicts,
+ DiagnosticKind.CssConflict,
DiagnosticKind.InvalidApply,
DiagnosticKind.InvalidScreen,
DiagnosticKind.InvalidVariant,
@@ -25,8 +25,8 @@ const settings = await getDocumentSettings(state, document)
return settings.validate
? [
- ...(only.includes(DiagnosticKind.UtilityConflicts)
- ? getUtilityConflictDiagnostics(state, document, settings)
+ ...(only.includes(DiagnosticKind.CssConflict)
+ ? getCssConflictDiagnostics(state, document, settings)
: []),
...(only.includes(DiagnosticKind.InvalidApply)
? getInvalidApplyDiagnostics(state, document, settings)
|