Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
config:docker-compose [2019/06/23 21:08] – created janax | config:docker-compose [2019/06/24 20:56] (current) – Fix recognizing Dockerfile* janax | ||
---|---|---|---|
Line 13: | Line 13: | ||
<file properties> | <file properties> | ||
[Extensions] | [Extensions] | ||
- | Dockerfile=Dockerfile; | + | Dockerfile=Dockerfile*; |
+ | YAML= | ||
YML=*.yaml; | YML=*.yaml; | ||
+ | |||
[Groups] | [Groups] | ||
Script=Dockerfile; | Script=Dockerfile; | ||
Line 20: | Line 22: | ||
</ | </ | ||
+ | (For the interested : it seems as the default YAML is a built-in, which cannot be removed. | ||
===== Step 2) ===== | ===== Step 2) ===== | ||
Line 30: | Line 33: | ||
# Geany Color Syntax support for Dockerfiles | # Geany Color Syntax support for Dockerfiles | ||
# | # | ||
- | # version 0.2 | + | # It can also parse docker-compose files, |
+ | # but requires commenting out the YAML-row in the Geany installation filetype_extensions.conf | ||
+ | # | ||
+ | # version 0.3 | ||
# | # | ||
- | # 0.1 - original version | + | # 0.1 - estadieu.pl@gmail.com |
- | # 0.2 - base on Sh instead - fixes problems with //, #, /* | + | # 0.2 - axelsson.jan@gmail.com |
+ | # 0.3 - axelsson.jan@gmail.com | ||
- | [styling=C] | + | [styling] |
+ | default=default | ||
+ | commentline=comment_line | ||
+ | number=number_1 | ||
+ | string=string_1 | ||
+ | word=keyword_1 | ||
[keywords] | [keywords] | ||
- | primary= ADD ARG CMD COPY ENTRYPOINT ENV EXPOSE FROM HEALTHCHECK LABEL ONBUILD RUN SHELL STOPSIGNAL USER VOLUME WORKDIR build container_name context command default depends_on dns dockerfile entrypoint environment env_file expose external extra_hosts external_links file hostname image labels links name network ports service services volumes | + | primary= ADD ARG CMD COPY ENTRYPOINT ENV EXPOSE FROM HEALTHCHECK LABEL ONBUILD RUN SHELL STOPSIGNAL USER VOLUME WORKDIR build container_name context command default depends_on dns dockerfile entrypoint environment env_file expose external extra_hosts external_links file hostname image labels links name network ports service services |
- | + | ||
- | [lexer_properties=C] | + | |
- | + | ||
[settings] | [settings] | ||
- | lexer_filetype=Sh | + | lexer_filetype=Python |
- | tag_parser=C | + | |
- | extension= | + | |
# single comments, like # in this file | # single comments, like # in this file | ||
comment_single=# | comment_single=# | ||
Line 55: | Line 66: | ||
# | # | ||
# This setting works only for single line comments | # This setting works only for single line comments | ||
- | comment_use_indent=true | + | comment_use_indent=false |
# context action command (please see Geany' | # context action command (please see Geany' | ||
context_action_cmd=xdg-open " | context_action_cmd=xdg-open " | ||
+ | |||
+ | # | ||
+ | |||
</ | </ | ||
Line 120: | Line 134: | ||
</ | </ | ||
- | + | (For the interested : this is a copy of the default | |
- | + | ||
- | ===== Step 4) ===== | + | |
- | + | ||
- | Enable docker-compose syntax highlighting, | + | |
- | + | ||
- | + | ||
- | Comment out row starting with YAML in global " | + | |
- | '' | + | |
- | to : # | + | |
{{tag> | {{tag> | ||
- |