131 lines
2.5 KiB
Lua
131 lines
2.5 KiB
Lua
-- bootstrap lazy.nvim
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
vim.fn.system({
|
|
"git",
|
|
"clone",
|
|
"--filter=blob:none",
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
"--branch=stable", -- latest stable release
|
|
lazypath,
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
|
|
|
require("lazy").setup({
|
|
"folke/lazy.nvim",
|
|
{
|
|
"catppuccin/nvim",
|
|
name = "catppuccin",
|
|
config = function()
|
|
require("colours")
|
|
end,
|
|
priority = 1000,
|
|
},
|
|
"stevearc/dressing.nvim",
|
|
{
|
|
"feline-nvim/feline.nvim",
|
|
config = function()
|
|
require("config.feline")
|
|
end,
|
|
},
|
|
{
|
|
"rcarriga/nvim-notify",
|
|
config = function()
|
|
require("notify").setup({
|
|
background_colour = "#000000",
|
|
})
|
|
vim.notify = require("notify")
|
|
end,
|
|
},
|
|
"nvim-lua/plenary.nvim",
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
dependencies = {
|
|
{ "hrsh7th/nvim-cmp" },
|
|
{ "hrsh7th/cmp-nvim-lsp" },
|
|
{ "hrsh7th/cmp-buffer" },
|
|
{ "hrsh7th/cmp-path" },
|
|
{ "hrsh7th/cmp-cmdline" },
|
|
{ "f3fora/cmp-spell" },
|
|
{ "petertriho/cmp-git" },
|
|
{ "Dosx001/cmp-commit" },
|
|
{ "kdheepak/cmp-latex-symbols" },
|
|
{ "L3MON4D3/LuaSnip" },
|
|
{ "saadparwaiz1/cmp_luasnip" },
|
|
{ "rafamadriz/friendly-snippets" },
|
|
{ "windwp/nvim-autopairs" },
|
|
{ "jose-elias-alvarez/null-ls.nvim" },
|
|
},
|
|
config = function()
|
|
require("config.lsp")
|
|
require("config.cmp")
|
|
end,
|
|
},
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
config = function()
|
|
require("config.treesitter")
|
|
end,
|
|
},
|
|
{
|
|
"lewis6991/gitsigns.nvim",
|
|
config = function()
|
|
require("config.gitsigns")
|
|
end,
|
|
},
|
|
{
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
branch = "v2.x",
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
config = function()
|
|
require("config.neotree")
|
|
end,
|
|
},
|
|
{
|
|
"nvim-telescope/telescope.nvim",
|
|
branch = "0.1.x",
|
|
dependencies = {
|
|
{ "nvim-lua/plenary.nvim" },
|
|
{
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
build = "make",
|
|
},
|
|
},
|
|
config = function()
|
|
require("config.telescope")
|
|
end,
|
|
},
|
|
{
|
|
"folke/trouble.nvim",
|
|
dependencies = "nvim-tree/nvim-web-devicons",
|
|
config = function()
|
|
require("config.trouble")
|
|
end,
|
|
},
|
|
{
|
|
"lukas-reineke/indent-blankline.nvim",
|
|
config = function()
|
|
require("config.indent_blankline")
|
|
end,
|
|
},
|
|
{
|
|
"numToStr/Navigator.nvim",
|
|
config = function()
|
|
require("Navigator").setup()
|
|
end,
|
|
},
|
|
{
|
|
"klen/nvim-test",
|
|
config = function()
|
|
require("config.nvim-test")
|
|
end,
|
|
},
|
|
})
|