refactor nvim neo-tree: 改寫成lazy官方教學建議的格式
This commit is contained in:
parent
7c764d6def
commit
ee45046c60
@ -4,8 +4,9 @@ return {
|
|||||||
{
|
{
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||||
config = function()
|
event = "VeryLazy",
|
||||||
require('lualine').setup ({
|
opts = function()
|
||||||
|
return {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'onedark',
|
theme = 'onedark',
|
||||||
@ -45,7 +46,10 @@ return {
|
|||||||
winbar = {},
|
winbar = {},
|
||||||
inactive_winbar = {},
|
inactive_winbar = {},
|
||||||
extensions = {}
|
extensions = {}
|
||||||
})
|
}
|
||||||
end,
|
end,
|
||||||
|
-- config = function(_, opts)
|
||||||
|
-- require('lualine').setup(opts)
|
||||||
|
-- end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user