fix #1832
This commit is contained in:
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…
Reference in New Issue
Block a user