From e3b768619c912ea8f22a054a5ebba8c0bb664b06 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Tue, 6 Dec 2022 21:18:43 -0500 Subject: [PATCH] fixup: add gitignore and style --- .gitignore | 2 ++ init.lua | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 712f217..d699e1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ tags test.sh +.luarc.json +nvim diff --git a/init.lua b/init.lua index 651a212..b9c89ad 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()