Skip to content

Commit

Permalink
Fix import on keywords-as-identifiers recipe (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardtudorache authored Nov 20, 2024
1 parent 8b7ea7e commit 39999f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hugo/content/docs/recipes/keywords-as-identifiers/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 39999f5

Please sign in to comment.