shell: add provider file.

This commit is contained in:
Alastair Poole 2021-09-06 09:46:45 +01:00
parent 554b22c929
commit 108e96685a
1 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,43 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <Eina.h>
#include "edi_language_provider.h"
#include "edi_config.h"
#include "edi_private.h"
void
_edi_language_shell_add(Edi_Editor *editor EINA_UNUSED)
{
}
void
_edi_language_shell_refresh(Edi_Editor *editor EINA_UNUSED)
{
}
void
_edi_language_shell_del(Edi_Editor *editor EINA_UNUSED)
{
}
const char *
_edi_language_shell_mime_name(const char *mime)
{
if (!strcasecmp(mime, "application/x-shellscript"))
return _("Shell source");
return NULL;
}
const char *
_edi_language_shell_snippet_get(const char *key)
{
(void) key;
return NULL;
}