pull/1839/head
Lucario387 1 year ago committed by Sidhanth Rathod
parent bb87d70fd6
commit a5833730d7

@ -71,18 +71,10 @@ autocmd("FileType", {
end,
})
local sep = vim.loop.os_uname().sysname:find "windows" and "\\" or "/"
-- reload some chadrc options on-save
vim.api.nvim_create_autocmd("BufWritePost", {
pattern = vim.fn.glob(
table.concat({
vim.fn.stdpath "config",
"lua",
"custom",
"**",
"*.lua",
}, sep),
vim.fs.normalize(vim.fn.stdpath("config") .. "/lua/custom/**/*.lua"),
true,
true,
true

Loading…
Cancel
Save