123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- return {
- -- Packer can manage itself as an optional plugin
- { "wbthomason/packer.nvim" },
- { "neovim/nvim-lspconfig" },
- { "tamago324/nlsp-settings.nvim" },
- { "jose-elias-alvarez/null-ls.nvim" },
- { "antoinemadec/FixCursorHold.nvim" }, -- Needed while issue https://github.com/neovim/neovim/issues/12587 is still open
- {
- "kabouzeid/nvim-lspinstall",
- event = "VimEnter",
- config = function()
- local lspinstall = require "core.lspinstall"
- lspinstall.setup()
- end,
- },
- { "nvim-lua/popup.nvim" },
- { "nvim-lua/plenary.nvim" },
- -- Telescope
- {
- "nvim-telescope/telescope.nvim",
- config = function()
- require("core.telescope").setup()
- end,
- disable = not lvim.builtin.telescope.active,
- },
- -- Completion & Snippets
- {
- "hrsh7th/nvim-compe",
- event = "InsertEnter",
- config = function()
- require("core.compe").setup()
- end,
- disable = not lvim.builtin.compe.active,
- -- wants = "vim-vsnip",
- -- requires = {
- -- {
- -- "hrsh7th/vim-vsnip",
- -- wants = "friendly-snippets",
- -- event = "InsertCharPre",
- -- },
- -- {
- -- "rafamadriz/friendly-snippets",
- -- event = "InsertCharPre",
- -- },
- -- },
- },
- {
- "hrsh7th/vim-vsnip",
- -- wants = "friendly-snippets",
- event = "InsertEnter",
- disable = not lvim.builtin.compe.active,
- },
- {
- "rafamadriz/friendly-snippets",
- event = "InsertCharPre",
- disable = not lvim.builtin.compe.active,
- },
- -- Autopairs
- {
- "windwp/nvim-autopairs",
- -- event = "InsertEnter",
- after = "nvim-compe",
- config = function()
- require("core.autopairs").setup()
- end,
- disable = not lvim.builtin.autopairs.active or not lvim.builtin.compe.active,
- },
- -- Treesitter
- {
- "nvim-treesitter/nvim-treesitter",
- branch = "0.5-compat",
- -- run = ":TSUpdate",
- config = function()
- require("core.treesitter").setup()
- end,
- },
- -- NvimTree
- {
- "kyazdani42/nvim-tree.lua",
- -- event = "BufWinOpen",
- -- cmd = "NvimTreeToggle",
- -- commit = "fd7f60e242205ea9efc9649101c81a07d5f458bb",
- config = function()
- require("core.nvimtree").setup()
- end,
- disable = not lvim.builtin.nvimtree.active,
- },
- {
- "lewis6991/gitsigns.nvim",
- config = function()
- require("core.gitsigns").setup()
- end,
- event = "BufRead",
- disable = not lvim.builtin.gitsigns.active,
- },
- -- Whichkey
- {
- "folke/which-key.nvim",
- config = function()
- require("core.which-key").setup()
- end,
- event = "BufWinEnter",
- disable = not lvim.builtin.which_key.active,
- },
- -- Comments
- {
- "terrortylor/nvim-comment",
- event = "BufRead",
- config = function()
- require("core.comment").setup()
- end,
- disable = not lvim.builtin.comment.active,
- },
- -- project.nvim
- {
- "ahmedkhalf/project.nvim",
- config = function()
- require("core.project").setup()
- end,
- disable = not lvim.builtin.project.active,
- },
- -- Icons
- { "kyazdani42/nvim-web-devicons" },
- -- Status Line and Bufferline
- {
- -- "hoob3rt/lualine.nvim",
- "shadmansaleh/lualine.nvim",
- -- "Lunarvim/lualine.nvim",
- config = function()
- require("core.lualine").setup()
- end,
- disable = not lvim.builtin.lualine.active,
- },
- {
- "romgrk/barbar.nvim",
- config = function()
- require("core.bufferline").setup()
- end,
- event = "BufWinEnter",
- disable = not lvim.builtin.bufferline.active,
- },
- -- Debugging
- {
- "mfussenegger/nvim-dap",
- -- event = "BufWinEnter",
- config = function()
- require("core.dap").setup()
- end,
- disable = not lvim.builtin.dap.active,
- },
- -- Debugger management
- {
- "Pocco81/DAPInstall.nvim",
- -- event = "BufWinEnter",
- -- event = "BufRead",
- disable = not lvim.builtin.dap.active,
- },
- -- Dashboard
- {
- "ChristianChiarulli/dashboard-nvim",
- event = "BufWinEnter",
- config = function()
- require("core.dashboard").setup()
- end,
- disable = not lvim.builtin.dashboard.active,
- },
- -- Terminal
- {
- "akinsho/toggleterm.nvim",
- event = "BufWinEnter",
- config = function()
- require("core.terminal").setup()
- end,
- disable = not lvim.builtin.terminal.active,
- },
- }
|