nvim: Format plugins file

This commit is contained in:
Marty Oehme 2023-01-16 18:53:56 +01:00
parent 565a356ea8
commit 50264c2eac
Signed by: Marty
GPG Key ID: 73BA40D5AFAF49C9
1 changed files with 26 additions and 25 deletions

View File

@ -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)