summaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-15 22:04:54 -0400
committerChris <[email protected]>2021-03-15 22:04:54 -0400
commitf7f7c45ad92b2aefcf7c2c450928fcee97cc15f8 (patch)
tree1cdab7d561a974a33377e9f0ceef700e397c30b8 /lua/plugins.lua
parentaead245f12be3a4ca6e38cec3f8b46fa05cdea0f (diff)
udpates
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua13
1 files changed, 10 insertions, 3 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 859e190f..66056c30 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -1,7 +1,7 @@
local execute = vim.api.nvim_command
local fn = vim.fn
-local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
+local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
@@ -9,6 +9,8 @@ if fn.empty(fn.glob(install_path)) > 0 then
execute 'packadd packer.nvim'
end
+-- vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
+
return require('packer').startup(function()
-- Packer can manage itself as an optional plugin
@@ -33,9 +35,13 @@ return require('packer').startup(function()
-- Autocomplete
use 'hrsh7th/nvim-compe'
use 'hrsh7th/vim-vsnip'
- use 'hrsh7th/vim-vsnip-integ'
+ use 'honza/vim-snippets'
+ -- use 'cstrap/python-snippets'
+ -- use 'ylcnfrht/vscode-python-snippet-pack'
+ -- use 'xabikos/vscode-javascript'
+ -- use 'golang/vscode-go'
+ -- use 'rust-lang/vscode-rust'
-- use 'SirVer/ultisnips'
- -- use 'honza/vim-snippets'
-- use 'norcalli/snippets.nvim'
@@ -97,4 +103,5 @@ return require('packer').startup(function()
use 'voldikss/vim-floaterm'
use 'phaazon/hop.nvim'
use 'liuchengxu/vista.vim'
+ use { 'npxbr/glow.nvim', run = ':GlowInstall' }
end)