From d06af3682a9fec17d0f7af1107fca72f15ff6dbd Mon Sep 17 00:00:00 2001 From: minamorl Date: Sun, 14 Apr 2024 02:12:09 +0900 Subject: [PATCH] Replace # with _ for lua --- autoload/deepl.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/deepl.vim b/autoload/deepl.vim index 44db456..211f4b4 100644 --- a/autoload/deepl.vim +++ b/autoload/deepl.vim @@ -1,7 +1,7 @@ " Send a translation request to deepl using curl function! deepl#translate(input, target_lang, source_lang = "") - let cmd = "curl -sS " .. g:deepl#endpoint - let cmd = cmd .. ' -d "auth_key=' .. g:deepl#auth_key .. '"' + let cmd = "curl -sS " .. g:deepl_endpoint + let cmd = cmd .. ' -d "auth_key=' .. g:deepl_auth_key .. '"' let cmd = cmd .. ' -d ' .. shellescape('text=' .. a:input) let cmd = cmd .. ' -d "target_lang=' .. a:target_lang .. '"'