mirror of https://github.com/E-Almqvist/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
53 lines
1.7 KiB
2 years ago
|
vim.cmd [[packadd packer.nvim]]
|
||
|
|
||
|
return require("packer").startup(function(use)
|
||
|
-- Core
|
||
|
use "wbthomason/packer.nvim"
|
||
|
use("nvim-treesitter/nvim-treesitter", { run = ":TSUpdate" })
|
||
|
use {
|
||
|
"nvim-telescope/telescope.nvim", tag = "0.1.1",
|
||
|
requires = { { "nvim-lua/plenary.nvim" } }
|
||
|
}
|
||
|
use {
|
||
|
"numToStr/Comment.nvim",
|
||
|
config = function()
|
||
|
require("Comment").setup()
|
||
|
end
|
||
|
}
|
||
|
|
||
|
-- Themes
|
||
|
use "savq/melange-nvim"
|
||
|
use "chriskempson/base16-vim"
|
||
|
|
||
|
-- LSP
|
||
|
use {
|
||
|
"VonHeikemen/lsp-zero.nvim",
|
||
|
branch = "v2.x",
|
||
|
requires = {
|
||
|
-- LSP Support
|
||
|
{ "neovim/nvim-lspconfig" }, -- Required
|
||
|
{
|
||
|
-- Optional
|
||
|
"williamboman/mason.nvim",
|
||
|
run = function()
|
||
|
pcall(vim.cmd, "MasonUpdate")
|
||
|
end,
|
||
|
},
|
||
|
{ "williamboman/mason-lspconfig.nvim" }, -- Optional
|
||
|
|
||
|
-- Autocompletion
|
||
|
{ "hrsh7th/nvim-cmp" }, -- Required
|
||
|
{ "hrsh7th/cmp-nvim-lsp" }, -- Required
|
||
|
{ "L3MON4D3/LuaSnip" }, -- Required
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-- Misc
|
||
|
-- use "vimsence/vimsence"
|
||
|
use "andweeb/presence.nvim"
|
||
|
use {
|
||
|
'nvim-lualine/lualine.nvim',
|
||
|
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
|
||
|
}
|
||
|
end)
|