So, I’ve been using nvim on macos for almost two months and didn’t have issues, but after the last update I’m seeing this:

Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: ...ocal/Cellar/neovim/0.9.1/share/nvim/runtime/filetype.lua:21: Error executing lua: ...ocal/Cellar/neovim/0.9.1/shar
e/nvim/runtime/filetype.lua:22: BufReadPost Autocommands for "*"..FileType Autocommands for "*": Vim(append):Error executing lua callback: vim/load
er.lua:0: EACCES: permission denied: /Users/clmbmb/.cache/nvim/luac/%Users%clmbmb%.local%share%nvim%lazy%null-ls.nvim%lua%null-ls%rpc.luac
...

This happens (for now) only when trying to open .lua files.

From what I gather there’s something related to some filesystem security flags in macos. I’m new to macos, so I have no idea what happens.

Any hints/solutions to this?