diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index ea49ffa..8376742 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1 +1,4 @@ -require("user") +require("set") +require("remap") + +require("plugins") diff --git a/.config/nvim/lua/user/packer.lua b/.config/nvim/lua/plugins.lua similarity index 97% rename from .config/nvim/lua/user/packer.lua rename to .config/nvim/lua/plugins.lua index 555a3da..ad68d89 100644 --- a/.config/nvim/lua/user/packer.lua +++ b/.config/nvim/lua/plugins.lua @@ -1,7 +1,7 @@ -- This file can be loaded by calling `lua require('plugins')` from your init.vim -- Only required if you have packer configured as `opt` -vim.cmd.packadd('packer.nvim') +vim.cmd [[packadd packer.nvim]] return require('packer').startup(function(use) -- Packer can manage itself diff --git a/.config/nvim/lua/user/remap.lua b/.config/nvim/lua/remap.lua similarity index 100% rename from .config/nvim/lua/user/remap.lua rename to .config/nvim/lua/remap.lua diff --git a/.config/nvim/lua/user/set.lua b/.config/nvim/lua/set.lua similarity index 100% rename from .config/nvim/lua/user/set.lua rename to .config/nvim/lua/set.lua diff --git a/.config/nvim/lua/user/init.lua b/.config/nvim/lua/user/init.lua deleted file mode 100644 index a8b2537..0000000 --- a/.config/nvim/lua/user/init.lua +++ /dev/null @@ -1,4 +0,0 @@ -require("user.packer") - -require("user.set") -require("user.remap")