🎉 Geany

…for now should be consistend on linux and macOS (but no sync for now)
This commit is contained in:
2024-08-01 16:37:49 +02:00
parent c1b4844569
commit 5ba46eb0ae
25 changed files with 1214 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# For complete documentation of this file, please see Geany's main documentation
#
# 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/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=xdg-open "https://docs.docker.com/engine/reference/builder/"

View File

@ -0,0 +1,17 @@
[styling=C]
[lexer_properties=C]
[keywords]
primary=true false null
[settings]
lexer_filetype=Javascript
tag_parser=JSON
extension=json
mime_type=application/json
#~ [indentation]
#~ #width=4
#~ # 0 is spaces, 1 is tabs, 2 is tab & spaces
#~ #type=1

View File

@ -0,0 +1,2 @@
Copy files from /usr/share/geany/filedefs to this directory to overwrite them. To use the defaults, just delete the file in this directory.
For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/).

View File

@ -0,0 +1,55 @@
#~ # based on JavaScript file
#~ # For complete documentation of this file, please see Geany's main documentation
[styling=C]
[keywords]
#~ # all items must be in one line
primary=break case catch class const continue debugger default delete do else enum export extends extend false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var let while with yield prototype async await declare aliased interfaced Alias Interface interface
secondary=Array Boolean boolean Date Function Math Number number Object String string RegExp EvalError Error RangeError ReferenceError SyntaxError TypeError URIError constructor prototype decodeURI decodeURIComponent encodeURI encodeURIComponent eval isFinite isNaN parseFloat parseInt protected public private keyof void any never readonly as
[lexer_properties=C]
#~ # partially handles ES6 template strings
lexer.cpp.backquoted.strings=1
[settings]
#~ # default extension used when saving files
extension=ts
#~ lexer_filetype=C
lexer_filetype=ActionScript
#~ # MIME type
mime_type=text/x-typescript
#~ # the following characters are these which a "word" can contains, see documentation
wordchars=$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
#~ # single comments, like # in this file
comment_single=//
# multiline comments
comment_open=/*
comment_close=*/
#~ # set to false if a comment character/string should start at column 0 of a line, true uses any
#~ # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#~ #command_example();
#~ # setting to false would generate this
#~ # command_example();
#~ # This setting works only for single line comments
comment_use_indent=true
#~ # context action command (please see Geany's main documentation for details)
#~ context_action_cmd=
#~ [indentation]
#~ #width=4
#~ # 0 is spaces, 1 is tabs, 2 is tab & spaces
#~ #type=1
#~ [build-menu]
#~ # %f will be replaced by the complete filename
#~ # %e will be replaced by the filename without extension
#~ # (use only one of it at one time)
#~ #FT_02_LB=_Lint
#~ #FT_02_CM=jshint "%f"
#~ #FT_02_WD=
#~ #error_regex=([^:]+): line ([0-9]+), col ([0-9]+)

View File

@ -0,0 +1,54 @@
#~ # For complete documentation of this file, please see Geany's main documentation
[styling=C]
[keywords]
#~ # all items must be in one line
primary=break case catch class const continue debugger default delete do else enum export extends extend false finally for function get if import in Infinity instanceof let NaN new null return set static super switch this throw true try typeof undefined var let while with yield prototype async await declare aliased interfaced Alias Interface interface
secondary=Array Boolean boolean Date Function Math Number number Object String string RegExp EvalError Error RangeError ReferenceError SyntaxError TypeError URIError constructor prototype decodeURI decodeURIComponent encodeURI encodeURIComponent eval isFinite isNaN parseFloat parseInt protected public private keyof void any never readonly as
[lexer_properties=C]
#~ # partially handles ES6 template strings
lexer.cpp.backquoted.strings=1
[settings]
#~ # default extension used when saving files
extension=js
#~ lexer_filetype=C
lexer_filetype=ActionScript
#~ # MIME type
mime_type=text/x-typescript
#~ # the following characters are these which a "word" can contains, see documentation
wordchars=$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
#~ # single comments, like # in this file
comment_single=//
# multiline comments
comment_open=/*
comment_close=*/
#~ # set to false if a comment character/string should start at column 0 of a line, true uses any
#~ # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#~ #command_example();
#~ # setting to false would generate this
#~ # command_example();
#~ # This setting works only for single line comments
comment_use_indent=true
#~ # context action command (please see Geany's main documentation for details)
#~ context_action_cmd=
#~ [indentation]
#~ #width=4
#~ # 0 is spaces, 1 is tabs, 2 is tab & spaces
#~ #type=1
#~ [build-menu]
#~ # %f will be replaced by the complete filename
#~ # %e will be replaced by the filename without extension
#~ # (use only one of it at one time)
#~ #FT_02_LB=_Lint
#~ #FT_02_CM=jshint "%f"
#~ #FT_02_WD=
#~ #error_regex=([^:]+): line ([0-9]+), col ([0-9]+)