mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-30 12:34:37 +02:00
feat(options): new option to disable deprecation warnings. warnings will be hidden bydefault
This commit is contained in:
parent
cc99b219de
commit
f8de965d3e
2 changed files with 7 additions and 0 deletions
|
@ -275,6 +275,10 @@ function M.init()
|
|||
-- after installing missing plugins
|
||||
M.load("options")
|
||||
|
||||
if vim.g.deprecation_warnings == false then
|
||||
vim.deprecate = function() end
|
||||
end
|
||||
|
||||
LazyVim.plugin.setup()
|
||||
M.json.load()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue