diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2022-12-06 21:18:43 -0500 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2022-12-06 21:18:43 -0500 |
| commit | 22010d7077c3cf04caaa8b5cb60e6d795b6401ad (patch) | |
| tree | eac51a4d7767afc146a376938fa1751d629a475e /nvim | |
| parent | 9cbac1167c3845ec29e300e36675adeba8dae3ba (diff) | |
| download | dots-22010d7077c3cf04caaa8b5cb60e6d795b6401ad.tar.gz | |
fixup: add gitignore and style
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/.gitignore | 2 | ||||
| -rw-r--r-- | nvim/init.lua | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nvim/.gitignore b/nvim/.gitignore index 712f217..d699e1d 100644 --- a/nvim/.gitignore +++ b/nvim/.gitignore @@ -1,2 +1,4 @@ tags test.sh +.luarc.json +nvim diff --git a/nvim/init.lua b/nvim/init.lua index 651a212..b9c89ad 100644 --- a/nvim/init.lua +++ b/nvim/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() |