add variable for path seperators

This commit is contained in:
siduck 2023-03-17 20:58:22 +05:30
parent a5833730d7
commit 9dcaefd73f
1 changed files with 2 additions and 0 deletions

View File

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