mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-07 03:14:30 +02:00
feat(config)!: LazyVim can now be configured like any other plugin with {"LazyVim/LazyVim", opts = ... }. config.settings
is deprecated
This commit is contained in:
parent
aafc033927
commit
36c84f47c9
7 changed files with 113 additions and 57 deletions
|
@ -48,7 +48,7 @@ return {
|
|||
diagnostics = "nvim_lsp",
|
||||
always_show_bufferline = false,
|
||||
diagnostics_indicator = function(_, _, diag)
|
||||
local icons = require("lazyvim.config.settings").icons.diagnostics
|
||||
local icons = require("lazyvim.config").icons.diagnostics
|
||||
local ret = (diag.error and icons.Error .. diag.error .. " " or "")
|
||||
.. (diag.warning and icons.Warn .. diag.warning or "")
|
||||
return vim.trim(ret)
|
||||
|
@ -74,7 +74,7 @@ return {
|
|||
require("lazyvim.util").deprecate("lualine.override", "lualine.opts")
|
||||
end
|
||||
|
||||
local icons = require("lazyvim.config.settings").icons
|
||||
local icons = require("lazyvim.config").icons
|
||||
|
||||
local function fg(name)
|
||||
return function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue