Cleanup and lockfile update
This commit is contained in:
parent
eb8a2a698a
commit
381fb51b80
4 changed files with 25 additions and 23 deletions
|
@ -4,7 +4,11 @@ return { 'ryicoh/deepl.vim',
|
|||
{ '<leader><C-e>', function() vim.fn['deepl#v']("EN") end, mode = 'v' },
|
||||
{ '<leader><C-d>', function() vim.fn['deepl#v']("DE") end, mode = 'v' },
|
||||
},
|
||||
dependencies = { 'tsuyoshicho/vim-pass' },
|
||||
dependencies = {{ 'tsuyoshicho/vim-pass',
|
||||
init = function ()
|
||||
vim.g.pass_use_agent = 1
|
||||
end
|
||||
}},
|
||||
config = function ()
|
||||
vim.g['deepl#endpoint'] = "https://api-free.deepl.com/v2/translate"
|
||||
vim.g['deepl#auth_key'] = vim.fn['pass#get']('web/deepl.com', 'apikey')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue