diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 1145b3b8..73339c62 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -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", - }, - }, - }, } diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index c41c5a54..de1a58fb 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -32,4 +32,45 @@ return { key_labels = { [""] = "SPC" }, }, }, + + -- git signs + { + "lewis6991/gitsigns.nvim", + event = "BufReadPre", + config = { + signs = { + add = { text = "▎" }, + change = { text = "▎" }, + delete = { text = "契" }, + topdelete = { text = "契" }, + changedelete = { text = "▎" }, + untracked = { text = "▎" }, + }, + }, + }, + + -- 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", + }, + }, + }, }