diff options
| author | Mosder <xmosder12@gmail.com> | 2026-06-10 02:24:31 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-06-10 02:24:31 +0200 |
| commit | 1f2824b912b22a687fb0f1c56f82198128bef1ca (patch) | |
| tree | a22c4425c43fcd111c441531b21e275b1fd97f3f /common/home/mosder/.config/nvim/lua/custom/plugins | |
| parent | a7fab53f802c8bacfce66fb3455145835e231460 (diff) | |
added and updated a lot of configs + refactored it to be more accessible
Diffstat (limited to 'common/home/mosder/.config/nvim/lua/custom/plugins')
| -rw-r--r-- | common/home/mosder/.config/nvim/lua/custom/plugins/init.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/home/mosder/.config/nvim/lua/custom/plugins/init.lua b/common/home/mosder/.config/nvim/lua/custom/plugins/init.lua new file mode 100644 index 0000000..c05db46 --- /dev/null +++ b/common/home/mosder/.config/nvim/lua/custom/plugins/init.lua @@ -0,0 +1,13 @@ +-- You can add your own plugins here or in other files in this directory! +-- I promise not to create any merge conflicts in this directory :) +-- +-- See the kickstart.nvim README for more information + +-- Iterate over all Lua files in the plugins directory and load them +local plugins_dir = vim.fs.joinpath(vim.fn.stdpath 'config', 'lua', 'custom', 'plugins') +for file_name, type in vim.fs.dir(plugins_dir) do + if type == 'file' and file_name:match '%.lua$' and file_name ~= 'init.lua' then + local module = file_name:gsub('%.lua$', '') + require('custom.plugins.' .. module) + end +end |
