Provide help in README and simplify module

This commit is contained in:
Elijah Manor 2022-11-20 18:45:31 -06:00
parent d395cbcdf5
commit 7e65b6a1fe
2 changed files with 34 additions and 2 deletions

View file

@ -32,9 +32,9 @@ require('packer').startup(function(use)
-- Fuzzy Finder Algorithm which requires local dependencies to be built. Only load if `make` is available
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make', cond = vim.fn.executable "make" == 1 }
-- Add custom plugins to packer from a /nvim/lua/custom/plugins.lua module
-- Add custom plugins to packer from /nvim/lua/custom/plugins.lua
local has_plugins, plugins = pcall(require, "custom.plugins")
if has_plugins then plugins.setup(use) end
if has_plugins then plugins(use) end
if is_bootstrap then
require('packer').sync()