diff --git a/init.lua b/init.lua index 5fbade5..838f16d 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,6 @@ vim.g.mapleader = ' ' -- Sensible defaults require('settings') -require('packer_setup') require('plugins') require('keymappings') require('lsp') diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 3504985..60d95ef 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,3 +1,5 @@ +require('plugins.packer_setup') + require('packer').startup(function() -- Packer can manage itself as an optional plugin @@ -49,6 +51,7 @@ require('packer').startup(function() use { 'RRethy/vim-illuminate' } -- highlight all words same as the one under cursor use { 'vim-scripts/DrawIt' } -- ascii diagrams use { 'nathom/filetype.nvim' } + end) require('plugins.cmp') diff --git a/lua/packer_setup.lua b/lua/plugins/packer_setup.lua similarity index 100% rename from lua/packer_setup.lua rename to lua/plugins/packer_setup.lua