Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator that is a blank space is assigned a semantic token #76

Closed
rcjsuen opened this issue Nov 12, 2020 · 0 comments
Closed

Operator that is a blank space is assigned a semantic token #76

rcjsuen opened this issue Nov 12, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Nov 12, 2020

ENV a b
let lib = require("dockerfile-language-service");
let service = lib.DockerfileLanguageServiceFactory.createLanguageService();
let content = "ENV a b";
service.computeSemanticTokens(content);

The returned array has 20 (4x5) instead of 15 (3x5) items. There should only be three tokens.

@rcjsuen rcjsuen added the bug Something isn't working label Nov 12, 2020
@rcjsuen rcjsuen self-assigned this Nov 12, 2020
rcjsuen added a commit that referenced this issue Nov 12, 2020
Signed-off-by: Remy Suen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant