diff --git a/init.lua b/init.lua index 790183a..8035737 100644 --- a/init.lua +++ b/init.lua @@ -1,19 +1,19 @@ -- load all plugins require("pluginsList.lua") -require("web-devicons.lua") +require("file-icons.lua") -require("utils.lua") +require("misc-utils.lua") require("nvimTree.lua") require("bufferline.lua") require("statusline.lua") -require("telescope-nvim.lua") +require("telescope.lua") require("gitsigns.lua") require "colorizer".setup() -- lsp -require("nvim-lspconfig.lua") -require("nvim-compe.lua") +require("lspconfig.lua") +require("compe.lua") local cmd = vim.cmd local g = vim.g diff --git a/lua/nvim-compe/lua.lua b/lua/compe/lua.lua similarity index 100% rename from lua/nvim-compe/lua.lua rename to lua/compe/lua.lua diff --git a/lua/web-devicons/lua.lua b/lua/file-icons/lua.lua similarity index 100% rename from lua/web-devicons/lua.lua rename to lua/file-icons/lua.lua diff --git a/lua/nvim-lspconfig/lua.lua b/lua/lspconfig/lua.lua similarity index 100% rename from lua/nvim-lspconfig/lua.lua rename to lua/lspconfig/lua.lua diff --git a/lua/utils/lua.lua b/lua/misc-utils/lua.lua similarity index 100% rename from lua/utils/lua.lua rename to lua/misc-utils/lua.lua diff --git a/lua/pluginsList/lua.lua b/lua/pluginsList/lua.lua index e400346..1758e23 100644 --- a/lua/pluginsList/lua.lua +++ b/lua/pluginsList/lua.lua @@ -1,7 +1,7 @@ -- check if packer is installed (~/local/share/nvim/site/pack) local packer_exists = pcall(vim.cmd, [[packadd packer.nvim]]) --- add { } , when the plugin needs a different branch, loading the plugin with certain commands +-- using { } when using a different branch of the plugin or loading the plugin with certain commands return require("packer").startup( function() use {"wbthomason/packer.nvim", opt = true} diff --git a/lua/telescope-nvim/lua.lua b/lua/telescope/lua.lua similarity index 100% rename from lua/telescope-nvim/lua.lua rename to lua/telescope/lua.lua