davemds pushed a commit to branch master.

http://git.enlightenment.org/editors/geany-configs.git/commit/?id=a998a9f2f1043103e4710a4b701d168f046fe823

commit a998a9f2f1043103e4710a4b701d168f046fe823
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Fri Apr 1 21:02:33 2016 +0200

    .eo syntax for the Geany editor.
---
 filedefs/filetypes.Eo.conf | 55 ++++++++++++++++++++++++++++++++++++++++++++++
 snippets.conf              |  5 +++++
 2 files changed, 60 insertions(+)

diff --git a/filedefs/filetypes.Eo.conf b/filedefs/filetypes.Eo.conf
new file mode 100644
index 0000000..ed4264e
--- /dev/null
+++ b/filedefs/filetypes.Eo.conf
@@ -0,0 +1,55 @@
+#
+# Eo (eolian) filetype definition for Geany.
+#
+# This file enable hilight of eo files
+#
+# Usage:
+#
+# 1. Copy this file to "~/.config/geany/filedefs/" folder (or just link it).
+#
+# 2. To make geany automatically recognize .eo extension as Eo file:
+#    Eo=*.eo;    in filetype_extensions.conf
+#
+
+
+# For complete documentation of this file, please see Geany's main 
documentation
+[styling=Lua]
+
+[keywords]
+# dark blu - main keywords
+keywords=return import abstract class methods set get values legacy_ctor 
params implements legacy_prefix eo_prefix data legacy type
+# light blu - basic types
+function_basic=null void bool double char Eo Eo.Base Evas Evas.Object 
Evas.Coord Evas.Real Evas.Aspect_Control
+# hi blu - still free
+function_other=property protected in out nonull warn_unused virtual
+coroutines=closefile coroutine.create coroutine.resume coroutine.running 
coroutine.status coroutine.wrap coroutine.yield date difftime execute exit 
flush getenv io.close io.flush io.input io.lines io.open io.output io.popen 
io.read io.stderr io.stdin io.stdout io.tmpfile io.type io.write openfile 
os.clock os.date os.difftime os.execute os.exit os.getenv os.remove os.rename 
os.setlocale os.time os.tmpname package.cpath package.loaded package.loadlib 
package.path package.preload package.se [...]
+# red - @tags
+user2=
+# dark blue
+user1=
+user3=
+user4=
+
+[settings]
+lexer_filetype=Lua
+
+
+# default extension used when saving files
+extension=eo
+
+# context action command (please see Geany's main documentation for details)
+context_action_cmd=
+
+[indentation]
+width=3
+# 0 is spaces, 1 is tabs, 2 is tab & spaces
+type=0
+
+[build_settings]
+# %f will be replaced by the complete filename
+# %e will be replaced by the filename without extension
+# (use only one of it at one time)
+# compiler=edje_cc -v "%f"
+# linker=g++ -Wall -o "%e" "%f"
+# run_cmd=edje_player "%f"
+
diff --git a/snippets.conf b/snippets.conf
index 08de7c4..3e7132d 100644
--- a/snippets.conf
+++ b/snippets.conf
@@ -12,6 +12,11 @@
 #
 
 [Python]
+# generic python
+prop=@property\ndef %cursor%(self):\n\treturn
+class=class %cursor%(object):\n\tdef __init__(self):\n\t\tpass
+
+
 # Python-EFL
 expand=size_hint_expand=EXPAND_BOTH
 fill=size_hint_fill=FILL_BOTH

-- 


Reply via email to