config.nvim

NeoVim config
git clone git://popovic.xyz/nvim.config.git/
Log | Files | Refs

commit 59b8bcec9126fd8a0ca62aecb2c40dcf90175793
parent f12d41dd8ae96fd36d534a944606438bb649c813
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Mon, 20 Apr 2026 15:39:41 +0100

allow symliked files

Diffstat:
Mlua/config/init.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/config/init.lua b/lua/config/init.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: undefined-global for name, t in vim.fs.dir(vim.fn.stdpath("config") .. "/lua/config") do - if t == "file" and name:sub(-4) == ".lua" and name ~= "init.lua" then + if (t == "file" or t == "link") and name:sub(-4) == ".lua" and name ~= "init.lua" then require("config." .. name:gsub("%.lua$", "")) end end