diff --git a/lua/noice/util/ffi.lua b/lua/noice/util/ffi.lua index bdacdab..2c5cc91 100644 --- a/lua/noice/util/ffi.lua +++ b/lua/noice/util/ffi.lua @@ -31,6 +31,10 @@ end return setmetatable(M, { __index = function(_, key) + -- HACK: cmdpreview symbol is not available on Windows + if key == "cmdpreview" and jit.os == "Windows" then + return false + end return M.load()[key] end, __newindex = function(_, k, v)