mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-16 12:24:40 +02:00
formatting
This commit is contained in:
parent
6ed2437edb
commit
c0dba81c2e
1 changed files with 93 additions and 93 deletions
|
@ -1,12 +1,10 @@
|
|||
|
||||
|
||||
local execute = vim.api.nvim_command
|
||||
local fn = vim.fn
|
||||
|
||||
local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
|
||||
local install_path = fn.stdpath('data') .. '/site/pack/packer/opt/packer.nvim'
|
||||
|
||||
if fn.empty(fn.glob(install_path)) > 0 then
|
||||
execute('!git clone https://github.com/wbthomason/packer.nvim '..install_path)
|
||||
execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path)
|
||||
execute 'packadd packer.nvim'
|
||||
end
|
||||
|
||||
|
@ -14,7 +12,6 @@ vim.cmd [[packadd packer.nvim]]
|
|||
|
||||
vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
|
||||
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
-- Packer can manage itself as an optional plugin
|
||||
use {'wbthomason/packer.nvim', opt = true}
|
||||
|
@ -49,9 +46,8 @@ return require('packer').startup(function(use)
|
|||
-- use 'SirVer/ultisnips'
|
||||
-- use 'norcalli/snippets.nvim'
|
||||
|
||||
|
||||
-- Treesitter
|
||||
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
|
||||
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
|
||||
use 'nvim-treesitter/playground'
|
||||
use 'p00f/nvim-ts-rainbow'
|
||||
|
||||
|
@ -73,14 +69,13 @@ return require('packer').startup(function(use)
|
|||
-- Explorer
|
||||
use 'kyazdani42/nvim-tree.lua'
|
||||
|
||||
|
||||
-- Color
|
||||
use 'christianchiarulli/nvcode-color-schemes.vim'
|
||||
use 'norcalli/nvim-colorizer.lua'
|
||||
|
||||
-- Git
|
||||
use 'TimUntersberger/neogit'
|
||||
use {'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' } }
|
||||
use {'lewis6991/gitsigns.nvim', requires = {'nvim-lua/plenary.nvim'}}
|
||||
use 'f-person/git-blame.nvim'
|
||||
use 'tpope/vim-fugitive'
|
||||
use 'tpope/vim-rhubarb'
|
||||
|
@ -98,12 +93,17 @@ return require('packer').startup(function(use)
|
|||
use 'mhinz/vim-startify'
|
||||
use 'metakirby5/codi.vim'
|
||||
use 'psliwka/vim-smoothie'
|
||||
use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install' }
|
||||
use {'iamcco/markdown-preview.nvim', run = 'cd app && npm install'}
|
||||
use 'moll/vim-bbye'
|
||||
use 'turbio/bracey.vim'
|
||||
use 'AndrewRadev/tagalong.vim'
|
||||
use 'alvan/vim-closetag'
|
||||
use { 'glacambre/firenvim', run = function() vim.fn['firenvim#install'](1) end }
|
||||
use {
|
||||
'glacambre/firenvim',
|
||||
run = function()
|
||||
vim.fn['firenvim#install'](1)
|
||||
end
|
||||
}
|
||||
use 'liuchengxu/vim-which-key'
|
||||
use 'voldikss/vim-floaterm'
|
||||
use 'liuchengxu/vista.vim'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue