dotfiles/.config/nvim/lua/core/plugins.lua

237 lines
5.2 KiB
Lua
Raw Normal View History

2023-04-03 09:19:12 -04:00
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,
})
2022-10-21 06:15:28 -04:00
end
2023-04-03 09:19:12 -04:00
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{
"lewis6991/impatient.nvim",
config = function() require('impatient') end
},
2023-04-03 09:19:12 -04:00
{
"neanias/everforest-nvim",
2023-04-03 09:19:12 -04:00
config = function()
vim.cmd.colorscheme "everforest"
require("everforest").setup()
2023-04-03 09:19:12 -04:00
end
},
2024-01-02 12:50:00 -05:00
-- { "gbprod/nord.nvim" }
-- { "rebelot/kanagawa.nvim" }
-- { "ellisonleao/gruvbox.nvim" }
-- { "ray-x/aurora" }
-- {"catppuccin/nvim"}
-- {"tiagovla/tokyodark.nvim"}
-- {'Everblush/everblush.nvim'}
-- {"frenzyexists/aquarium-vim"}
-- {"rebelot/kanagawa.nvim"}
-- {"projekt0n/github-nvim-theme"}
-- {"Mofiqul/vscode.nvim"}
2023-04-03 09:19:12 -04:00
{
"kyazdani42/nvim-tree.lua",
dependencies = { "kyazdani42/nvim-web-devicons" },
config = function() require("plugins.nvim-tree") end
},
{
"rcarriga/nvim-notify",
config = function()
require("notify").setup({
on_open = function(win)
vim.api.nvim_win_set_config(win,{focusable = false})
end,
})
end
},
2024-01-02 12:50:00 -05:00
{
"norcalli/nvim-colorizer.lua",
opts = {},
},
2023-04-03 09:19:12 -04:00
{
"lewis6991/gitsigns.nvim",
opts = {
signs = {
add = { text = '+' },
change = { text = '~' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
2023-03-12 16:09:11 -04:00
},
}
2023-04-03 09:19:12 -04:00
},
2022-10-21 06:15:28 -04:00
2023-04-03 09:19:12 -04:00
{ "windwp/nvim-autopairs", opts = {} },
2024-01-02 12:50:00 -05:00
-- {
-- "lukas-reineke/indent-blankline.nvim",
-- main = "ibl",
-- opts = {
-- -- indent = { highlight = {"CursorColumn", "Whitespace"}},
-- -- whitespace = {
-- -- highlight = highlight,
-- -- remove_blankline_trail = false,
-- -- },
-- -- scope = { enabled = false },
-- }
-- },
2023-04-03 09:19:12 -04:00
{
"numToStr/Comment.nvim",
opts = {}
},
{
"folke/todo-comments.nvim",
dependencies = "nvim-lua/plenary.nvim",
opts = {}
},
{
"nvim-treesitter/nvim-treesitter",
dependencies = {
"nvim-treesitter/playground",
"nvim-treesitter/nvim-treesitter-textobjects",
},
build = function() vim.cmd("TSUpdate") end,
config = function() require("plugins.treesitter") end
},
{
"nvim-telescope/telescope.nvim",
dependencies = {"nvim-lua/plenary.nvim"},
config = function() require("plugins.telescope") end
},
-- Language Server Protocol
{
"neovim/nvim-lspconfig",
dependencies = {
{"williamboman/mason.nvim", opts},
"williamboman/mason-lspconfig.nvim",
2023-08-14 19:28:08 -04:00
{"j-hui/fidget.nvim",
tag = "legacy",
opts = {}
}
2023-04-03 09:19:12 -04:00
},
config = function()
require("lsp")
require("mason").setup()
end
},
{
"hrsh7th/nvim-cmp",
2023-05-14 05:06:12 -04:00
-- load cmp on InsertEnter
event = "InsertEnter",
-- these dependencies will only be loaded when cmp loads
-- dependencies are always lazy-loaded unless specified otherwise
2023-04-03 09:19:12 -04:00
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
"hrsh7th/cmp-buffer",
"saadparwaiz1/cmp_luasnip",
"hrsh7th/cmp-calc",
"hrsh7th/cmp-emoji",
"hrsh7th/cmp-cmdline",
},
config = function() require("plugins.cmp") end
},
{
"onsails/lspkind-nvim",
config = function()
require("lspkind").init{
mode = 'symbol_text',
preset = 'codicons',
2022-10-21 06:15:28 -04:00
2023-04-03 09:19:12 -04:00
symbol_map = {
2023-07-10 06:53:13 -04:00
Text = "󰉿",
Method = "󰆧",
Function = "󰊕",
2023-04-03 09:19:12 -04:00
Constructor = "",
2023-07-10 06:53:13 -04:00
Field = "󰜢",
Variable = "󰀫",
Class = "󰠱",
2023-04-03 09:19:12 -04:00
Interface = "",
Module = "",
2023-07-10 06:53:13 -04:00
Property = "󰜢",
Unit = "󰑭",
Value = "󰎠",
2023-04-03 09:19:12 -04:00
Enum = "",
2023-07-10 06:53:13 -04:00
Keyword = "󰌋",
2023-04-03 09:19:12 -04:00
Snippet = "",
2023-07-10 06:53:13 -04:00
Color = "󰏘",
File = "󰈙",
Reference = "󰈇",
Folder = "󰉋",
2023-04-03 09:19:12 -04:00
EnumMember = "",
2023-07-10 06:53:13 -04:00
Constant = "󰏿",
Struct = "󰙅",
2023-04-03 09:19:12 -04:00
Event = "",
2023-07-10 06:53:13 -04:00
Operator = "󰆕",
TypeParameter = "",
},
2023-04-03 09:19:12 -04:00
}
end
},
2023-07-10 06:53:13 -04:00
{
"folke/which-key.nvim",
opts = {}, lazy = true,
config = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
require("which-key").setup()
end
},
2022-10-21 06:15:28 -04:00
2023-04-03 09:19:12 -04:00
{
"L3MON4D3/LuaSnip",
dependencies = {"rafamadriz/friendly-snippets"},
config = function() require("plugins.luasnip") end
},
{
"jose-elias-alvarez/null-ls.nvim",
config = function() require("plugins.null-ls") end
},
{
"SmiteshP/nvim-navic",
dependencies = {"neovim/nvim-lspconfig"},
config = function()
local navic = require("nvim-navic")
navic.setup {
highlight = false,
separator = " > ",
depth_limit = 0.01,
depth_limit_indicator = "..",
safe_output = true
}
end,
},
-- Debug Adapter Protocol
{
"mfussenegger/nvim-dap",
dependencies = {
"arywz11/DAPInstall.nvim",
"rcarriga/nvim-dap-ui"
2023-03-12 16:09:11 -04:00
},
2023-04-03 09:19:12 -04:00
config = function() require("plugins.dap") end,
2023-03-12 16:09:11 -04:00
}
2023-04-03 09:19:12 -04:00
})