Branch: refs/heads/master Author: ankitpati ankitpati@gmail.com Committer: Nick Treleaven n@trelsoft.com Date: Mon, 27 May 2019 12:48:38 UTC Commit: 95c0c06cba3dc0d988c2c0a74c5d52fa2e9f3a93 https://github.com/geany/geany/commit/95c0c06cba3dc0d988c2c0a74c5d52fa2e9f3a...
Log Message: ----------- Add support for Apple Swift language
Modified Paths: -------------- data/Makefile.am data/filedefs/filetypes.Swift.conf data/filetype_extensions.conf
Modified: data/Makefile.am 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -64,6 +64,7 @@ filetypes = \ filedefs/filetypes.Scala.conf \ filedefs/filetypes.sh \ filedefs/filetypes.sql \ + filedefs/filetypes.Swift.conf \ filedefs/filetypes.tcl \ filedefs/filetypes.txt2tags \ filedefs/filetypes.vala \
Modified: data/filedefs/filetypes.Swift.conf 45 lines changed, 45 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,45 @@ +# For complete documentation of this file, please see Geany's main documentation +[styling=C] + +[keywords] +primary=associativity break case catch class continue convenience default deinit didSet do else enum extension fallthrough false final for func get guard if import in infix init inout internal lazy let mutating nil operator override postfix precedence prefix private public repeat required return self set static struct subscript super switch throws true try var weak where while willSet +secondary=Array Bool Dictionary ErrorType Int Float Double Set String Tuple UnicodeScalar abs max min print +# documentation keywords for javadoc +doccomment=author deprecated exception param return see serial serialData serialField since throws todo version + +[lexer_properties] +lexer.cpp.triplequoted.strings=1 + +[settings] +lexer_filetype=C + +# default extension used when saving files +extension=swift + +# MIME type +mime_type=text/x-swift + +# 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=*/ + +comment_use_indent=true + +[build-menu] +FT_00_LB=Compile +FT_00_CM=swiftc "%f" +FT_00_WD= +EX_00_LB=Execute +EX_00_CM="./%e" +EX_00_WD= +EX_01_LB=Execute as Script +EX_01_CM=swift "%f" +EX_01_WD= +FT_01_LB=Build +FT_01_CM=swift build +FT_01_WD=
Modified: data/filetype_extensions.conf 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -62,6 +62,7 @@ Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile; Scala=*.scala;*.scl; Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;.bashrc;bash.bashrc;.bash_*;bash_*;*.m4;PKGBUILD;*profile; SQL=*.sql; +Swift=*.swift; Tcl=*.tcl;*.tk;*.wish;*.exp; Txt2tags=*.t2t; Vala=*.vala;*.vapi; @@ -74,7 +75,7 @@ None=*;
# Note: restarting is required after editing groups [Groups] -Programming=Arduino;Clojure;CUDA;Cython;Genie;Scala; +Programming=Arduino;Clojure;CUDA;Cython;Genie;Scala;Swift; Script=Graphviz; Markup= Misc=JSON;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).