summaryrefslogtreecommitdiffstats
path: root/src/PYExtEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYExtEditor.cc')
-rw-r--r--src/PYExtEditor.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/PYExtEditor.cc b/src/PYExtEditor.cc
index dfbe064..8178fb1 100644
--- a/src/PYExtEditor.cc
+++ b/src/PYExtEditor.cc
@@ -57,6 +57,11 @@ ExtEditor::ExtEditor (PinyinProperties & props, Config & config)
loadLuaScript (PKGDATADIR G_DIR_SEPARATOR_S "base.lua");
g_free(path);
+
+ path = g_build_filename (g_get_user_config_dir (),
+ "ibus", "libpinyin", "user.lua", NULL);
+ loadLuaScript(path);
+ g_free(path);
}
int