Skip to content

Commit 6b24f48

Browse files
committed
fix: re-enable memory check for now
1 parent fe68c28 commit 6b24f48

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lua/blink/cmp/fuzzy/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ pub fn get_words(_: &Lua, text: String) -> LuaResult<Vec<String>> {
8686
.collect())
8787
}
8888

89-
// NOTE: skip_memory_check greatly improves performance
90-
// https://github.com/mlua-rs/mlua/issues/318
91-
#[mlua::lua_module(skip_memory_check)]
89+
#[mlua::lua_module]
9290
fn blink_cmp_fuzzy(lua: &Lua) -> LuaResult<LuaTable> {
9391
let exports = lua.create_table()?;
9492
exports.set("fuzzy", lua.create_function(fuzzy)?)?;

0 commit comments

Comments
 (0)