47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
/*
|
|
* mooplugin-builtin.c
|
|
*
|
|
* Copyright (C) 2004-2010 by Yevgen Muntyan <emuntyan@users.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 "mooedit/mooplugin.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 (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_plugin_read_dirs ();
|
|
|
|
_moo_user_tools_plugin_init ();
|
|
}
|