jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.67k stars 311 forks source link

Update README.md #221

Closed you-n-g closed 1 year ago

you-n-g commented 1 year ago

2>/dev/null is not necessary in the latest version.w

In my environment, it will result in Config 'api_key_cmd' did not return a value when executed if 2>/dev/null is not removed.

you-n-g commented 1 year ago

Besides, the ~ can't be recognized in the latest version. So we have to use vim.fn.expand("$HOME") instead of ~

https://github.com/jackMort/ChatGPT.nvim/issues/220 is a related issue.