mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 01:38:54 +02:00
fix(options): use vim.opt
and trigger Lazy ui reload when needed. Fixes #38
This commit is contained in:
parent
83d18dbcee
commit
e405023530
2 changed files with 5 additions and 2 deletions
|
@ -126,6 +126,10 @@ function M.load(name)
|
|||
end,
|
||||
})
|
||||
end
|
||||
if vim.bo.filetype == "lazy" then
|
||||
-- HACK: LazyVim may have overwritten options of the Lazy ui, so reset this here
|
||||
vim.cmd([[do VimResized]])
|
||||
end
|
||||
end
|
||||
|
||||
M.did_init = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue