Skip to content

Commit e60b855

Browse files
authored
fix(ui): use vim.cmd("") for nvim-0.7.0 compatibility (#1307)
1 parent 3b59f25 commit e60b855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/mason/ui/instance.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ window.events:on("search:enter", function()
151151
state.view.is_searching = true
152152
end)
153153
vim.schedule(function()
154-
vim.cmd.redraw()
154+
vim.cmd "redraw"
155155
end)
156156
end)
157157

0 commit comments

Comments
 (0)