local function bootstrap_pckr() local pckr_path = vim.fn.stdpath("data") .. "/pckr/pckr.nvim" if not vim.uv.fs_stat(pckr_path) then vim.fn.system({ 'git', 'clone', "--filter=blob:none", 'https://github.com/lewis6991/pckr.nvim', pckr_path }) end vim.opt.rtp:prepend(pckr_path) end bootstrap_pckr() require('pckr').add{ { "tpope/vim-fugitive", config = function() require('config.fugitive') end }, { "ctrlpvim/ctrlp.vim", config_pre = function() require('config.ctrlp') end }, "tpope/vim-commentary", { "preservim/nerdtree", config = function() require('config.nerdtree') end }, "jiangmiao/auto-pairs", "editorconfig/editorconfig-vim", { "marko-cerovac/material.nvim", config = function() vim.cmd("colorscheme material") -- color material nmap("c", [[lua require('material.functions').toggle_style()]]) end }, { 'hrsh7th/nvim-cmp', config = function() require('config.cmp') end }, { 'hrsh7th/cmp-nvim-lsp', requires = 'hrsh7th/nvim-cmp' }, { 'hrsh7th/cmp-buffer', requires = 'hrsh7th/nvim-cmp' }, { 'hrsh7th/cmp-path', requires = 'hrsh7th/nvim-cmp' }, { 'hrsh7th/cmp-cmdline', requires = 'hrsh7th/nvim-cmp' }, { "neovim/nvim-lspconfig", requires = 'hrsh7th/cmp-nvim-lsp', config = function() require('config.lspconfig') end }, { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate", config = function() require("config.treesitter") end }, -- Toggleable terminals { "akinsho/toggleterm.nvim", config = function() require('config.toggleterm') end }, -- { -- "ms-jpq/coq_nvim", -- config = "config.coq" -- }, "L3MON4D3/LuaSnip", "saadparwaiz1/cmp_luasnip", "godlygeek/tabular" } -- require('pckr').add({ -- use "wbthomason/packer.nvim" -- -- Improves boot times -- -- use {"lewis6991/impatient.nvim", rocks = 'mpack'} -- -- -- Fuzzy search engine -- use { -- "ctrlpvim/ctrlp.vim", -- setup = [[require('config.ctrlp')]] -- } -- -- -- Git client -- use { -- "tpope/vim-fugitive", -- config = [[require('config.fugitive')]] -- } -- -- -- Shortcuts for commenting out code -- use "tpope/vim-commentary" -- -- -- Shortcuts for surrounding pieces of text -- use "tpope/vim-surround" -- -- -- Shows ctags in a sidebar -- use { -- "majutsushi/tagbar", -- config = [[require('config.tagbar')]] -- } -- -- -- Shows git diff markers -- use { -- "airblade/vim-gitgutter", -- config = [[require('config.gitgutter')]] -- } -- -- use "hynek/vim-python-pep8-indent" -- use "michaeljsmith/vim-indent-object" -- -- -- File explorer -- use { -- "preservim/nerdtree", -- config = [[require('config.nerdtree')]] -- } -- -- use "jiangmiao/auto-pairs" -- -- -- Align text -- use "godlygeek/tabular" -- -- -- Automatically load a .editorconfig file if found -- use "editorconfig/editorconfig-vim" -- -- -- Pre-configured LSP stuff -- use { -- "neovim/nvim-lspconfig", -- config = [[require('config.lspconfig')]] -- } -- -- -- Beautiful treesitter-compatible theme -- use { -- "marko-cerovac/material.nvim", -- config = function() -- vim.cmd("colorscheme material") -- -- color material -- nmap("c", [[lua require('material.functions').toggle_style()]]) -- end -- } -- -- use 'hrsh7th/cmp-nvim-lsp' -- use 'hrsh7th/cmp-buffer' -- use 'hrsh7th/cmp-path' -- use 'hrsh7th/cmp-cmdline' -- use { -- 'hrsh7th/nvim-cmp', -- config = [[require('config.cmp')]] -- } -- -- use 'L3MON4D3/LuaSnip' -- use 'saadparwaiz1/cmp_luasnip' -- -- -- -- Autocomplete engine -- -- use { -- -- "ms-jpq/coq_nvim", -- -- branch = "coq", -- -- config = [[require('config.coq')]] -- -- } -- -- -- Better syntax highlighting -- use { -- "nvim-treesitter/nvim-treesitter", -- run = ":TSUpdate", -- config = [[require('config.treesitter')]] -- } -- -- -- Toggleable terminals -- use { -- "akinsho/toggleterm.nvim", -- config = [[require('config.toggleterm')]] -- } -- -- -- LaTeX editing -- use "lervag/vimtex" -- -- -- Coq stuff for uni -- use "whonore/Coqtail" -- -- if packer_bootstrap then -- require('packer').sync() -- end -- end)