2010-01-21 23:42:47 -08:00
|
|
|
/*
|
2010-12-08 01:11:51 -08:00
|
|
|
* mooeditplugins.c
|
2010-01-21 23:42:47 -08:00
|
|
|
*
|
2010-11-07 01:20:45 -08:00
|
|
|
* Copyright (C) 2004-2010 by Yevgen Muntyan <emuntyan@sourceforge.net>
|
2010-01-21 23:42:47 -08:00
|
|
|
*
|
|
|
|
* This file is part of medit. medit is free software; you can
|
|
|
|
* redistribute it and/or modify it under the terms of the
|
|
|
|
* GNU Lesser General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2.1 of the License,
|
|
|
|
* or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with medit. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2010-03-17 21:14:33 -07:00
|
|
|
#include <config.h>
|
2010-12-08 01:11:51 -08:00
|
|
|
#include "mooeditplugins.h"
|
2010-11-01 02:47:01 -07:00
|
|
|
#include "mooutils/mooutils-misc.h"
|
2010-01-21 23:42:47 -08:00
|
|
|
|
2010-12-08 01:25:34 -08:00
|
|
|
#ifdef MOO_ENABLE_PYTHON
|
|
|
|
#include "moopython/moopython-builtin.h"
|
|
|
|
#endif
|
|
|
|
|
2010-01-21 23:42:47 -08:00
|
|
|
void
|
|
|
|
moo_plugin_init_builtin (void)
|
|
|
|
{
|
2010-12-08 01:25:34 -08:00
|
|
|
#ifdef MOO_ENABLE_PYTHON
|
|
|
|
if (!moo_getenv_bool ("MOO_DISABLE_PYTHON"))
|
|
|
|
_moo_python_builtin_init ();
|
|
|
|
#endif
|
2010-11-01 02:47:01 -07:00
|
|
|
if (!moo_getenv_bool ("MOO_DISABLE_LUA"))
|
2010-09-30 03:42:40 -07:00
|
|
|
_moo_lua_plugin_init ();
|
2010-01-21 23:42:47 -08:00
|
|
|
_moo_file_selector_plugin_init ();
|
|
|
|
_moo_file_list_plugin_init ();
|
|
|
|
_moo_find_plugin_init ();
|
|
|
|
#ifdef MOO_BUILD_CTAGS
|
|
|
|
_moo_ctags_plugin_init ();
|
|
|
|
#endif
|
2010-08-30 22:19:58 -07:00
|
|
|
_moo_user_tools_plugin_init ();
|
2010-01-21 23:42:47 -08:00
|
|
|
}
|