Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update lazy.nvim config #287

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)