mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
refactor: moved gitsigns and illuminate from coding to editor
This commit is contained in:
parent
75fb7e1e1e
commit
c3eda447dd
2 changed files with 41 additions and 41 deletions
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue