diff --git a/.gitignore b/.gitignore index 712f217f..d699e1d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ tags test.sh +.luarc.json +nvim diff --git a/init.lua b/init.lua index 651a2126..b9c89ad3 100644 --- a/init.lua +++ b/init.lua @@ -58,8 +58,10 @@ require('packer').startup(function(use) use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make', cond = vim.fn.executable 'make' == 1 } -- Add custom plugins to packer from /nvim/lua/custom/plugins.lua - local has_plugins, plugins = pcall(require, "custom.plugins") - if has_plugins then plugins(use) end + local has_plugins, plugins = pcall(require, 'custom.plugins') + if has_plugins then + plugins(use) + end if is_bootstrap then require('packer').sync()