refactor: moved gitsigns and illuminate from coding to editor

This commit is contained in:
Folke Lemaitre 2022-12-31 17:07:30 +01:00
parent 75fb7e1e1e
commit c3eda447dd
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 41 additions and 41 deletions

View file

@ -1,21 +1,5 @@
return {
-- git signs
{
"lewis6991/gitsigns.nvim",
event = "BufReadPre",
config = {
signs = {
add = { text = "" },
change = { text = "" },
delete = { text = "" },
topdelete = { text = "" },
changedelete = { text = "" },
untracked = { text = "" },
},
},
},
-- snippets
{
"L3MON4D3/LuaSnip",
@ -96,29 +80,4 @@ return {
})
end,
},
-- references
{
"RRethy/vim-illuminate",
event = "BufReadPost",
config = function()
require("illuminate").configure({ delay = 200 })
end,
keys = {
{
"]]",
function()
require("illuminate").goto_next_reference(false)
end,
desc = "Next Reference",
},
{
"[[",
function()
require("illuminate").goto_prev_reference(false)
end,
desc = "Prev Reference",
},
},
},
}