just installed neovim on my mac (macOS: Sonoma 14.5, Chip: Apple M2) using homebrew. When I tried to start neovim I get the following error (I replaced my real username with UserName in the path below):
Error detected while processing /opt/homebrew/Cellar/neovim/0.10.0/share/nvim/runtime/plugin/rplugin.vim[68]..func
tion 12_LoadRemotePlugins[1]..12_GetManifest[1]..12_GetManifestPath:
line 11:
E739: Cannot create directory /Users/UserName/.local/share: permission denied
To solve this issue I understand that I would need to grant the User “UserName” write permission to the ~/.local directory (probably with sudo: sudo chmod +w ~/.local), but is this safe thing to do? I don’t see this step in any neovim installation tutorial I have seen so far.