Skip to content

Commit

Permalink
(nvim) get rid of setup/config lookup function
Browse files Browse the repository at this point in the history
  • Loading branch information
emilford committed Dec 5, 2021
1 parent 32facf6 commit 732f37d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .config/nvim/lua/em/plugins/init.lua
Original file line number Diff line number Diff line change
@@ -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"}

Expand All @@ -15,7 +11,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"}
Expand Down

0 comments on commit 732f37d

Please sign in to comment.