[geany/geany] 51c541: Add support for the Go programming language

tomboy64 git-noreply at xxxxx
Sun Mar 10 13:10:26 UTC 2013


Branch:      refs/heads/master
Author:      tomboy64 <tomboy64 at sina.cn>
Committer:   Matthew Brush <matt at geany.org>
Date:        Sun, 10 Mar 2013 13:10:26 UTC
Commit:      51c541faa223b5a8cab3eddc0bee49172b85ca2d
             https://github.com/geany/geany/commit/51c541faa223b5a8cab3eddc0bee49172b85ca2d

Log Message:
-----------
Add support for the Go programming language

- syntax highlighting
- support for the go compiler (as opposed to gccgo)


Modified Paths:
--------------
    NEWS
    data/filetype_extensions.conf
    data/filetypes.Go.conf

Modified: NEWS
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -109,6 +109,7 @@ Geany 1.23 (unreleased)
     * Update default D template to use a more standard prototype for
       main().
     * Fix improperly translated string in Pascal template (#3602314).
+    * Add Go language filetype (tomboy64)
 
     Plugins
     * Export: Fix missing linking on libm (Chow Loong Jin)


Modified: data/filetype_extensions.conf
3 files changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -28,6 +28,7 @@ Fortran=*.f90;*.f95;*.f03;
 FreeBasic=*.bas;*.bi;
 Genie=*.gs;
 GLSL=*.glsl;*.frag;*.vert;
+Go=*.go;
 Haskell=*.hs;*.lhs;
 Haxe=*.hx;
 HTML=*.htm;*.html;*.shtml;*.hta;*.htd;*.htt;*.cfm;
@@ -63,7 +64,7 @@ None=*;
 
 # Note: restarting is required after editing groups
 [Groups]
-Programming=Cython;Genie;Scala;
+Programming=Cython;Genie;Go;Scala;
 Script=
 Markup=
 Misc=


Modified: data/filetypes.Go.conf
54 files changed, 54 insertions(+), 0 deletions(-)
===================================================================
@@ -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 chan const continue default defer else fallthrough for func go goto if import interface map package range return select struct switch type var
+secondary=byte bool rune int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float32 float64 complex64 complex128 uintptr string
+
+# 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=C]
+
+[settings]
+# default extension used when saving files
+extension=go
+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=_Build
+FT_00_CM=go build %f
+FT_00_WD=
+FT_02_LB=Te_st
+FT_02_CM=go test
+FT_02_WD=
+EX_00_LB=_Run
+EX_00_CM=go run %f
+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