diff --git a/data/languages/zeus.idl/highlight.xml b/data/languages/zeus.idl/highlight.xml new file mode 100644 index 0000000..2d0eef3 --- /dev/null +++ b/data/languages/zeus.idl/highlight.xml @@ -0,0 +1,60 @@ + + + .*\.zeus\.idl + + + comment + + /\* + \*/ + + TODO + + + SYNTAX_ERROR + + /\* + + + + commentDoxygen + #.* + docparse + + + comment + //.* + TODO + + + + + type + \b(void|bool|string|int(8|16|32|64)|uint(8|16|32|64)|float(32|64)|vector\:(bool|string|int(8|16|32|64)|uint(8|16|32|64)|float(32|64)))\b + + + number + \b(((0(x|X)[0-9a-fA-F]*)|(\d+\.?\d*|\.\d+)((e|E)(\+|\-)?\d+)?)(L|l|UL|ul|u|U|F|f)?)\b + + + functionName + \b((\w|_)+[ \t]*\() + + + + + doxygen-key-known + (srv-brief|srv-version|srv-type|srv-author|brief|param|return|note): + + + inputFunction + \b\w+\:\b + + + + + SYNTAX_ERROR + TODO[ \t]*:.* + + + diff --git a/lutin_edn.py b/lutin_edn.py index 81aba00..7806ddb 100644 --- a/lutin_edn.py +++ b/lutin_edn.py @@ -100,6 +100,7 @@ def configure(target, my_module): my_module.copy_path('data/languages/php/*.xml','languages/php/') my_module.copy_path('data/languages/xml/*.xml','languages/xml/') my_module.copy_path('data/languages/python/*.xml','languages/python/') + my_module.copy_path('data/languages/zeus.idl/*.xml','languages/zeus.idl/') my_module.copy_path('data/theme/default/*.svg','theme/shape/square/') my_module.copy_path('data/theme/default/*.edf','theme/shape/square/') my_module.copy_path('data/theme/colorWhite/*.json','theme/color/white/')