.eo syntax for the Geany editor.

This commit is contained in:
Davide Andreoli 2016-04-01 21:02:33 +02:00
parent 8c1b4ecc12
commit a998a9f2f1
2 changed files with 60 additions and 0 deletions

View File

@ -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.seeall read readfrom remove rename seek setlocale time tmpfile tmpname write writeto
# 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"

View File

@ -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