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',
|
"MeanderingProgrammer/markdown.nvim",
|
||||||
main = "render-markdown",
|
main = "render-markdown",
|
||||||
opts = {},
|
opts = {},
|
||||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
|
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" },
|
||||||
},
|
},
|
||||||
-- A list of colorscheme plugin you may want to try. Find what suits you.
|
-- A list of colorscheme plugin you may want to try. Find what suits you.
|
||||||
{ "navarasu/onedark.nvim", lazy = true },
|
{ "navarasu/onedark.nvim", lazy = true },
|
||||||
@ -176,7 +176,7 @@ local plugin_specs = {
|
|||||||
{
|
{
|
||||||
"lukas-reineke/indent-blankline.nvim",
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
main = 'ibl',
|
main = "ibl",
|
||||||
config = function()
|
config = function()
|
||||||
require("config.indent-blankline")
|
require("config.indent-blankline")
|
||||||
end,
|
end,
|
||||||
@ -229,9 +229,9 @@ local plugin_specs = {
|
|||||||
|
|
||||||
-- Automatic insertion and deletion of a pair of characters
|
-- Automatic insertion and deletion of a pair of characters
|
||||||
{
|
{
|
||||||
'windwp/nvim-autopairs',
|
"windwp/nvim-autopairs",
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
config = true
|
config = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Comment plugin
|
-- Comment plugin
|
||||||
@ -323,7 +323,7 @@ local plugin_specs = {
|
|||||||
{ "rhysd/committia.vim", lazy = true },
|
{ "rhysd/committia.vim", lazy = true },
|
||||||
|
|
||||||
{
|
{
|
||||||
"sindrets/diffview.nvim"
|
"sindrets/diffview.nvim",
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -430,7 +430,7 @@ local plugin_specs = {
|
|||||||
end,
|
end,
|
||||||
-- it seems that we can only call the firenvim function directly.
|
-- it seems that we can only call the firenvim function directly.
|
||||||
-- Using vim.fn or vim.cmd to call this function will fail.
|
-- 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
|
-- Debugger plugin
|
||||||
{
|
{
|
||||||
@ -497,13 +497,14 @@ local plugin_specs = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- configuration for lazy itself.
|
require("lazy").setup {
|
||||||
local lazy_opts = {
|
spec = plugin_specs,
|
||||||
ui = {
|
ui = {
|
||||||
border = "rounded",
|
border = "rounded",
|
||||||
title = "Plugin Manager",
|
title = "Plugin Manager",
|
||||||
title_pos = "center",
|
title_pos = "center",
|
||||||
},
|
},
|
||||||
|
rocks = {
|
||||||
|
enabled = false
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
require("lazy").setup(plugin_specs, lazy_opts)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user