summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-04-01 21:02:33 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-04-01 21:02:33 +0200
commita998a9f2f1043103e4710a4b701d168f046fe823 (patch)
treefe96e0c22aaf899ff451d7717764b5b39b9fffa3
parent8c1b4ecc12223fb43b936b079246a5768393366c (diff)
.eo syntax for the Geany editor.
-rw-r--r--filedefs/filetypes.Eo.conf55
-rw-r--r--snippets.conf5
2 files changed, 60 insertions, 0 deletions
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 @@
1#
2# Eo (eolian) filetype definition for Geany.
3#
4# This file enable hilight of eo files
5#
6# Usage:
7#
8# 1. Copy this file to "~/.config/geany/filedefs/" folder (or just link it).
9#
10# 2. To make geany automatically recognize .eo extension as Eo file:
11# Eo=*.eo; in filetype_extensions.conf
12#
13
14
15# For complete documentation of this file, please see Geany's main documentation
16[styling=Lua]
17
18[keywords]
19# dark blu - main keywords
20keywords=return import abstract class methods set get values legacy_ctor params implements legacy_prefix eo_prefix data legacy type
21# light blu - basic types
22function_basic=null void bool double char Eo Eo.Base Evas Evas.Object Evas.Coord Evas.Real Evas.Aspect_Control
23# hi blu - still free
24function_other=property protected in out nonull warn_unused virtual
25coroutines=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.seeall read readfrom remove rename seek setlocale time tmpfile tmpname write writeto
26# red - @tags
27user2=
28# dark blue
29user1=
30user3=
31user4=
32
33[settings]
34lexer_filetype=Lua
35
36
37# default extension used when saving files
38extension=eo
39
40# context action command (please see Geany's main documentation for details)
41context_action_cmd=
42
43[indentation]
44width=3
45# 0 is spaces, 1 is tabs, 2 is tab & spaces
46type=0
47
48[build_settings]
49# %f will be replaced by the complete filename
50# %e will be replaced by the filename without extension
51# (use only one of it at one time)
52# compiler=edje_cc -v "%f"
53# linker=g++ -Wall -o "%e" "%f"
54# run_cmd=edje_player "%f"
55
diff --git a/snippets.conf b/snippets.conf
index 08de7c4..3e7132d 100644
--- a/snippets.conf
+++ b/snippets.conf
@@ -12,6 +12,11 @@
12# 12#
13 13
14[Python] 14[Python]
15# generic python
16prop=@property\ndef %cursor%(self):\n\treturn
17class=class %cursor%(object):\n\tdef __init__(self):\n\t\tpass
18
19
15# Python-EFL 20# Python-EFL
16expand=size_hint_expand=EXPAND_BOTH 21expand=size_hint_expand=EXPAND_BOTH
17fill=size_hint_fill=FILL_BOTH 22fill=size_hint_fill=FILL_BOTH