mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-04 04:35:29 +00:00
feat(nvim): add highlight-undo.nvim plugin
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
"gh.nvim": { "branch": "main", "commit": "2b5551656c1b896bf4ae06546eaaab00311f9a18" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "a36bc3360d584d39b4fb076d855c4180842d4444" },
|
||||
"harpoon": { "branch": "master", "commit": "21f4c47c6803d64ddb934a5b314dcb1b8e7365dc" },
|
||||
"highlight-undo.nvim": { "branch": "main", "commit": "1aeada51fb956f1ef121f29ddbb2ef6108a3c480" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "7075d7861f7a6bbf0de0298c83f8a13195e6ec01" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "b7043f2983d7aead78ca902f3f2053907081859a" },
|
||||
"leap.nvim": { "branch": "main", "commit": "3cc0e6a0b99dc18d4e5a88baa3cbe3c7b8b34566" },
|
||||
|
||||
15
nvim/lua/plugins/highlight-undo.lua
Normal file
15
nvim/lua/plugins/highlight-undo.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
-- highlight-undo.nvim
|
||||
-- https://github.com/tzachar/highlight-undo.nvim
|
||||
return {
|
||||
"tzachar/highlight-undo.nvim",
|
||||
config = function()
|
||||
require("highlight-undo").setup({
|
||||
hlgroup = "HighlightUndo",
|
||||
duration = 300,
|
||||
keymaps = {
|
||||
{ "n", "u", "undo", {} },
|
||||
{ "n", "<C-r>", "redo", {} },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user