mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update lazy.nvim config
This commit is contained in:
parent
6e137fe9a3
commit
9efadac8fb
@ -128,10 +128,10 @@ local plugin_specs = {
|
||||
},
|
||||
},
|
||||
{
|
||||
'MeanderingProgrammer/markdown.nvim',
|
||||
main = "render-markdown",
|
||||
opts = {},
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
|
||||
"MeanderingProgrammer/markdown.nvim",
|
||||
main = "render-markdown",
|
||||
opts = {},
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
|
||||
},
|
||||
-- A list of colorscheme plugin you may want to try. Find what suits you.
|
||||
{ "navarasu/onedark.nvim", lazy = true },
|
||||
@ -176,7 +176,7 @@ local plugin_specs = {
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
event = "VeryLazy",
|
||||
main = 'ibl',
|
||||
main = "ibl",
|
||||
config = function()
|
||||
require("config.indent-blankline")
|
||||
end,
|
||||
@ -229,9 +229,9 @@ local plugin_specs = {
|
||||
|
||||
-- Automatic insertion and deletion of a pair of characters
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
event = "InsertEnter",
|
||||
config = true
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
config = true,
|
||||
},
|
||||
|
||||
-- Comment plugin
|
||||
@ -323,7 +323,7 @@ local plugin_specs = {
|
||||
{ "rhysd/committia.vim", lazy = true },
|
||||
|
||||
{
|
||||
"sindrets/diffview.nvim"
|
||||
"sindrets/diffview.nvim",
|
||||
},
|
||||
|
||||
{
|
||||
@ -430,7 +430,7 @@ local plugin_specs = {
|
||||
end,
|
||||
-- it seems that we can only call the firenvim function directly.
|
||||
-- Using vim.fn or vim.cmd to call this function will fail.
|
||||
build = string.format(":call firenvim#install(0, '%s')", prologue)
|
||||
build = string.format(":call firenvim#install(0, '%s')", prologue),
|
||||
},
|
||||
-- Debugger plugin
|
||||
{
|
||||
@ -497,13 +497,14 @@ local plugin_specs = {
|
||||
},
|
||||
}
|
||||
|
||||
-- configuration for lazy itself.
|
||||
local lazy_opts = {
|
||||
require("lazy").setup {
|
||||
spec = plugin_specs,
|
||||
ui = {
|
||||
border = "rounded",
|
||||
title = "Plugin Manager",
|
||||
title_pos = "center",
|
||||
},
|
||||
rocks = {
|
||||
enabled = false
|
||||
},
|
||||
}
|
||||
|
||||
require("lazy").setup(plugin_specs, lazy_opts)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user