From: Dale Weiler Date: Sun, 21 Apr 2013 07:27:59 +0000 (+0000) Subject: Add syntax configuration file for gtksourceview (this allows QC code syntax highlight... X-Git-Tag: before-library~32 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7def17eed51c0a5dcb6c8f99319f7ad90fe28d26;p=xonotic%2Fgmqcc.git Add syntax configuration file for gtksourceview (this allows QC code syntax highlighting for GNOMEs default text view in nautilus, gedit, and sandy + other gtksouceview based editors). --- diff --git a/syntax/README b/syntax/README index 6c65422..04af9ff 100644 --- a/syntax/README +++ b/syntax/README @@ -5,9 +5,12 @@ you can install the configuration file correctly. Currently the supported text editors: geany kate - kwrite - uses kate syntax highlighting - kdevelop - uses kate syntax highlighting - QtCreator - supports kate syntax highlighting + kwrite - uses kate syntax highlighting + kdevelop - uses kate syntax highlighting + QtCreator - supports kate syntax highlighting + gtksourceview - main source viewer in GNOME + gedit - uses gtksourceview + sandy - uses gtksourceview nano diff --git a/syntax/gtksourceview/README b/syntax/gtksourceview/README new file mode 100644 index 0000000..73a6072 --- /dev/null +++ b/syntax/gtksourceview/README @@ -0,0 +1,5 @@ +To use the gtksourceview syntax highlighting install qc.lang to the syntax +directory for gtksourceview + +# Can be installed globally to +/usr/share/gtksourceview-[version]/language-specs/ diff --git a/syntax/gtksourceview/qc.lang b/syntax/gtksourceview/qc.lang new file mode 100644 index 0000000..827290f --- /dev/null +++ b/syntax/gtksourceview/qc.lang @@ -0,0 +1,173 @@ + + + + *.qc + // + /* + */ + + + +