nvim: Format plugins file
This commit is contained in:
parent
565a356ea8
commit
50264c2eac
1 changed files with 26 additions and 25 deletions
|
@ -1,8 +1,12 @@
|
|||
local ensure_packer = function()
|
||||
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/start/packer.nvim'
|
||||
if fn.empty(fn.glob(install_path)) > 0 then
|
||||
fn.system({ 'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path })
|
||||
fn.system({
|
||||
'git', 'clone', '--depth', '1',
|
||||
'https://github.com/wbthomason/packer.nvim', install_path
|
||||
})
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
return true
|
||||
end
|
||||
|
@ -233,7 +237,6 @@ require("packer").startup(function()
|
|||
'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-vsnip', 'hrsh7th/cmp-nvim-lua',
|
||||
'kdheepak/cmp-latex-symbols', 'ray-x/cmp-treesitter',
|
||||
'f3fora/cmp-spell', 'cbarrete/completion-vcard'
|
||||
|
||||
}
|
||||
}
|
||||
use {
|
||||
|
@ -244,7 +247,5 @@ require("packer").startup(function()
|
|||
|
||||
-- Automatically set up your configuration after cloning packer.nvim
|
||||
-- Put this at the end after all plugins
|
||||
if packer_bootstrap then
|
||||
require('packer').sync()
|
||||
end
|
||||
if packer_bootstrap then require('packer').sync() end
|
||||
end)
|
||||
|
|
Loading…
Reference in a new issue