diff --git a/hugo/content/docs/recipes/keywords-as-identifiers/_index.md b/hugo/content/docs/recipes/keywords-as-identifiers/_index.md index d5da355e..cbb532e2 100644 --- a/hugo/content/docs/recipes/keywords-as-identifiers/_index.md +++ b/hugo/content/docs/recipes/keywords-as-identifiers/_index.md @@ -87,7 +87,8 @@ In Langium, the `SemanticTokenProvider` service is responsible for assigning lan Therefore, we customize the default semantic token provider like this: ```ts -import { AbstractSemanticTokenProvider, AstNode, SemanticTokenAcceptor } from 'langium'; +import { AstNode } from 'langium'; +import { AbstractSemanticTokenProvider, SemanticTokenAcceptor } from 'langium/lsp'; import { isPerson } from './generated/ast.js'; import { SemanticTokenTypes } from 'vscode-languageserver';