Skip to content

Commit 134a998

Browse files
authored
Update packer.lua
1 parent eaddd64 commit 134a998

File tree

1 file changed

+62
-48
lines changed

1 file changed

+62
-48
lines changed

lua/theprimeagen/packer.lua

Lines changed: 62 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,80 @@
1-
--This file can be loaded by calling `lua require('plugins')` from your init.vim
1+
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
22

33
-- Only required if you have packer configured as `opt`
4-
vim.cmd [[packadd packer.nvim]]
4+
vim.cmd.packadd('packer.nvim')
55

66
return require('packer').startup(function(use)
77
-- Packer can manage itself
88
use 'wbthomason/packer.nvim'
99

10-
1110
use {
12-
'nvim-telescope/telescope.nvim', tag = '0.1.1',
13-
-- or , branch = '0.1.x',
14-
requires = { {'nvim-lua/plenary.nvim'} }
11+
'nvim-telescope/telescope.nvim', tag = '0.1.0',
12+
-- or , branch = '0.1.x',
13+
requires = { {'nvim-lua/plenary.nvim'} }
1514
}
1615

17-
use ({
18-
'rose-pine/neovim',
19-
as = 'rose-pine',
20-
config = function()
21-
vim.cmd('colorscheme rose-pine')
22-
end
23-
})
24-
25-
use('nvim-treesitter/nvim-treesitter', {run: ':TSUpdate'})
26-
end)
16+
use({
17+
'rose-pine/neovim',
18+
as = 'rose-pine',
19+
config = function()
20+
vim.cmd('colorscheme rose-pine')
21+
end
22+
})
2723

24+
use({
25+
"folke/trouble.nvim",
26+
config = function()
27+
require("trouble").setup {
28+
icons = false,
29+
-- your configuration comes here
30+
-- or leave it empty to use the default settings
31+
-- refer to the configuration section below
32+
}
33+
end
34+
})
2835

29-
use("nvim-treesitter/playground")
30-
use("theprimeagen/harpoon")
31-
use("theprimeagen/refactoring.nvim")
32-
use("mbbill/undotree")
33-
-- TabNine
34-
use('codota/tabnine-nvim')
35-
use("tpope/vim-fugitive")
36-
use("nvim-treesitter/nvim-treesitter-context");
36+
use {
37+
'nvim-treesitter/nvim-treesitter',
38+
run = function()
39+
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
40+
ts_update()
41+
end,}
42+
use("nvim-treesitter/playground")
43+
use("theprimeagen/harpoon")
44+
use("ThePrimeagen/vim-be-good")
45+
use("theprimeagen/refactoring.nvim")
46+
use("mbbill/undotree")
47+
use("tpope/vim-fugitive")
48+
use("nvim-treesitter/nvim-treesitter-context");
3749

38-
use {
39-
'VonHeikemen/lsp-zero.nvim',
40-
branch = 'v1.x',
41-
requires = {
42-
-- LSP Support
43-
{'neovim/nvim-lspconfig'},
44-
{'williamboman/mason.nvim'},
45-
{'williamboman/mason-lspconfig.nvim'},
50+
use {
51+
'VonHeikemen/lsp-zero.nvim',
52+
branch = 'v1.x',
53+
requires = {
54+
-- LSP Support
55+
{'neovim/nvim-lspconfig'},
56+
{'williamboman/mason.nvim'},
57+
{'williamboman/mason-lspconfig.nvim'},
4658

47-
-- Autocompletion
48-
{'hrsh7th/nvim-cmp'},
49-
{'hrsh7th/cmp-buffer'},
50-
{'hrsh7th/cmp-path'},
51-
{'saadparwaiz1/cmp_luasnip'},
52-
{'hrsh7th/cmp-nvim-lsp'},
53-
{'codota/tabnine-nvim'},
59+
-- Autocompletion
60+
{'hrsh7th/nvim-cmp'},
61+
{'hrsh7th/cmp-buffer'},
62+
{'hrsh7th/cmp-path'},
63+
{'saadparwaiz1/cmp_luasnip'},
64+
{'hrsh7th/cmp-nvim-lsp'},
65+
{'hrsh7th/cmp-nvim-lua'},
5466

55-
-- Snippets
56-
{'L3MON4D3/LuaSnip'},
57-
{'rafamadriz/friendly-snippets'},
58-
}
59-
}
67+
-- Snippets
68+
{'L3MON4D3/LuaSnip'},
69+
{'rafamadriz/friendly-snippets'},
70+
}
71+
}
6072

61-
use("folke/zen-mode.nvim")
62-
--use("github/copilot.vim")
63-
use("eandrju/cellular-automaton.nvim")
64-
use("laytan/cloak.nvim")
73+
use("folke/zen-mode.nvim")
74+
-- use("github/copilot.vim")
75+
-- TabNine
76+
use('codota/tabnine-nvim')
77+
use("eandrju/cellular-automaton.nvim")
78+
use("laytan/cloak.nvim")
6579

6680
end)

0 commit comments

Comments
 (0)