mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-17 14:14:47 +01:00
NVIM: Added resolve.nvim and pantran.nvim
This commit is contained in:
@@ -397,4 +397,6 @@ wk.add({
|
||||
},
|
||||
-- huynle/ogpt-nvim
|
||||
{ mode = "n", "<leader>ai", ":OGPT<CR>", desc = "OGTP: Open AI View", noremap = true },
|
||||
-- potamides/pantran.nvim
|
||||
{ mode = {"n", "v"}, "<leader>tr", ":Pantran<CR>", desc = "Pantran: translate", noremap = true },
|
||||
})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
return {
|
||||
-- side by side git diffs for merge conflicts
|
||||
-- side by side git diff mode coloring
|
||||
"sindrets/diffview.nvim",
|
||||
opts = {},
|
||||
}
|
||||
|
||||
18
.config/nvim/lua/plugins/pantran.lua
Normal file
18
.config/nvim/lua/plugins/pantran.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
-- translator
|
||||
"potamides/pantran.nvim",
|
||||
opts = {
|
||||
default_engine = "google",
|
||||
-- default_engine = "deepl",
|
||||
engines = {
|
||||
deepl = {
|
||||
default_target = "de",
|
||||
},
|
||||
google = {
|
||||
fallback = {
|
||||
default_target = "de",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
6
.config/nvim/lua/plugins/resolve.lua
Normal file
6
.config/nvim/lua/plugins/resolve.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
-- color and improve git merge conflicts
|
||||
"spacedentist/resolve.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
opts = {},
|
||||
}
|
||||
Reference in New Issue
Block a user