mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
refactor: removed deprecation warnings from before 1.0.0
This commit is contained in:
parent
2321847e72
commit
65fb26fe97
4 changed files with 1 additions and 34 deletions
|
@ -66,13 +66,6 @@ return {
|
|||
},
|
||||
---@param opts PluginLspOpts
|
||||
config = function(plugin, opts)
|
||||
if plugin.servers then
|
||||
require("lazyvim.util").deprecate("lspconfig.servers", "lspconfig.opts.servers")
|
||||
end
|
||||
if plugin.setup_server then
|
||||
require("lazyvim.util").deprecate("lspconfig.setup_server", "lspconfig.opts.setup[SERVER]")
|
||||
end
|
||||
|
||||
-- setup autoformat
|
||||
require("lazyvim.plugins.lsp.format").autoformat = opts.autoformat
|
||||
-- setup formatting and keymaps
|
||||
|
@ -160,9 +153,6 @@ return {
|
|||
},
|
||||
---@param opts MasonSettings | {ensure_installed: string[]}
|
||||
config = function(plugin, opts)
|
||||
if plugin.ensure_installed then
|
||||
require("lazyvim.util").deprecate("treesitter.ensure_installed", "treesitter.opts.ensure_installed")
|
||||
end
|
||||
require("mason").setup(opts)
|
||||
local mr = require("mason-registry")
|
||||
for _, tool in ipairs(opts.ensure_installed) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue