Add color plugins
This commit is contained in:
parent
957a446a0d
commit
1e0efaa069
2 changed files with 14 additions and 10 deletions
|
@ -3,7 +3,7 @@ require('encoding')
|
||||||
require('remaps')
|
require('remaps')
|
||||||
require('options')
|
require('options')
|
||||||
require('plugins')
|
require('plugins')
|
||||||
-- require('colors')
|
require('colors')
|
||||||
require('autocommands')
|
require('autocommands')
|
||||||
|
|
||||||
-- vim.cmd([[
|
-- vim.cmd([[
|
||||||
|
|
|
@ -1,17 +1,21 @@
|
||||||
local fn = vim.fn
|
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
|
if fn.empty(fn.glob(install_path)) > 0 then
|
||||||
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||||
vim.cmd [[packadd packer.nvim]]
|
vim.cmd [[packadd packer.nvim]]
|
||||||
end
|
end
|
||||||
|
|
||||||
return require('packer').startup(function(use)
|
return require('packer').startup(function(use)
|
||||||
-- Packer can manage itself
|
-- Packer can manage itself
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
|
|
||||||
-- Automatically set up your configuration after cloning packer.nvim
|
-- COLOR SCHEMES
|
||||||
-- Put this at the end after all plugins
|
use 'morhetz/gruvbox'
|
||||||
if packer_bootstrap then
|
use 'sjl/badwolf'
|
||||||
require('packer').sync()
|
|
||||||
end
|
-- 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
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Add table
Reference in a new issue