From b209f0ce30ddf5c09d83457baec15d9381cf392a Mon Sep 17 00:00:00 2001 From: Eric Milford Date: Sat, 4 Dec 2021 18:29:26 -0600 Subject: [PATCH] (nvim) get rid of setup/config lookup function --- .config/nvim/lua/em/plugins/init.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.config/nvim/lua/em/plugins/init.lua b/.config/nvim/lua/em/plugins/init.lua index 5488691d..52844aaf 100644 --- a/.config/nvim/lua/em/plugins/init.lua +++ b/.config/nvim/lua/em/plugins/init.lua @@ -1,7 +1,3 @@ -function get_config(name) - return string.format('require("setup/%s")', name) -end - return require("packer").startup(function() use {"wbthomason/packer.nvim"} @@ -16,7 +12,7 @@ return require("packer").startup(function() use {"coderifous/textobj-word-column.vim"} use {"dhruvasagar/vim-zoom"} use {"ervandew/supertab"} - use {"folke/zen-mode.nvim", config = get_config("zen-mode")} + use {"folke/zen-mode.nvim"} use {"glepnir/lspsaga.nvim"} use {"hrsh7th/cmp-nvim-lsp"} use {"hrsh7th/cmp-buffer"}