Skip to content

Commit

Permalink
refactor: i swear, it's fixed this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-programs committed Apr 25, 2024
1 parent 72f58d4 commit 143d2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/util/ffi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end
return setmetatable(M, {
__index = function(_, key)
-- HACK: cmdpreview symbol is not available on Windows
if vim.fn.has("nvim-0.9.0") == 0 and key == "cmdpreview" 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]
Expand Down

0 comments on commit 143d2a4

Please sign in to comment.