chore: format everything with stylua and update
This commit is contained in:
parent
473d78494e
commit
e90763e223
22 changed files with 273 additions and 222 deletions
|
@ -1,17 +1,29 @@
|
|||
return {
|
||||
'ryicoh/deepl.vim',
|
||||
"ryicoh/deepl.vim",
|
||||
keys = {
|
||||
{ '<leader><C-e>', function() vim.fn['deepl#v']("EN") end, mode = 'v' },
|
||||
{ '<leader><C-d>', function() vim.fn['deepl#v']("DE") end, mode = 'v' },
|
||||
{
|
||||
"<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',
|
||||
"tsuyoshicho/vim-pass",
|
||||
init = function()
|
||||
vim.g.pass_use_agent = 1
|
||||
end
|
||||
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')
|
||||
end
|
||||
vim.g["deepl#endpoint"] = "https://api-free.deepl.com/v2/translate"
|
||||
vim.g["deepl#auth_key"] = vim.fn["pass#get"]("web/deepl.com", "apikey")
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue