Kaydet (Commit) 95c0c06c authored tarafından ankitpati's avatar ankitpati Kaydeden (comit) Nick Treleaven

Add support for Apple Swift language

üst 868da117
......@@ -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 \
......
# 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=
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment