snippet: add some python snippets

This commit is contained in:
Andy Williams 2017-09-22 11:58:29 +01:00
parent f1643f08ef
commit ba8dd2becf
1 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,15 @@ _edi_language_python_mime_name(const char *mime)
const char *
_edi_language_python_snippet_get(const char *key EINA_UNUSED)
{
if (!strcmp(key, "def"))
return
"def ():\n" \
" ";
else if (!strcmp(key, "defi"))
return
"def __init__(self):\n" \
" ";
return NULL;
}