Skip to content

Commit

Permalink
fix!: remove cmdpreview hack for nigytly since it's no longer needed …
Browse files Browse the repository at this point in the history
…there. Update your Nightlies!!
  • Loading branch information
folke committed May 29, 2024
1 parent f119045 commit 49caf99
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/noice/util/hacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ end

M.SPECIAL = "Þ"
function M.cmdline_force_redraw()
if vim.fn.has("nvim-0.11") == 1 then
-- no longer needed on nightly
return
end
if not require("noice.util.ffi").cmdpreview then
return
end
Expand Down

0 comments on commit 49caf99

Please sign in to comment.