Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dockerfile tooltips should match only keywords
Before this change, the Dockerfile tooltip script marked all occurences of keywords, as defined by the lexer, as Dockerfile instructions in a `dockerfile` code block. This meant some tokens parsed from heredocs would be included. The matched keyword token is now compared against a hard-coded list of actual Dockerfile instructions before they're annotated. Signed-off-by: David Karlsson <[email protected]>
- Loading branch information