Skip to content

Commit

Permalink
update lazy.nvim config
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhao committed Jul 31, 2024
1 parent 6e137fe commit 9efadac
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions lua/plugin_specs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -323,7 +323,7 @@ local plugin_specs = {
{ "rhysd/committia.vim", lazy = true },

{
"sindrets/diffview.nvim"
"sindrets/diffview.nvim",
},

{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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)

0 comments on commit 9efadac

Please sign in to comment.