dotfiles/nvim/lua/plugins/init.lua

61 lines
1.1 KiB
Lua

return require('packer').startup{function(use)
use 'wbthomason/packer.nvim'
use 'nvim-lua/plenary.nvim'
use 'neovim/nvim-lspconfig'
use 'bluz71/vim-moonfly-colors'
use {
'hrsh7th/nvim-cmp',
requires = {
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'hrsh7th/cmp-vsnip',
'hrsh7th/vim-vsnip',
},
config = function()
require 'plugins.cmp'
end
}
use {
'nvim-lualine/lualine.nvim',
config = function()
require 'plugins.lualine'
end
}
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
config = function()
require 'plugins.treesitter'
end
}
use {
'nvim-telescope/telescope.nvim',
config = function()
require 'plugins.telescope'
end
}
use {
'nvim-tree/nvim-tree.lua',
requires = {
'nvim-tree/nvim-web-devicons',
},
config = function()
require 'plugins.tree'
end
}
use {
"stevearc/conform.nvim",
config = function()
require("conform").setup()
end,
}
if packer_bootstrap then
require('packer').sync()
end
end,
config = {
-- The root has to be a directory named "pack"
package_root = vim.fn.stdpath('config') .. '/pack',
}}