61 lines
1.5 KiB
Lua
61 lines
1.5 KiB
Lua
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
|
|
|
-- Only required if you have packer configured as `opt`
|
|
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.5',
|
|
-- or , branch = '0.1.x',
|
|
requires = { {'nvim-lua/plenary.nvim'} }
|
|
}
|
|
|
|
|
|
-- Using Packer
|
|
use 'navarasu/onedark.nvim'
|
|
|
|
use({'nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}})
|
|
|
|
use 'mbbill/undotree'
|
|
use 'tpope/vim-fugitive'
|
|
|
|
use {
|
|
'VonHeikemen/lsp-zero.nvim',
|
|
branch = 'v3.x',
|
|
requires = {
|
|
--- Uncomment the two plugins below if you want to manage the language servers from neovim
|
|
-- {'williamboman/mason.nvim'},
|
|
-- {'williamboman/mason-lspconfig.nvim'},
|
|
|
|
-- LSP Support
|
|
{'neovim/nvim-lspconfig'},
|
|
-- Autocompletion
|
|
{'hrsh7th/nvim-cmp'},
|
|
{'hrsh7th/cmp-nvim-lsp'},
|
|
{'L3MON4D3/LuaSnip'},
|
|
}
|
|
}
|
|
use {"akinsho/toggleterm.nvim", tag = '*', config = function()
|
|
require("toggleterm").setup()
|
|
end}
|
|
|
|
use {
|
|
"williamboman/mason.nvim",
|
|
"williamboman/mason-lspconfig.nvim",
|
|
"neovim/nvim-lspconfig",
|
|
}
|
|
use({
|
|
"epwalsh/obsidian.nvim",
|
|
tag = "*", -- recommended, use latest release instead of latest commit
|
|
requires = {
|
|
-- Required.
|
|
"nvim-lua/plenary.nvim",
|
|
"hrsh7th/nvim-cmp"
|
|
},
|
|
})
|
|
end)
|
|
|