1

Regenerate nvim config

This commit is contained in:
2024-06-02 03:29:20 +02:00
parent 75eea0c030
commit ef2e28883d
5576 changed files with 604886 additions and 503 deletions

View File

@ -0,0 +1,129 @@
(string_array
"," @punctuation.delimiter)
(string_array
[
"["
"]"
] @punctuation.bracket)
[
"ARG"
"AS LOCAL"
"BUILD"
"CACHE"
"CMD"
"COPY"
"DO"
"ENTRYPOINT"
"ENV"
"EXPOSE"
"FROM DOCKERFILE"
"FROM"
"FUNCTION"
"GIT CLONE"
"HOST"
"IMPORT"
"LABEL"
"LET"
"PROJECT"
"RUN"
"SAVE ARTIFACT"
"SAVE IMAGE"
"SET"
"USER"
"VERSION"
"VOLUME"
"WORKDIR"
] @keyword
(for_command
[
"FOR"
"IN"
"END"
] @keyword.repeat)
(if_command
[
"IF"
"END"
] @keyword.conditional)
(elif_block
"ELSE IF" @keyword.conditional)
(else_block
"ELSE" @keyword.conditional)
(import_command
[
"IMPORT"
"AS"
] @keyword.import)
(try_command
[
"TRY"
"FINALLY"
"END"
] @keyword.exception)
(wait_command
[
"WAIT"
"END"
] @keyword)
(with_docker_command
[
"WITH DOCKER"
"END"
] @keyword)
[
(comment)
(line_continuation_comment)
] @comment @spell
[
(target_ref)
(target_artifact)
(function_ref)
] @function
(target
(identifier) @function)
[
(double_quoted_string)
(single_quoted_string)
] @string
(unquoted_string) @string.special
(escape_sequence) @string.escape
(variable) @variable
(expansion
[
"$"
"{"
"}"
"("
")"
] @punctuation.special)
(build_arg
[
"--"
(variable)
] @variable.parameter)
(options
(_) @property)
"=" @operator
(line_continuation) @operator

View File

@ -0,0 +1,9 @@
((comment) @injection.content
(#set! injection.language "comment"))
((line_continuation_comment) @injection.content
(#set! injection.language "comment"))
((shell_fragment) @injection.content
(#set! injection.language "bash")
(#set! injection.include-children))