summaryrefslogtreecommitdiff
path: root/lua/core/gitsigns.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-10-21 07:48:10 +0200
committerkylo252 <[email protected]>2021-10-21 07:48:10 +0200
commit30de3736baec9a72134205de91f3388e3ea68bcf (patch)
treec0079f51d68c61316726f104bae963c5f0371571 /lua/core/gitsigns.lua
parentb98264042f558751483e2c993ebed11a5bcbb1de (diff)
parent25747cfff457d5375b6141588d81017ca515ffcb (diff)
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'lua/core/gitsigns.lua')
-rw-r--r--lua/core/gitsigns.lua64
1 files changed, 0 insertions, 64 deletions
diff --git a/lua/core/gitsigns.lua b/lua/core/gitsigns.lua
deleted file mode 100644
index cc6387dc..00000000
--- a/lua/core/gitsigns.lua
+++ /dev/null
@@ -1,64 +0,0 @@
-local M = {}
-
-M.config = function()
- lvim.builtin.gitsigns = {
- active = true,
- on_config_done = nil,
- opts = {
- signs = {
- add = {
- hl = "GitSignsAdd",
- text = "â–Ž",
- numhl = "GitSignsAddNr",
- linehl = "GitSignsAddLn",
- },
- change = {
- hl = "GitSignsChange",
- text = "â–Ž",
- numhl = "GitSignsChangeNr",
- linehl = "GitSignsChangeLn",
- },
- delete = {
- hl = "GitSignsDelete",
- text = "契",
- numhl = "GitSignsDeleteNr",
- linehl = "GitSignsDeleteLn",
- },
- topdelete = {
- hl = "GitSignsDelete",
- text = "契",
- numhl = "GitSignsDeleteNr",
- linehl = "GitSignsDeleteLn",
- },
- changedelete = {
- hl = "GitSignsChange",
- text = "â–Ž",
- numhl = "GitSignsChangeNr",
- linehl = "GitSignsChangeLn",
- },
- },
- numhl = false,
- linehl = false,
- keymaps = {
- -- Default keymap options
- noremap = true,
- buffer = true,
- },
- watch_gitdir = { interval = 1000 },
- sign_priority = 6,
- update_debounce = 200,
- status_formatter = nil, -- Use default
- },
- }
-end
-
-M.setup = function()
- local gitsigns = require "gitsigns"
-
- gitsigns.setup(lvim.builtin.gitsigns.opts)
- if lvim.builtin.gitsigns.on_config_done then
- lvim.builtin.gitsigns.on_config_done(gitsigns)
- end
-end
-
-return M