diff --git a/init.lua b/init.lua index 0cf3b453..fca1624f 100644 --- a/init.lua +++ b/init.lua @@ -32,6 +32,10 @@ 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 + local has_plugins, plugins = pcall(require, "custom.plugins") + if has_plugins then plugins.setup(use) end + if is_bootstrap then require('packer').sync() end