mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-12 18:34:41 +02:00
udpates
This commit is contained in:
parent
aead245f12
commit
f7f7c45ad9
2 changed files with 12 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue