mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-09 00:44:40 +02:00
refactor(plugins)!: plugins now use lazy.nvim's new opts
property to make it far easier to override options
This commit is contained in:
parent
8667b3d54e
commit
2135bc144c
8 changed files with 140 additions and 95 deletions
|
@ -75,6 +75,7 @@ function M.telescope(builtin, opts)
|
|||
end
|
||||
end
|
||||
|
||||
-- FIXME: create a togglable termiminal
|
||||
-- Opens a floating terminal (interactive by default)
|
||||
---@param cmd? string[]|string
|
||||
---@param opts? LazyCmdOptions|{interactive?:boolean}
|
||||
|
@ -122,4 +123,12 @@ function M.toggle_diagnostics()
|
|||
end
|
||||
end
|
||||
|
||||
function M.deprecate(old, new)
|
||||
vim.notify(
|
||||
("`%s` is deprecated. Please use `%s` instead"):format(old, new),
|
||||
vim.log.levels.WARN,
|
||||
{ title = "LazyVim" }
|
||||
)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue