diff --git a/home/.config/nvim/lua/plugins.d/airline.lua b/home/.config/nvim/lua/pluginconf/airline.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/airline.lua rename to home/.config/nvim/lua/pluginconf/airline.lua diff --git a/home/.config/nvim/lua/plugins.d/coc.vim b/home/.config/nvim/lua/pluginconf/coc.vim similarity index 100% rename from home/.config/nvim/lua/plugins.d/coc.vim rename to home/.config/nvim/lua/pluginconf/coc.vim diff --git a/home/.config/nvim/lua/plugins.d/commentary.lua b/home/.config/nvim/lua/pluginconf/commentary.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/commentary.lua rename to home/.config/nvim/lua/pluginconf/commentary.lua diff --git a/home/.config/nvim/lua/plugins.d/deprecated/semshi.lua b/home/.config/nvim/lua/pluginconf/deprecated/semshi.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/deprecated/semshi.lua rename to home/.config/nvim/lua/pluginconf/deprecated/semshi.lua diff --git a/home/.config/nvim/lua/plugins.d/fzf.lua b/home/.config/nvim/lua/pluginconf/fzf.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/fzf.lua rename to home/.config/nvim/lua/pluginconf/fzf.lua diff --git a/home/.config/nvim/lua/plugins.d/nerdtree.lua b/home/.config/nvim/lua/pluginconf/nerdtree.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/nerdtree.lua rename to home/.config/nvim/lua/pluginconf/nerdtree.lua diff --git a/home/.config/nvim/lua/plugins.d/polyglot.lua b/home/.config/nvim/lua/pluginconf/polyglot.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/polyglot.lua rename to home/.config/nvim/lua/pluginconf/polyglot.lua diff --git a/home/.config/nvim/lua/plugins.d/vim-code-dark.lua b/home/.config/nvim/lua/pluginconf/vim-code-dark.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/vim-code-dark.lua rename to home/.config/nvim/lua/pluginconf/vim-code-dark.lua diff --git a/home/.config/nvim/lua/plugins.d/vimwiki.lua b/home/.config/nvim/lua/pluginconf/vimwiki.lua similarity index 100% rename from home/.config/nvim/lua/plugins.d/vimwiki.lua rename to home/.config/nvim/lua/pluginconf/vimwiki.lua diff --git a/home/.config/nvim/lua/plugins.lua b/home/.config/nvim/lua/plugins.lua index 3380b4a..3584fb0 100644 --- a/home/.config/nvim/lua/plugins.lua +++ b/home/.config/nvim/lua/plugins.lua @@ -2,9 +2,9 @@ local vim = require("vim") local cmd = vim.cmd local fn = vim.fn -local config_dir = fn.stdpath("config") -- Config directory (usually: ~/.config/nvim) -local plugvim_plugins_dir = config_dir .. "/plugged" -- Dir with all plugins installed by Plug.vim -local plugin_files_dir = config_dir .. "/lua/plugins.d" -- Dir with plugin config files including Plug call(s) +local config_dir = fn.stdpath("config") -- Config directory (usually: ~/.config/nvim) +local plugvim_plugins_dir = config_dir .. "/plugged" -- Dir with all plugins installed by Plug.vim +local plugin_files_dir = config_dir .. "/lua/pluginconf" -- Dir with plugin config files including Plug call(s) -- Automatically download vimplug and run PlugInstall local autoload_dir = config_dir .. "/autoload"