fix: highlights

This commit is contained in:
Folke Lemaitre 2022-11-20 23:34:35 +01:00
parent 57d024ef19
commit 35b1f98ac7
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 10 additions and 17 deletions

View file

@ -1,3 +1,4 @@
local Util = require("lazy.util")
local Render = require("lazy.view.render")
local M = {}
@ -71,11 +72,8 @@ function M.show()
local render = Util.throttle(30, function()
vim.bo[buf].modifiable = true
Render.render_plugins(buf, win, 2)
vim.bo[buf].modifiable = false
vim.cmd.redraw()
end)