Skip to content

Commit

Permalink
fix(ui): use vim.cmd("") for nvim-0.7.0 compatibility (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman committed May 17, 2023
1 parent 3b59f25 commit e60b855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/mason/ui/instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ window.events:on("search:enter", function()
state.view.is_searching = true
end)
vim.schedule(function()
vim.cmd.redraw()
vim.cmd "redraw"
end)
end)

Expand Down

0 comments on commit e60b855

Please sign in to comment.