mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-19 10:15:01 +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 execute = vim.api.nvim_command
|
||||||
local fn = vim.fn
|
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
|
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'
|
execute 'packadd packer.nvim'
|
||||||
end
|
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
|
vim.cmd 'autocmd BufWritePost plugins.lua PackerCompile' -- Auto compile when there are changes in plugins.lua
|
||||||
|
|
||||||
|
|
||||||
return require('packer').startup(function(use)
|
return require('packer').startup(function(use)
|
||||||
-- Packer can manage itself as an optional plugin
|
-- Packer can manage itself as an optional plugin
|
||||||
use {'wbthomason/packer.nvim', opt = true}
|
use {'wbthomason/packer.nvim', opt = true}
|
||||||
|
@ -49,9 +46,8 @@ return require('packer').startup(function(use)
|
||||||
-- use 'SirVer/ultisnips'
|
-- use 'SirVer/ultisnips'
|
||||||
-- use 'norcalli/snippets.nvim'
|
-- use 'norcalli/snippets.nvim'
|
||||||
|
|
||||||
|
|
||||||
-- Treesitter
|
-- Treesitter
|
||||||
use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' }
|
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
|
||||||
use 'nvim-treesitter/playground'
|
use 'nvim-treesitter/playground'
|
||||||
use 'p00f/nvim-ts-rainbow'
|
use 'p00f/nvim-ts-rainbow'
|
||||||
|
|
||||||
|
@ -73,14 +69,13 @@ return require('packer').startup(function(use)
|
||||||
-- Explorer
|
-- Explorer
|
||||||
use 'kyazdani42/nvim-tree.lua'
|
use 'kyazdani42/nvim-tree.lua'
|
||||||
|
|
||||||
|
|
||||||
-- Color
|
-- Color
|
||||||
use 'christianchiarulli/nvcode-color-schemes.vim'
|
use 'christianchiarulli/nvcode-color-schemes.vim'
|
||||||
use 'norcalli/nvim-colorizer.lua'
|
use 'norcalli/nvim-colorizer.lua'
|
||||||
|
|
||||||
-- Git
|
-- Git
|
||||||
use 'TimUntersberger/neogit'
|
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 'f-person/git-blame.nvim'
|
||||||
use 'tpope/vim-fugitive'
|
use 'tpope/vim-fugitive'
|
||||||
use 'tpope/vim-rhubarb'
|
use 'tpope/vim-rhubarb'
|
||||||
|
@ -98,12 +93,17 @@ return require('packer').startup(function(use)
|
||||||
use 'mhinz/vim-startify'
|
use 'mhinz/vim-startify'
|
||||||
use 'metakirby5/codi.vim'
|
use 'metakirby5/codi.vim'
|
||||||
use 'psliwka/vim-smoothie'
|
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 'moll/vim-bbye'
|
||||||
use 'turbio/bracey.vim'
|
use 'turbio/bracey.vim'
|
||||||
use 'AndrewRadev/tagalong.vim'
|
use 'AndrewRadev/tagalong.vim'
|
||||||
use 'alvan/vim-closetag'
|
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 'liuchengxu/vim-which-key'
|
||||||
use 'voldikss/vim-floaterm'
|
use 'voldikss/vim-floaterm'
|
||||||
use 'liuchengxu/vista.vim'
|
use 'liuchengxu/vista.vim'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue