add variable for path seperators
This commit is contained in:
parent
a5833730d7
commit
9dcaefd73f
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ autocmd("FileType", {
|
||||||
})
|
})
|
||||||
|
|
||||||
-- reload some chadrc options on-save
|
-- reload some chadrc options on-save
|
||||||
|
local sep = vim.loop.os_uname().sysname:find "windows" and "\\" or "/"
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("BufWritePost", {
|
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||||
pattern = vim.fn.glob(
|
pattern = vim.fn.glob(
|
||||||
vim.fs.normalize(vim.fn.stdpath("config") .. "/lua/custom/**/*.lua"),
|
vim.fs.normalize(vim.fn.stdpath("config") .. "/lua/custom/**/*.lua"),
|
||||||
|
|
Loading…
Reference in a new issue