diff --git a/lua/search.lua b/lua/search.lua index b7f9b5e7..52d59513 100755 --- a/lua/search.lua +++ b/lua/search.lua @@ -123,13 +123,13 @@ function f.init( env ) env.if_reverse_lookup = false -- 配置:仅限 script_translator 引擎 - local engine = config:get_list( 'engine/translators' ) - local engine_table = {} - for i = 0, engine.size - 1 do engine_table[engine:get_value_at( i ).value] = true end - if not engine_table['script_translator'] then - log.error( '[search.lua]: script_translator not found in engine/translators, search.lua will not work' ) - return - end + -- local engine = config:get_list( 'engine/translators' ) + -- local engine_table = {} + -- for i = 0, engine.size - 1 do engine_table[engine:get_value_at( i ).value] = true end + -- if not engine_table['script_translator'] then + -- log.error( '[search.lua]: script_translator not found in engine/translators, search.lua will not work' ) + -- return + -- end -- 配置:辅码查字方法 -- --