From 1e0efaa069ef2a682a2587f4dd410f506ca4599c Mon Sep 17 00:00:00 2001 From: "flyingscorpio@clevo" Date: Mon, 1 Aug 2022 21:37:30 +0200 Subject: [PATCH] Add color plugins --- roles/neovim/files/init.lua | 2 +- roles/neovim/files/lua/plugins.lua | 22 +++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/roles/neovim/files/init.lua b/roles/neovim/files/init.lua index 8c14110..4a08203 100644 --- a/roles/neovim/files/init.lua +++ b/roles/neovim/files/init.lua @@ -3,7 +3,7 @@ require('encoding') require('remaps') require('options') require('plugins') --- require('colors') +require('colors') require('autocommands') -- vim.cmd([[ diff --git a/roles/neovim/files/lua/plugins.lua b/roles/neovim/files/lua/plugins.lua index 5d7c35c..b88be4e 100644 --- a/roles/neovim/files/lua/plugins.lua +++ b/roles/neovim/files/lua/plugins.lua @@ -1,17 +1,21 @@ local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' 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}) - vim.cmd [[packadd packer.nvim]] + packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) + vim.cmd [[packadd packer.nvim]] end return require('packer').startup(function(use) - -- Packer can manage itself - use 'wbthomason/packer.nvim' + -- Packer can manage itself + use 'wbthomason/packer.nvim' - -- 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 + -- COLOR SCHEMES + use 'morhetz/gruvbox' + use 'sjl/badwolf' + + -- 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)