Closed towry closed 1 year ago
Maybe related to https://github.com/jcdickinson/codeium.nvim/issues/5, random guess.
This is weird. What does stat ~/.cache/nvim/codeium/config.json
give you? You can also override config_path
in setup as a workaround.
Another reading issue:
Error detected while processing InsertEnter Autocommands for "*":
│Failed to load Codeium API key
│[codeium] [ERROR 08:56:59] ...owry/workspace/git-repos/codeium.nvim/lua/codeium/io.lua:94:
│could not open /Users/towry/.cache/nvim/codeium/config.json : EACCES: permission denied:
│/Users/towry/.cache/nvim/codeium/config.json
This is weird. What does
stat ~/.cache/nvim/codeium/config.json
give you? You can also overrideconfig_path
in setup as a workaround.
16777220 190157834 ---------x 1 towry staff 0 51 "Jan 30 08:56:33 2023" "Jan 30 08:56:28 202│
3" "Jan 30 08:56:28 2023" "Jan 30 08:56:28 2023" 4096 8 0 config.json
Totally my mistake, I created the file with permissions of 1
! You'll need to fix this by:
sudo chmod 666 $HOME/.cache/nvim/codeium/config.json
Please let me know if that works for you. My most recent commit addresses the issue.
fixed.