no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | config:dockerfile [2019/06/23 20:00] – Version 0.2 janax | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Dockerfile Filetype ===== | ||
+ | **Dockerfile** | ||
+ | [[http:// | ||
+ | |||
+ | This page describe how to add basic Dockerfile syntax highlighting on Geany. | ||
+ | |||
+ | Add the following lines to // | ||
+ | <file properties> | ||
+ | [Extensions] | ||
+ | Dockerfile=Dockerfile; | ||
+ | [Groups] | ||
+ | Script=Dockerfile; | ||
+ | </ | ||
+ | |||
+ | Save the configuration file below in your Geany filetype definition files config directory, e.g. // | ||
+ | |||
+ | |||
+ | <file properties filetypes.Dockerfile.conf> | ||
+ | # For complete documentation of this file, please see Geany' | ||
+ | # | ||
+ | # Geany Color Syntax support for Dockerfiles | ||
+ | # | ||
+ | # version 0.2 | ||
+ | # | ||
+ | # 0.1 - original version | ||
+ | # 0.2 - base on Sh instead - fixes problems with //, #, /* | ||
+ | |||
+ | [styling=C] | ||
+ | |||
+ | [keywords] | ||
+ | primary= ADD ARG CMD COPY ENTRYPOINT ENV EXPOSE FROM HEALTHCHECK LABEL ONBUILD RUN SHELL STOPSIGNAL USER VOLUME WORKDIR | ||
+ | |||
+ | [lexer_properties=C] | ||
+ | |||
+ | [settings] | ||
+ | lexer_filetype=Sh | ||
+ | tag_parser=C | ||
+ | extension= | ||
+ | # single comments, like # in this file | ||
+ | comment_single=# | ||
+ | |||
+ | # set to false if a comment character/ | ||
+ | # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d | ||
+ | # | ||
+ | # setting to false would generate this | ||
+ | # | ||
+ | # This setting works only for single line comments | ||
+ | comment_use_indent=true | ||
+ | # context action command (please see Geany' | ||
+ | context_action_cmd=xdg-open " | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | {{tag> |