shell: add provider file.

master
Alastair Poole 11 months ago
parent 554b22c929
commit 108e96685a
  1. 43
      src/bin/language/edi_language_provider_shell.c

@ -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;
}
Loading…
Cancel
Save