diff --git a/lua/noice/util/ffi.lua b/lua/noice/util/ffi.lua index f1c5f96..771672e 100644 --- a/lua/noice/util/ffi.lua +++ b/lua/noice/util/ffi.lua @@ -32,7 +32,7 @@ end return setmetatable(M, { __index = function(_, key) -- HACK: cmdpreview symbol is not available on Windows - if key == "cmdpreview" and jit.os == "Windows" then + if vim.fn.has("nvim-0.9.0") ~= 1 and key == "cmdpreview" and jit.os == "Windows" then return false end return M.load()[key]