summaryrefslogtreecommitdiff
path: root/lua/lv-gitsigns/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/lv-gitsigns/config.lua')
-rw-r--r--lua/lv-gitsigns/config.lua47
1 files changed, 47 insertions, 0 deletions
diff --git a/lua/lv-gitsigns/config.lua b/lua/lv-gitsigns/config.lua
new file mode 100644
index 00000000..58057a14
--- /dev/null
+++ b/lua/lv-gitsigns/config.lua
@@ -0,0 +1,47 @@
+O.plugin.gitsigns = {
+ signs = {
+ -- TODO add hl to colorscheme
+ 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_index = { interval = 1000 },
+ sign_priority = 6,
+ update_debounce = 200,
+ status_formatter = nil, -- Use default
+ use_decoration_api = false,
+}