56 lines
1.5 KiB
Lua
56 lines
1.5 KiB
Lua
vim.cmd [[packadd packer.nvim]]
|
|
|
|
return require('packer').startup(function(use)
|
|
-- Packer can manage itself
|
|
use 'wbthomason/packer.nvim'
|
|
|
|
use {
|
|
'nvim-telescope/telescope.nvim', tag = '0.1.0',
|
|
-- or , branch = '0.1.x',
|
|
requires = { {'nvim-lua/plenary.nvim'} }
|
|
}
|
|
|
|
use { -- Theme inspired by Atom
|
|
'navarasu/onedark.nvim',
|
|
priority = 1000,
|
|
config = function()
|
|
vim.cmd.colorscheme 'onedark'
|
|
end
|
|
}
|
|
|
|
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
|
|
use('theprimeagen/harpoon')
|
|
use("mbbill/undotree")
|
|
use("tpope/vim-fugitive")
|
|
|
|
use {
|
|
"windwp/nvim-autopairs",
|
|
config = function() require("nvim-autopairs").setup {} end
|
|
}
|
|
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
branch = 'v1.x',
|
|
requires = {
|
|
-- LSP Support
|
|
{'neovim/nvim-lspconfig'},
|
|
{'williamboman/mason.nvim'},
|
|
{'williamboman/mason-lspconfig.nvim'},
|
|
|
|
-- Autocompletion
|
|
{'hrsh7th/nvim-cmp'},
|
|
{'hrsh7th/cmp-buffer'},
|
|
{'hrsh7th/cmp-path'},
|
|
{'saadparwaiz1/cmp_luasnip'},
|
|
{'hrsh7th/cmp-nvim-lsp'},
|
|
{'hrsh7th/cmp-nvim-lua'},
|
|
|
|
-- Snippets
|
|
{'L3MON4D3/LuaSnip'},
|
|
{'rafamadriz/friendly-snippets'},
|
|
}
|
|
}
|
|
|
|
-- Debugger
|
|
use { "rcarriga/nvim-dap-ui", requires = {"mfussenegger/nvim-dap"} }
|
|
end) |