summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PYPPinyinEngine.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/PYPPinyinEngine.cc b/src/PYPPinyinEngine.cc
index 2e06d13..2ab6140 100644
--- a/src/PYPPinyinEngine.cc
+++ b/src/PYPPinyinEngine.cc
@@ -75,6 +75,11 @@ PinyinEngine::PinyinEngine (IBusEngine *engine)
#endif
}
+#ifdef IBUS_BUILD_LUA_EXTENSION
+ m_props.setLuaPlugin (m_lua_plugin);
+ m_props.appendLuaConverter ();
+#endif
+
m_editors[MODE_PUNCT].reset
(new PunctEditor (m_props, PinyinConfig::instance ()));
m_editors[MODE_RAW].reset