medit/moo/plugins/mooplugin-builtin.c
2010-12-08 01:29:05 -08:00

41 lines
1.1 KiB
C

/*
* mooplugin-builtin.c
*
* Copyright (C) 2004-2010 by Yevgen Muntyan <emuntyan@sourceforge.net>
*
* 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/>.
*/
#include <config.h>
#include "plugins/mooplugin-builtin.h"
#include "mooutils/mooutils-misc.h"
#ifdef MOO_ENABLE_PYTHON
#include "moopython/moopython-builtin.h"
#endif
void
moo_plugin_init_builtin (void)
{
#ifdef MOO_ENABLE_PYTHON
if (!moo_getenv_bool ("MOO_DISABLE_PYTHON"))
_moo_python_builtin_init ();
#endif
if (!moo_getenv_bool ("MOO_DISABLE_LUA"))
_moo_lua_plugin_init ();
_moo_file_selector_plugin_init ();
_moo_file_list_plugin_init ();
_moo_find_plugin_init ();
#ifdef MOO_BUILD_CTAGS
_moo_ctags_plugin_init ();
#endif
_moo_user_tools_plugin_init ();
}