Closed Dich0tomy closed 1 year ago
Curl manual says the following for error code 22:
HTTP page not retrieved. The requested URL was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if --fail is used.
With which engine are you experiencing the problem?
I'm sorry, I forgot to share my config:
require 'pantran'.setup({
default_engine = 'deepl'
})
Now the thing that stood up to me is that although docs specify deepl
as a valid engine, running :lua =vim.tbl_keys(require("pantran.engines"))
lists only { "apertium", "google", "yandex", "argos" }
, does that have to do with issue, maybe?
Did you set up an API key? For DeepL to work you need to create an API key.
You are right, I missed that. Thank you!
Everytime I run pantran in any way I get a
vim.notify
notification with the contents"curl" exited with error code 22!
.latest pantran version neovim version
NVIM v0.9.0-dev-490+gf96fb23de
curl versionfedora version
Fedora release 36 (Thirty Six)