From c5baadf07fcf40e68f95d92da2417aecca347178 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 6 Dec 2021 13:15:32 +0100 Subject: [PATCH] Rename plugins.d/ to pluginconf/ --- home/.config/nvim/lua/{plugins.d => pluginconf}/airline.lua | 0 home/.config/nvim/lua/{plugins.d => pluginconf}/coc.vim | 0 .../nvim/lua/{plugins.d => pluginconf}/commentary.lua | 0 .../lua/{plugins.d => pluginconf}/deprecated/semshi.lua | 0 home/.config/nvim/lua/{plugins.d => pluginconf}/fzf.lua | 0 .../.config/nvim/lua/{plugins.d => pluginconf}/nerdtree.lua | 0 .../.config/nvim/lua/{plugins.d => pluginconf}/polyglot.lua | 0 .../nvim/lua/{plugins.d => pluginconf}/vim-code-dark.lua | 0 home/.config/nvim/lua/{plugins.d => pluginconf}/vimwiki.lua | 0 home/.config/nvim/lua/plugins.lua | 6 +++--- 10 files changed, 3 insertions(+), 3 deletions(-) rename home/.config/nvim/lua/{plugins.d => pluginconf}/airline.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/coc.vim (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/commentary.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/deprecated/semshi.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/fzf.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/nerdtree.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/polyglot.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/vim-code-dark.lua (100%) rename home/.config/nvim/lua/{plugins.d => pluginconf}/vimwiki.lua (100%) 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"