converted from packer to lazy

This commit is contained in:
Mike G 2024-09-13 21:41:37 -04:00
parent 8c70ffcc1f
commit 7b6c664ceb
14 changed files with 137 additions and 96 deletions

View file

@ -0,0 +1,8 @@
return {
'numToStr/Comment.nvim',
-- opts = {}
config = function()
require('Comment').setup()
end,
}

View file

@ -0,0 +1,9 @@
return {
"uga-rosa/ccc.nvim",
opts = {
highlighter = {
auto_enable = true,
lsp = false,
},
}
}

View file

@ -0,0 +1,12 @@
return {
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require('lualine').setup({
options = {
theme = 'nord',
},
})
end,
}

View file

@ -0,0 +1,25 @@
return {
"neovim/nvim-lspconfig",
dependencies = {
"williamboman/mason.nvim",
},
config = function()
local lspconfig = require("lspconfig")
local mason = require("mason")
mason.setup({
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
}
})
lspconfig.rust_analyzer.setup({})
end,
}

View file

@ -0,0 +1,7 @@
return {
'windwp/nvim-autopairs',
event = "InsertEnter",
config = true
-- use opts = {} for passing setup options
-- this is equivalent to setup({}) function
}

View file

@ -0,0 +1,11 @@
return {
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
}

View file

@ -0,0 +1,5 @@
return {
'nvim-telescope/telescope.nvim', tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' }
}

View file

@ -0,0 +1,14 @@
return {
-- the colorscheme should be available when starting neovim
{
--"folke/tokyonight.nvim",
"shaunsingh/nord.nvim",
lazy = false, -- make sure we load this during the startup if its your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
-- load the colorscheme here
--vim.cmd([[colorscheme tokyonight]])
vim.cmd([[colorscheme nord]])
end,
}
}

View file

@ -0,0 +1,7 @@
return {
'nvim-treesitter/nvim-treesitter',
configure = function()
require('nvim-treesitter').setup()
end,
}