feat(language): add Dockerfile (@rammba) (#5926)

I've added support for Dockerfile "language" even if it's not the
language actually. All words added are listed in the [official
docs](https://docs.docker.com/reference/dockerfile/#overview). I've put
it to the other group of languages.

P.S. File name is `docker_file.json`, because when I name it
`dockerfile.json`, my VS Code detects it as an actual dockerfile. Let me
know if name should be changed.
This commit is contained in:
Radoš Milićev 2024-10-07 13:34:19 +02:00 committed by GitHub
parent 529d424982
commit 006af5aff8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 1 deletions

View file

@ -498,7 +498,8 @@
"twitch_emotes",
"git",
"typing_of_the_dead",
"league_of_legends"
"league_of_legends",
"docker_file"
]
},
{

View file

@ -353,4 +353,5 @@
,"xhosa"
,"code_cobol"
,"code_common_lisp"
,"docker_file"
]

View file

@ -0,0 +1,25 @@
{
"name": "docker_file",
"noLazyMode": true,
"words": [
"ADD",
"ARG",
"AS",
"CMD",
"COPY",
"ENTRYPOINT",
"ENV",
"EXPOSE",
"FROM",
"HEALTHCHECK",
"LABEL",
"MAINTAINER",
"ONBUILD",
"RUN",
"SHELL",
"STOPSIGNAL",
"USER",
"VOLUME",
"WORKDIR"
]
}