custom config reload: support symlinks https://github.com/NvChad/base46/issues/177
huge thanks to @lucario387 for helping me
This commit is contained in:
parent
e3bb39106e
commit
8ba64ff369
@ -75,7 +75,7 @@ autocmd("FileType", {
|
||||
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||
pattern = vim.tbl_map(
|
||||
vim.fs.normalize,
|
||||
vim.fn.glob(vim.fn.stdpath "config" .. "/lua/custom/**/*.lua", true, true, true)
|
||||
vim.fn.glob(vim.loop.fs_realpath(vim.fn.stdpath "config" .. "/lua/custom/**/*.lua"), true, true, true)
|
||||
),
|
||||
group = vim.api.nvim_create_augroup("ReloadNvChad", {}),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user