[geany/geany] 0cf495: Add Rust filetype

Nick Treleaven git-noreply at xxxxx
Sat Mar 16 14:14:41 UTC 2013


Branch:      refs/heads/master
Author:      Nick Treleaven <nick.treleaven at btinternet.com>
Committer:   Nick Treleaven <nick.treleaven at btinternet.com>
Date:        Sat, 16 Mar 2013 14:14:41 UTC
Commit:      0cf495a6db90b068c2ec77404e863eef097fea66
             https://github.com/geany/geany/commit/0cf495a6db90b068c2ec77404e863eef097fea66

Log Message:
-----------
Add Rust filetype

(See also: rust-lang.org)


Modified Paths:
--------------
    data/filetype_extensions.conf
    data/filetypes.Rust.conf

Modified: data/filetype_extensions.conf
3 files changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -49,6 +49,7 @@ Po=*.po;*.pot;
 Python=*.py;*.pyw;SConstruct;SConscript;
 reStructuredText=*.rest;*.reST;*.rst;
 R=*.R;*.r;
+Rust=*.rs
 Ruby=*.rb;*.rhtml;*.ruby;
 Scala=*.scala;*.scl;
 Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.zsh;*.ash;*.bash;*.m4;
@@ -64,7 +65,7 @@ None=*;
 
 # Note: restarting is required after editing groups
 [Groups]
-Programming=Cython;Genie;Go;Scala;
+Programming=Cython;Genie;Go;Rust;Scala;
 Script=
 Markup=
 Misc=


Modified: data/filetypes.Rust.conf
61 files changed, 61 insertions(+), 0 deletions(-)
===================================================================
@@ -0,0 +1,61 @@
+# For complete documentation of this file, please see Geany's main documentation
+[styling=C]
+
+[keywords]
+# all items must be in one line
+primary=as break const copy do drop else enum extern false fn for if impl let log loop match mod mut priv pub pure ref return self static struct super true trait type unsafe use while
+secondary=
+# these are the Doxygen keywords
+docComment=a addindex addtogroup anchor arg attention author authors b brief bug c callergraph callgraph category cite class code cond copybrief copydetails copydoc copyright date def defgroup deprecated details dir dontinclude dot dotfile e else elseif em endcode endcond enddot endhtmlonly endif endinternal endlatexonly endlink endmanonly endmsc endrtfonly endverbatim endxmlonly enum example exception extends file fn headerfile hideinitializer htmlinclude htmlonly if ifnot image implements include includelineno ingroup interface internal invariant latexonly li line link mainpage manonly memberof msc mscfile n name namespace nosubgrouping note overload p package page par paragraph param post pre private privatesection property protected protectedsection protocol public publicsection ref related relatedalso relates relatesalso remark remarks result return returns retval rtfonly sa section see short showinitializer since skip skipline snippet struct subpage subsection subsubsection tableofcontents test throw throws todo tparam typedef union until var verbatim verbinclude version warning weakgroup xmlonly xrefitem
+
+[lexer_properties]
+# preprocessor properties - possibly useful for tweaking #[attribute] highlighting
+#styling.within.preprocessor=1
+#lexer.cpp.track.preprocessor=0
+#preprocessor.symbol.$(file.patterns.cpp)=#
+#preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
+#preprocessor.middle.$(file.patterns.cpp)=else elif
+#preprocessor.end.$(file.patterns.cpp)=endif
+
+[settings]
+# default extension used when saving files
+extension=rs
+lexer_filetype=C
+
+# 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]
+FT_00_LB=_Compile
+FT_00_CM=rustc -c "%f"
+FT_00_WD=
+FT_01_LB=_Build
+FT_01_CM=rustc "%f"
+FT_01_WD=
+EX_00_LB=_Run
+EX_00_CM="./%e"
+EX_00_WD=
+
+



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list